mirror of
https://github.com/phfroidmont/self-hosting.git
synced 2025-12-25 05:36:59 +01:00
Change backup logging to append instead of overwritting
This commit is contained in:
parent
4e547fbcb7
commit
2f9be424d3
2 changed files with 1 additions and 4 deletions
|
|
@ -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=""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue