preventing multiple rsync processes backing up same file with cron backup

Wayne Davison wayned at samba.org
Wed Dec 23 14:55:12 MST 2009


On Tue, Dec 22, 2009 at 10:56 PM, snowc <chsnow123 at gmail.com> wrote:

> Does rsync ignore this partially copied file, or does it try to copy it
> across again in the second cron job?
>

If the one job catches up with the other, they will both copy the same file,
each to its own temp file.  If you have delete processing going on, one
rsync may even delete a temp file for the other (if the delete scan happens
at the right time).

..wayne..
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.samba.org/pipermail/rsync/attachments/20091223/e1c5d027/attachment.html>


More information about the rsync mailing list