From: Martin Pitt Date: Mon, 25 Jan 2016 14:41:41 +0000 (+0100) Subject: backup: Add --allow-source-mismatch for changing localhost names X-Git-Url: https://piware.de/gitweb/?a=commitdiff_plain;h=a19965604739934ff1e3c11951291d128c11ca0b;p=bin.git backup: Add --allow-source-mismatch for changing localhost names --- 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"