LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] rsync over ssh problem

[ILUG] rsync over ssh problem

kevin lists at cybercolloids.net
Wed Aug 18 10:00:06 IST 2010


Part of our backup routine is a cron job that runs rsync over ssh to an
offsite computer every night. Recently I have noticed that it fails
about 1/2 of the time, not always and a failed rysnc one night might
work fine the next night.

The error we get is:

Write failed: Broken pipe
rsync: connection unexpectedly closed (13729658 bytes received so far)
[receiver]
rsync error: error in rsync protocol data stream (code 12) at io.c(601)
[receiver=3.0.7]
rsync: connection unexpectedly closed (783 bytes received so far)
[generator]
rsync error: unexplained error (code 255) at io.c(601) [generator=3.0.7]

I have the "KeepAlive Yes" option in the sshd_config file

rsync options used in the batch file are:

rsync -e ssh -avzxHS --numeric-ids --del --delete-excluded
--exclude-from "/home/cybercolloids/exclusions.txt" --exclude ".gvfs"

Looking at the log file the only thing that looks odd is that the
connection fails when transferring large image files - a few Mb

Any ideas?

Thanks

Kevin.



More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell