Allow warnings to not result in a "failed" backup #204

Closed
opened 2019-08-03 17:02:09 +00:00 by spacerodent · 4 comments

What I'm trying to do and why

Borg considers exit code 1 as a warning and not a failure (https://borgbackup.readthedocs.io/en/stable/usage/general.html#return-codes). I would like Borgmatic to honor that by having an option to not end in error if Borg ended in rc 1.

#### What I'm trying to do and why Borg considers exit code 1 as a warning and not a failure (https://borgbackup.readthedocs.io/en/stable/usage/general.html#return-codes). I would like Borgmatic to honor that by having an option to not end in error if Borg ended in rc 1.
Owner

I'll do ya one better. I'll just make that the default behavior. Thanks for the suggestion!

I'll do ya one better. I'll just make that the default behavior. Thanks for the suggestion!
Owner

Okay, implemented and released in borgmatic 1.3.14 as default behavior. Please let me know if you have any issues with it.

Okay, implemented and released in borgmatic 1.3.14 as default behavior. Please let me know if you have any issues with it.
Author

Such service! Thank you!

Such service! Thank you!
Owner

Anything for you, @spacerodent!

Anything for you, @spacerodent!
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: borgmatic-collective/borgmatic#204
No description provided.