This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: rsync hanging on Access MDB file

On Tue, Mar 3, 2009 at 3:36 AM, Spiro Trikaliotis
<> wrote:
> Hello Des,
> * On Mon, Mar 02, 2009 at 11:41:05PM -0800 Des Dougan wrote:
>> rsync: connection unexpectedly closed (449058 bytes received so far)
>> [receiver]
>> rsync error: error in rsync protocol data stream (code 12) at io.c(635)
>> [receiver=3.0.2]
>> rsync: connection unexpectedly closed (237 bytes received so far)
>> [generator]
>> rsync error: unexplained error (code 255) at io.c(635) [generator=3.0.2]
>> The error occurs each time on the same Access database file (part of the
>> application suite the server was installed for).
> I know this behaviour for other file types: It happens if these files
> are either hold open (Outlook .pst files come to mind), or even modified
> while rsync is in progress.
> Thus, can you really rule out that noone else is accessing this file
> while rsync is taking place? My experience with Access is rather old
> (Access 1.1 and 2.0, some 15 years ago), but for these ancient versions,
> every time someone accesses this database, he opens the .mdb file
> himself in a shared manner. Thus, even if nothing is running on the
> server, there might be some remote user that is still accessing the DB.
> Regards,
> Spiro.

The above is exactly why VSS was created by Microsoft.

I brought up cygwin support of vss a week or two ago.

Not perfect, but you should be able to make it work by making some
win32 calls to setup the shadow copy, then rsync from there and make
another win32 call to delete the shadow copy when your done.

I found the thread at:

If you have more questions, it might make sense to reply to those
messages.  Or at least cut & paste some of it here.

Greg Freemyer
Litigation Triage Solutions Specialist
First 99 Days Litigation White Paper -

The Norcross Group
The Intersection of Evidence & Technology

Unsubscribe info:
Problem reports:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]