Change backup logging to append instead of overwritting

This commit is contained in:
Paul-Henri Froidmont 2019-04-01 15:19:00 +02:00
parent 4e547fbcb7
commit 2f9be424d3
2 changed files with 1 additions and 4 deletions

View file

@ -42,9 +42,6 @@ borg create -v --stats --compression lz4 \
/backups \
--exclude '/var/lib/nextcloud/db'
# Route the normal process logging to journalctl
2>&1
# If there is an error backing up, reset password envvar and exit
if [ "$?" = "1" ] ; then
export BORG_PASSPHRASE=""