-   Linux - General (
-   -   rsync 3.0.8 with cygwin (

rvw 08-03-2011 08:47 AM

rsync 3.0.8 with cygwin

I've been setting up a group of Windows-based PCs to backup to a Linux server on the same local network using cygwin and rsync. This works fine on all but 1 of the PCs. The PCs all use the same version of cygwin (1.7.9) and rsync (3.0.8) and all have a wide variety of file types and sizes.

All PCs run the same batch file with just the authentication details changed:



rsync -vrltz --chmod=a=rw,Da+x --log-file="/var/log/rsync.log" --stats --password-file="/xxx" --delete "/cygdrive/c//" aaa@

The backup seems to fail on the 1 PC when it encounters a large file but not the same file each time. In the log I get:

rsync: writefd_unbuffered failed to write 4 bytes to socket [sender]: Connection reset by peer (104)
rsync: read error: Connection reset by peer (104)
rsync error: error in rsync protocol data stream (code 12) at /home/lapo/package/rsync-3.0.8-1/src/rsync-3.0.8/io.c(760) [sender=3.0.8]

The server is running Debian 5 (Lenny) and rsync 3.0.3.

cwrsync and DeltaCopy also give similar errors.

Any ideas on why this is failing?

Richard Williams

All times are GMT -5. The time now is 04:51 AM.