summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbackup.sh9
1 files changed, 4 insertions, 5 deletions
diff --git a/backup.sh b/backup.sh
index 09f68b4..f69b5ef 100755
--- a/backup.sh
+++ b/backup.sh
@@ -32,14 +32,13 @@ backup() {
--allow-source-mismatch \
--asynchronous-upload \
--full-if-older-than 30D \
- --ssh-backend pexpect \
--no-encryption \
"$@" "$src" "$dest"
- duplicity --ssh-backend pexpect --force remove-older-than 120D "$dest"
+ duplicity --force remove-older-than 120D "$dest"
#export PASSPHRASE=""
}
-backup / sftp://backup/$HOSTNAME-backup/root/ --exclude-globbing-filelist /root/duplicity_root_filter
-backup /home/ sftp://backup/$HOSTNAME-backup/home/ --exclude-globbing-filelist /root/duplicity_home_filter
-backup /boot/ sftp://backup/$HOSTNAME-backup/boot/
+backup / pexepct+sftp://backup/$HOSTNAME-backup/root/ --exclude-globbing-filelist /root/duplicity_root_filter
+backup /home/ pexepct+sftp://backup/$HOSTNAME-backup/home/ --exclude-globbing-filelist /root/duplicity_home_filter
+backup /boot/ pexepct+sftp://backup/$HOSTNAME-backup/boot/