You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run backup create with set +e if pruning is enabled
In case a file changes during a backup, borg will log a warning like
this:
```
Nov 07 18:30:05 webserver01 borg-backup[849693]: Creating archive at "backup:webserver01::backup-20231107-183001"
Nov 07 18:30:42 webserver01 borg-backup[849693]: /var/lib/postgresql/16/main/pg_wal/00000001000000010000004E: file changed while we backed it up
Nov 07 18:30:59 webserver01 borg-backup[849693]: /var/lib/fail2ban/fail2ban.sqlite3: file changed while we backed it up
```
It will finish the backup, but the exit code will be 1. Because of the
set -e at the top, the script will exit. If manage_prune is true, a
prune command is configured. It won't be executed when a file change
during a backup.
We now add `|| true` to the backup create command.
0 commit comments