delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/03/03/12:14:20

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.6 required=5.0 tests=AWL,BARRACUDA_BRBL,BAYES_00
X-Spam-Check-By: sourceware.org
Date: Tue, 3 Mar 2009 18:13:48 +0100
From: Spiro Trikaliotis <an-cygwin AT spiro DOT trikaliotis DOT net>
To: cygwin AT cygwin DOT com
Message-ID: <20090303171347.GA4456@trikaliotis.net>
Mail-Followup-To: cygwin AT cygwin DOT com
References: <E65CDFCE-3C83-4935-BE6B-7F0E8382C766 AT douganconsulting DOT com> <20090303083616 DOT GA17648 AT trikaliotis DOT net> <87f94c370903030720h78af1797o3ceb5273801973f0 AT mail DOT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <87f94c370903030720h78af1797o3ceb5273801973f0@mail.gmail.com>
User-Agent: Mutt/1.5.17+20080114 (2008-01-14)
X-SA-Exim-Connect-IP: 87.163.200.166
X-SA-Exim-Mail-From: an-cygwin AT spiro DOT trikaliotis DOT net
Subject: Re: rsync hanging on Access MDB file
X-SA-Exim-Version: 4.2.1 (built Tue, 09 Jan 2007 17:23:22 +0000)
X-SA-Exim-Scanned: Yes (on mail.trikaliotis.net)
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

Hello Greg,

* On Tue, Mar 03, 2009 at 10:20:52AM -0500 Greg Freemyer wrote:
> On Tue, Mar 3, 2009 at 3:36 AM, Spiro Trikaliotis
> <XXXXXXXXX AT spiro DOT trikaliotis DOT net> wrote:

Please do not cite mail addresses!

> > 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.
[...]
> The above is exactly why VSS was created by Microsoft.

Unfortunately, if you take a shadow copy of an open file, you might end
with a correctly copied (or rsync'ed) file which is broken. You must be
sure that noone is accessing the file at the moment you take the shadow
copy.

Of course, this operation can limit the time span you have to make sure
noone is accessing the file. Here, you are right.

Regards,
Spiro.

-- 
Spiro R. Trikaliotis                              http://opencbm.sf.net/
http://www.trikaliotis.net/                     http://www.viceteam.org/

--
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