Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

If I have multiple sources, each with the same directory tree, but different files in the tree, is it safe to run multiple rsync commands in parallel with the same destination?

Specifically, will there be any race conditions for directory/file creation?

share|improve this question

There shouldn't be any issues with locking or races, but I still wouldn't suggest it.

Having parts of the tree come from different hosts should work nearly as well and be faster.

share|improve this answer

Creating a directory is atomic so that will not cause a problem. If some of the files are the same you will probably see the last rsync that touches the file will "win".

Other than that I do not see any problems and it should be safe to do.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.