how to determine transfer direction in pre/post-xfer scripts?

2010-02-17 Thread Max Arnold
Hi all, Is there any way to determine transfer direction (download/upload) in pre-xfer and post-xfer rsync daemon scripts? I want to trigger notification event upon successful upload. If not, consider this to be a feature request for additional environment variable. -- Please use reply-all fo

Re: rsync/cwgwin hangs during transfers

2010-01-16 Thread Max Arnold
On Sat, Jan 16, 2010 at 02:55:06PM -0500, Adam Rosi-Kessel wrote: > Understood; but regardless it seems like a cygwin/rsync regression that > it worked fine with the earlier version and no longer does. A lot of > folks have antivirus software, and some of them have no rights to alter > the confi

Re: rsync/cwgwin hangs during transfers

2010-01-16 Thread Max Arnold
On Sat, Jan 16, 2010 at 05:52:28PM +0100, Alan C. Bonnici wrote: > Rsync 3.0.7 and Cygwin 1.7.1 hangs at random instances. This does not happen > always and does not happen at all locations. Do you have any antivirus/firewall software installed? I once had weird issues with cwRsync on Windows an

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: rsync speed on slow wireless links

2009-12-23 Thread Max Arnold
On Mon, Dec 21, 2009 at 10:04:20AM -0800, Wayne Davison wrote: > On Wed, Dec 9, 2009 at 10:08 PM, Max Arnold wrote: > > in my tests rsync often stalls > > for 3-5 minutes, while wget stalls only for several seconds and then > > continues download. Installed rsync-3.1dev s

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

Re: Rsync 3.0.7pre1 released

2009-12-23 Thread Max Arnold
On Mon, Dec 21, 2009 at 07:10:48PM -0800, Wayne Davison wrote: > Rsync version 3.0.7pre1 is now available for release testing. This is > a bug-fix release. > > Please test this new release and send email to the rsync mailing list > with any questions, comments, or bug reports. --timeout seems to

Re: rsync speed on slow wireless links

2009-12-14 Thread Max Arnold
On Mon, Dec 14, 2009 at 02:23:26AM -0500, Matt McCutchen wrote: > On Thu, 2009-12-10 at 13:08 +0700, Max Arnold wrote: > > I've noticed that rsync performs significantly worse than wget on slow > > congested wireless > > links (GPRS in my case). I don't have la

rsync speed on slow wireless links

2009-12-09 Thread Max Arnold
Hello all! I've noticed that rsync performs significantly worse than wget on slow congested wireless links (GPRS in my case). I don't have large statistics, but in my tests rsync often stalls for 3-5 minutes, while wget stalls only for several seconds and then continues download. Is there any