Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 08-03-2011, 08:47 AM   #1
LQ Newbie
Registered: Oct 2005
Posts: 8

Rep: Reputation: 0
Question 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


cygwin, rsync

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] rsync v.3.0.7 over cygwin 1.7.6 fails... blainemiller Linux - Server 3 06-10-2011 12:37 PM
rsync (cygwin on XP) - -delete flag not working. bobby953 Linux - Newbie 1 08-05-2009 10:13 AM
rsync option in cygwin ufmale Linux - Newbie 2 01-25-2009 12:06 PM
automated backup with cygwin and rsync hoover93 Linux - Networking 1 07-06-2005 08:35 PM
Using rsync with CygWin and W2K spano Linux - Networking 1 03-15-2005 10:58 PM

All times are GMT -5. The time now is 05:39 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration