summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2015-01-23 10:34:33 +0100
committerFlorian Pritz <bluewind@xinu.at>2015-01-23 10:34:33 +0100
commit7d21cdc40f4d76a286c3ab388da74fe83ca2f7de (patch)
tree7aec72a4b857058c756985cbe3618df1c0442661
parentc72a806198aa2213fd5dc0a20d6592615558afa6 (diff)
downloadbin-7d21cdc40f4d76a286c3ab388da74fe83ca2f7de.tar.gz
bin-7d21cdc40f4d76a286c3ab388da74fe83ca2f7de.tar.xz
backup.sh: update for duplicity 0.7
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-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/