X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.7 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: <20090303171347.GA4456@trikaliotis.net> References: <20090303083616 DOT GA17648 AT trikaliotis DOT net> <87f94c370903030720h78af1797o3ceb5273801973f0 AT mail DOT gmail DOT com> <20090303171347 DOT GA4456 AT trikaliotis DOT net> Date: Tue, 3 Mar 2009 12:26:17 -0500 Message-ID: <87f94c370903030926m278f5ed3l70ca5faee28e57eb@mail.gmail.com> Subject: Re: rsync hanging on Access MDB file From: Greg Freemyer To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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 12:13 PM, Spiro Trikaliotis > 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 >> 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. I don't use Access, but in general good applications should support being quiesced. They do that by registering with the VSS service. Then when a shadow copy is requested, vss first notifies all registered apps to quiesce themselves. Once all registered apps are quiesced, the shadow copy is created. The whole purpose of the process is to ensure logically consistent data is captured in the backup. NTbackup from Microsoft is using vss to make its backups, so I would be very surprised if Access is not registering itself and fitting into Microsoft's master plan. 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/