Multiple operations from same device can be done?

Dear All, I have a question on parallel operations. I am new to restic and just playing around with restic to backup my windows pc with around 200GB of files, images and videos.

Would like to know if there is any constant number defined for “Parallel operations” ?From the same device, can be run without issue? considering the locking of the repository, could you propose ideal parallelization factor if any. Thanks all.

Some actions are special, thus they require exclusive lock on the repository (e.g. forget/prune). Other than that, afaik capacity-wise it depends on your environment and how many parallel operations your IO can support. I didn’t see any problem other than the storage bottleneck while backing up multiple (20+) clients to same repository, while another repository on that host while being pruned.
But as a clarification, are you asking how many parallel threads single operation (e.g. single backup) can run, or how many parallel backup operations can run?

We also need to know what the backup target is. Is it a local disk or some cloud storage?

When the backup source data is all stored on the same disk, then you’ll probably just want to run a single restic process. Everything else will just force the restic processes to compete for resources and slow down the backup.

Thank you for the reply, now I understood more.

Yes, I am asking how many parallel operations like backup, delete, restore we can run in same device. It can be only multiple backup or mix of many backup and delete operations.

Sure, Wasabi cloud stoage is my backup target where we going to save the repository.

Considering that we would like to go with single restic process, can we have as many operations as we like? I understand that all should be non-exclusive lock, please correct me if am wrong.

I’m not sure I understand what you mean with “operations”, it seems to contradict “single restic process”. A single backup is likely able to saturate your upload. If you want to run multiple commands in parallel, then these all have to use a non-exclusive lock.