-
|
I'm in the process of automating my backup workflow with systemd services and would like to know if running
Now, on the day that For this case where they run in parallel, I'm wondering if rustic handles this correctly. I tried to find the answer in the docs, but come to a bit of conflicting conclusion. On the one hand, at this page it states that
which makes me believe you shouldn't run them in parallel. On the other hand, in the FAQ # Are all operations lock free? it mentions the following which seems to indicate that they can.
Any insight on this situation would be greatly appreciated! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
|
should be fine
https://rustic.cli.rs/docs/FAQ.html?highlight=parallel#how-does-the-lock-free-prune-work That said, I'd still just schedule the weekly prune for e.g. |
Beta Was this translation helpful? Give feedback.
-
|
Hi @sjiep! |
Beta Was this translation helpful? Give feedback.
Hi @sjiep!
I removed that wrong part in the docu mentioning that
prunedoes lock the repository. It does not, and you can runbackupparallel toforget --prune.Besides this, there are reasons to try to prevent a parallel run and do exclusive pruning. If you want to do so, you need some external locking mechanism, e.g. within systemd.