I am looking for a way to start one rsync command with multiple destinations. My use case: I have one (slow) usb drive which should be synced to two other harddrives. It would be great if rsync could read one file which is to be copied to both hard drives only once, so the slow usb connection is used more efficiently. Any idea or is this a wishlist "bug"? Thanks
On Thu 29 Jan 2015, Johan Kr?ckel wrote:> I am looking for a way to start one rsync command with multiple destinations. > My use case: > I have one (slow) usb drive which should be synced to two other > harddrives. It would be great if rsync could read one file which is to > be copied to both hard drives only once, so the slow usb connection is > used more efficiently.Running two parallel rsync jobs, one to one disk and the other to the second disk will generally lead to the processes running in sync with each other, so that data will only be read from the source disk once, the read by the other rsync process will be satisfied from the buffer cache. At least that's been my experience... Paul
>> I am looking for a way to start one rsync command with multiple destinations. >> My use case: >> I have one (slow) usb drive which should be synced to two other >> harddrives. It would be great if rsync could read one file which is to >> be copied to both hard drives only once, so the slow usb connection is >> used more efficiently.Just a thought, you could rsync to faster local storage and then distribute to the other locations from there. This would result in a single slow read from the slow USB drive. Another thought, perhaps you could replace the slow USB drive altogether with a low cost upgrade? -------------------------------------------------------------------- This email is protected by LBackup, an open source backup solution http://www.lbackup.org