Skip all checks doesn't work. #1008
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#1008
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
Using
in a config file produces an error.
Steps to reproduce
skip_actions:
- check
Actual behavior
Using
in a config file produces an error:
Expected behavior
Should validate OK syntax and when executed it should skip all checks,
Other notes / implementation ideas
No response
borgmatic version
1.8.2
borgmatic installation method
pip install
Borg version
No response
Python version
No response
Database version (if applicable)
No response
Operating system and version
Ubuntu 20.04
Time to upgrade! ๐
skip_actions:was added in borgmatic 1.8.5.If you can't upgrade right now, there is an alternate way to skip checks in older versions of borgmatic. See the docs for details.
Thanks for message! I wasn't not able to find that part of docs.. Thanks!
I have a remote storage which has a slow connection. That's why I need to disable checks.
I'd like to run them locally.. Is there a recommended way to run just checks from another machine on a different schedule and avoid privilege issues?
Thanks!
The docs could certainly be better organized.
To run checks from another machine, you'd need a separate borgmatic configuration file there where (at minimum) checks are enabled. Also see these docs. To avoid privilege issues, just make sure you're accessing the repository as the same Unix user. And you'll also probably want to schedule your checks to run at a different time than your backups so that you don't run into any repository lock contention issues. If you do run into lock contention, you'll see that one or the other borgmatic process will fail to acquire a lock and therefore error out.