From: Martin Pitt Date: Tue, 22 Nov 2022 19:55:44 +0000 (+0100) Subject: backup: move ignore list to .config X-Git-Url: https://piware.de/gitweb/?p=bin.git;a=commitdiff_plain;h=d9f9f3d884258011376eaab165ca2f8c844b03be backup: move ignore list to .config --- 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