From a19965604739934ff1e3c11951291d128c11ca0b Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Mon, 25 Jan 2016 15:41:41 +0100 Subject: [PATCH] backup: Add --allow-source-mismatch for changing localhost names --- backup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backup b/backup index 97046da..b254323 100755 --- a/backup +++ b/backup @@ -26,5 +26,5 @@ fi notify-send "Backup started" mkdir -p $(dirname $LOG) -env PASSPHRASE="$(cat ~/.backup-passphrase)" duplicity --full-if-older-than 1M --exclude-filelist .duplicity-ignore . rsync://piware.de/backup/donald >> $LOG || { notify-send "BACKUP FAILED!"; exit 1; } +env PASSPHRASE="$(cat ~/.backup-passphrase)" duplicity --allow-source-mismatch --full-if-older-than 1M --exclude-filelist .duplicity-ignore . rsync://piware.de/backup/donald >> $LOG || { notify-send "BACKUP FAILED!"; exit 1; } notify-send "Backup finished successfully" -- 2.39.5