Mail Archives: cygwin/2009/03/03/10:21:12
On Tue, Mar 3, 2009 at 3:36 AM, Spiro Trikaliotis
<an-cygwin AT spiro DOT trikaliotis DOT net> 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:
http://www.mail-archive.com/cygwin AT cygwin DOT com/msg94495.html
If you have more questions, it might make sense to reply to those
messages. Or at least cut & paste some of it here.
Greg
--
Greg Freemyer
Litigation Triage Solutions Specialist
http://www.linkedin.com/in/gregfreemyer
First 99 Days Litigation White Paper -
http://www.norcrossgroup.com/forms/whitepapers/99%20Days%20whitepaper.pdf
The Norcross Group
The Intersection of Evidence & Technology
http://www.norcrossgroup.com
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
- Raw text -