diff options
-rwxr-xr-x | backup.sh | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -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/ |