Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't exit on backup error or warning #46

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

noplanman
Copy link
Contributor

When the backup exits with a warning or error, the set -e makes the script exit immediately.
This means that no post commands are called at all, which may be necessary regardless, like for health checks.

Instead, if the exit code is vital for any post commands, it should be added to explicitly to them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant