Running two instances of restic at the same time

Is it ok to run multiple restic calls at the same time? Specifically, I have a script that does the following:

  1. Launches a new terminal that backs up a list of directories to an external hard drive using restic.
  2. Then backs up the same list of directories to the cloud (while the process in the other terminal is running).

Do the simultaneous restic calls have the potential to interfere with one another?

Hey @alexwms and welcome to the restic community! :slight_smile:

Yes, you can absolutely run more than one backup at the same time to the same repository.
There are some restic commands which put an “exclusive lock” on the repo - meaning that only this command needing the exclusive lock can be run and nothing else at this time.

This is also covered in the documentation of restic which you can find here: Restic Design - Locks
Here is a post where all types of locks are listed: List of lock rules in documentation

I would also encourage you to utilize the forum search - we have tons of discussions about all sorts of things and tons of knowledge dumped in here. So it’s a good idea to search first and if you couldn’t find a thread that answers your question you can start one yourself :slight_smile: