LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices


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

Rep: Reputation: 0
Question rsync 3.0.8 with cygwin


Hi

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:

@CLS

@ECHO OFF

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

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
 
  


Reply

Tags
cygwin, rsync



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

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:20 PM.

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