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

Already on GitHub? Sign in to your account

Exit status of 0 for failed backups #422

Closed
locochris opened this Issue Mar 22, 2013 · 0 comments

Comments

Projects
None yet
1 participant

When a backup fails the exit status of the "backup" script is 0.

There are notifiers that can be triggered for a failed (or successful) backup, but
is it possible to somehow return a non-zero exit status when something goes wrong?

ie. so the failure can be seen/handled outside of "backup"?

(Our particular problem is when doing pre-migration backups during a deployment, because "backup" doesn't return an exit status upon failure our deployment script has no idea anything went wrong.)

@ghost ghost closed this in 76a46e7 Mar 23, 2013

This issue was closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment