-
- Downloads
borg_client: stop ignoring errors during db dumps
Due to the "systemctl is-active foo && backup-foo || true" shorthand, errors during database dumping were being ignored. Change the MariaDB section to also be wrapped in a proper if statement. Finally, get rid of "|| true" silencing statements + enable errexit in helper scripts.
Showing
- roles/borg_client/templates/backup-mysql.sh.j2 2 additions, 0 deletionsroles/borg_client/templates/backup-mysql.sh.j2
- roles/borg_client/templates/backup-postgres.sh.j2 2 additions, 1 deletionroles/borg_client/templates/backup-postgres.sh.j2
- roles/borg_client/templates/borg-backup.sh.j2 5 additions, 3 deletionsroles/borg_client/templates/borg-backup.sh.j2
Please register or sign in to comment