From b88159fdb3ba264d5a096e8b99a41f968586bfcb Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Wed, 28 Dec 2022 10:49:48 +0100 Subject: [PATCH] backup: passphrase moved to .config --- backup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backup b/backup index bee524b..f09f50d 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 ~/.config/duplicity-ignore . rsync://piware.de/backup/laptop >> $LOG || { notify-send "BACKUP FAILED!"; exit 1; } +env PASSPHRASE="$(cat ~/.config/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 -- 2.39.2