"borgmatic check --force" does nothing if config is set to skip checks #802
Labels
No labels
blocked
breaking
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#802
Loadingβ¦
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
What I'm trying to do and why
I'm trying to force check my repository, but the command ends instantly and no check is performed, even with the
--onlyoption specified.For example, the command
borgmatic check --force --verbosity 1 --only archivesends instantaneously with the output:
After I removed
from my config file, the check worked.
Is this intentional or a bug?
The documentation states I can use the
--forceoption to ignore the config and execute any arbitrary check I want.Thanks for filing this! The behavior you're seeing is not intentional, but whether it's a bug is subject to interpretation. π That's because the
skip_actionsfeature was added well after thecheck --forcefeature was implemented and documented, and the two features are therefore entirely independent. I will say though that your user expectation (thatcheck --forceoverridesskip_actions) seems reasonable to me. I'll have a look at how difficult that would be to implement.Thank you for the feedback! π
Yes, indeed my expectation is that there is a way to have checks disabled on the config file (because they take too long, for example), but still have a way to force check them at an arbitrary moment of my choice.
The current way requires the user to temporarily modify it's config file, which IMO is not a good thing.
Thank you for this excellent software, and I hope you find a way to work around this!
This is implemented in main and will be part of the next release. Thanks again for bringing this to my attention!
Fantastic! Couldn't hope for a faster response. Many thanks! π
Released in borgmatic 1.8.6!