From 7d21cdc40f4d76a286c3ab388da74fe83ca2f7de Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Fri, 23 Jan 2015 10:34:33 +0100 Subject: backup.sh: update for duplicity 0.7 Signed-off-by: Florian Pritz --- backup.sh | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'backup.sh') 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/ -- cgit v1.2.3-24-g4f1b