delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/03/03/10:21:12

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.6 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <20090303083616.GA17648@trikaliotis.net>
References: <E65CDFCE-3C83-4935-BE6B-7F0E8382C766 AT douganconsulting DOT com> <20090303083616 DOT GA17648 AT trikaliotis DOT net>
Date: Tue, 3 Mar 2009 10:20:52 -0500
Message-ID: <87f94c370903030720h78af1797o3ceb5273801973f0@mail.gmail.com>
Subject: Re: rsync hanging on Access MDB file
From: Greg Freemyer <greg DOT freemyer AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019