"borgmatic check --force" does nothing if config is set to skip checks #802
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#802
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?
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
--only
option specified.For example, the command
borgmatic check --force --verbosity 1 --only archives
ends 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
--force
option 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_actions
feature was added well after thecheck --force
feature was implemented and documented, and the two features are therefore entirely independent. I will say though that your user expectation (thatcheck --force
overridesskip_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!