-
-
Notifications
You must be signed in to change notification settings - Fork 28
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
set error exit status when backup not done #39
Comments
I think that change would make sense. |
Likewise, if the tarsnap cachedir is corrupt, then To demonstrate, delete
|
kevinoconnor7
added a commit
to kevinoconnor7/tarsnapper
that referenced
this issue
Jun 18, 2023
Currently any errors coming the underlying tarsnap commands are logged. This is not threaded back to the entrypoint of the application though, so we end up exiting with a zero code despite one or more of the jobs having failed. This makes monitoring the status of tarsnapper impossible. One would have to know to regularly check its logs to ensure it's actually backing things up. Fixes miracle2k#39
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When a source does not exist, tarsnapper doesn't do the backup:
Not backing up 'mybackup', because not all given sources exist
but
The text was updated successfully, but these errors were encountered: