Re: preventing multiple rsync processes backing up same file with cron backup

2009-12-23 Thread Wayne Davison
On Tue, Dec 22, 2009 at 10:56 PM, snowc 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

Re: preventing multiple rsync processes backing up same file with cron backup

2009-12-23 Thread Max Arnold
On Wed, Dec 23, 2009 at 09:54:05AM +, chris snow wrote: > Say I want to backup a directory every 15 minutes from cron. I wrap cron in > a script that does locking to ensure only one instance of the script runs at > any one time. > > At some stage during the day, I have a file that is 1Gb that

Re: preventing multiple rsync processes backing up same file with cron backup

2009-12-23 Thread Max Arnold
On Tue, Dec 22, 2009 at 10:56:21PM -0800, snowc wrote: > > If I have an rsync cron job that runs say every 15 minutes, what happens if > there is a file that process 1 has started to copy across, but hasn't > finished before the next process starts? > > Does rsync ignore this partially copied fil

preventing multiple rsync processes backing up same file with cron backup

2009-12-22 Thread snowc
n job? Many thanks in advance, Chris -- View this message in context: http://old.nabble.com/preventing-multiple-rsync-processes-backing-up-same-file-with-cron-backup-tp26897620p26897620.html Sent from the Samba - rsync mailing list archive at Nabble.com. -- Please use reply-all for most repli