-
Notifications
You must be signed in to change notification settings - Fork 75
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
Implement POST_COMMAND_INCOMPLETE? #107
Comments
@MadsBen That is an interesting point. I was not aware of that. Makes total sense to have a separate command for those "non-fatal" errors. I could totally make use of that! Will try to implement this. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I still think this is relevant. |
Just want to add, that it works. Great job. |
Restic has 3 exit status codes:
Code 1 and 3 both results in POST_COMMANDS_FAILURE to be executed, which is a bit misleading, since code 3 is not a failure.
An additional POST_COMMANDS_ option would be nice, to cover code 3.
Here's an example from the log, where there is a warning, but no failure, but it executes the POST_COMMANDS_FAILURE:
The text was updated successfully, but these errors were encountered: