Feature request: adding --repair option to the check command or in configuration file #266

Closed
opened 2019-12-03 19:21:44 +00:00 by benibilme · 2 comments

Hello

Borg check reports some issues. I have a configuration file for each backup unit so I have many yaml files. If check reports issues, I have to delve into borg plumbing commands, hassling with borg repository urls. Users do not have much control anyway in repairing the repos and archieve in borg. I would like to be able to pass global option to borgmatic if I need to repair repositories (Even though, borg reports as this feature is not stable yet)

Hello Borg check reports some issues. I have a configuration file for each backup unit so I have many yaml files. If check reports issues, I have to delve into borg plumbing commands, hassling with borg repository urls. Users do not have much control anyway in repairing the repos and archieve in borg. I would like to be able to pass global option to borgmatic if I need to repair repositories (Even though, borg reports as this feature is not stable yet)
Owner

That's a great idea. Probably it would make the most sense as a command-line option, because I imagine that you won't always want to perform a consistency check with repair enabled.. only sometimes (e.g. if a standard check fails and you're doing a repair interactively). Thanks for filing this!

That's a great idea. Probably it would make the most sense as a command-line option, because I imagine that you won't always want to perform a consistency check with repair enabled.. only sometimes (e.g. if a standard check fails and you're doing a repair interactively). Thanks for filing this!
Owner

This is implemented and released in borgmatic 1.4.17. You can now use borgmatic check --repair. Enjoy! And thanks for the idea.

This is implemented and released in borgmatic 1.4.17. You can now use `borgmatic check --repair`. Enjoy! And thanks for the idea.
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#266
No description provided.