BackupPC-users

Re: [BackupPC-users] rsyncd backup fails with "Can't write to socket"

2013-01-14 17:20:38
Subject: Re: [BackupPC-users] rsyncd backup fails with "Can't write to socket"
From: "Michael Stowe" <mstowe AT chicago.us.mensa DOT org>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Mon, 14 Jan 2013 16:19:24 -0600
>  From the XferLog file:
>
> Can't write 13944 bytes to socket
> Read EOF: Operation timed out
> Tried again: got 0 bytes
> finish: removing in-process file <filename removed>
> Child is aborting
> Done: 502 files, 43008274 bytes
> Got fatal error during xfer (aborted by signal=PIPE)
>
> The server is a freeBSD 9.1 system, and the client is a windows 7
> machine running the DeltaCopy rsync service.
>
> The file in question *may* have been an open file, since the owner was
> logged in at the time.
>
> Anyone know how to get one of these backups to actually complete?
>
> Thanks
> RP

I'd normally expect rsync to skip over open files with a warning; you may
be running into a DeltaCopy bug, or it may react badly to certain
semantics for open files.

The "proper" way to copy open files is using Shadow Copies, but rsync
presents an interesting conundrum, because the shadow copy has to be
available before rsync is started, so running an rsync service probably
won't work (unless you go to the trouble or writing your own
rsync-compatible, non-Cygwin, VSS-capable service, I guess.  DeltaCopy is
not such a thing.)

At any rate, there are at least two VSS/rsync based solutions, but I'm not
aware of an rsync service working with open files at all.

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

<Prev in Thread] Current Thread [Next in Thread>