X-Git-Url: https://piware.de/gitweb/?p=bin.git;a=blobdiff_plain;f=backup;fp=backup;h=bee524bbc6d3a7ab5a2d196a1c48178f2bc4afe2;hp=7a424862cc100015608c6cee15d85a5e0d62c5ae;hb=d9f9f3d884258011376eaab165ca2f8c844b03be;hpb=6ad9f22601e5cbe2be714f68b5caffe9e96920da diff --git a/backup b/backup index 7a42486..bee524b 100755 --- a/backup +++ b/backup @@ -27,6 +27,6 @@ fi notify-send "Backup started" mkdir -p $(dirname $LOG) -env PASSPHRASE="$(cat ~/.backup-passphrase)" duplicity --allow-source-mismatch --full-if-older-than 1M --exclude-filelist .duplicity-ignore . rsync://piware.de/backup/laptop >> $LOG || { notify-send "BACKUP FAILED!"; exit 1; } +env PASSPHRASE="$(cat ~/.backup-passphrase)" duplicity --allow-source-mismatch --full-if-older-than 1M --exclude-filelist ~/.config/duplicity-ignore . rsync://piware.de/backup/laptop >> $LOG || { notify-send "BACKUP FAILED!"; exit 1; } notify-send "Backup finished successfully" duplicity remove-all-but-n-full 6 --force rsync://piware.de/backup/laptop