backup: move ignore list to .config master
authorMartin Pitt <martin@piware.de>
Tue, 22 Nov 2022 19:55:44 +0000 (20:55 +0100)
committerMartin Pitt <martin@piware.de>
Tue, 22 Nov 2022 19:55:44 +0000 (20:55 +0100)
backup

diff --git a/backup b/backup
index 7a424862cc100015608c6cee15d85a5e0d62c5ae..bee524bbc6d3a7ab5a2d196a1c48178f2bc4afe2 100755 (executable)
--- a/backup
+++ b/backup
@@ -27,6 +27,6 @@ fi
 
 notify-send "Backup started"
 mkdir -p $(dirname $LOG)
 
 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
 notify-send "Backup finished successfully"
 duplicity remove-all-but-n-full 6 --force rsync://piware.de/backup/laptop