are all operations lock free? #1316
-
Maybe trivial question but I could not find clarification anywhere... The story of two laptops backing up to the same cloud remote. I know that there is no issue with running concurrent backups - this is how it works for me for long. The same with one laptop backing up and other running prune. But what about other operations? Can I run two In general are all operations lock free and multiple can be run at the same time or there are some exceptions (like |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi @kapitainsky Of course, any read-only command also safely runs parallel to any other command. Multiple parallel There is one general caveat: Error handling is not perfect yet in rustic and we may run into cases where parallel runs may throw errors. E.g. the combination |
Beta Was this translation helpful? Give feedback.
Hi @kapitainsky
Yes, all operations are designed lock-free. This means all commands can run parallel. This is especially true for multiple backup runs and backup runs parallel to
prune
.However, make sure that each individual
backup
run won't take longer as the--keep-delete
option (default: 23h) if you runprune
parallel tobackup
- and that you don't use--instant-delete
.Of course, any read-only command also safely runs parallel to any other command.
Multiple parallel
forget
orprune
runs are designed to work, too. But I have to admit that we have not tested this in detail so far. Because of this and other reasons (like ACLs to set up and scheduling) I would recommend to scheduleforget
…