How to disable automaticaly "backup", when "mount" in progress #116
-
Hello, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
It should be handled by restic automatically: In your case I don't think it's even an issue because you upload a new snapshot to a restic repository while reading a different snapshot. In any case, if restic thinks it's going to do two conflicting operations at the same time, it will tell you the repository is locked and you won't be able to do it. |
Beta Was this translation helpful? Give feedback.
-
Answer: Use the
|
Beta Was this translation helpful? Give feedback.
Answer: Use the
resticprofile
lock mechanism and place it in the top profile of the inheritance hierarchy so that each derived profile will use the same file. This mechanism forbids the execution of any "action" like "backup", "mount", "snapshots", no action of the "run-before" type is also performed.