Feature request: adding --repair option to the check command or in configuration file #266
Labels
No Label
bug
data loss
design finalized
good first issue
new feature area
question / support
security
waiting for response
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: borgmatic-collective/borgmatic#266
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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)
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!
This is implemented and released in borgmatic 1.4.17. You can now use
borgmatic check --repair
. Enjoy! And thanks for the idea.