X-Git-Url: https://piware.de/gitweb/?p=bin.git;a=blobdiff_plain;f=backup;h=c89693b25ad25dc7710c8ed943c144302e3b1504;hp=2f820ec566f593b87c006e614cfbbc9c5173580a;hb=d459650e604de4c2875257cd76f97d3e0c32e0e0;hpb=747c7671b1a806f4809ba15aa3c95e56a2269637 diff --git a/backup b/backup index 2f820ec..c89693b 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/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/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/donald +duplicity remove-all-but-n-full 6 --force rsync://piware.de/backup/laptop