[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: SVN backup with lvm snapshots and rsync

From: Les Mikesell <lesmikesell_at_gmail.com>
Date: Wed, 15 Feb 2012 16:08:02 -0600

On Wed, Feb 15, 2012 at 3:37 PM, Nico Kadel-Garcia <nkadel_at_gmail.com> wrote:

> If the repository is busy in a commit or partial commit at the moment
> of the snapshot, you're in potentially very deep trouble. You've
> entered not only "split-brain" territory, where the repositories are
> out of sync, but partial commit territory. Subversion is careful that
> its database writes are atomic operations, but you can't assure that
> if the filesystem is in the midst of being written when snapshotted.
>

Wouldn't this be the same state of the disk if the system crashed at that
point? So if you can't expect to recover from that copy you should also
be worried about recovering after a power failure.

-- 
   Les Mikesell
      lesmikesell_at_gmail.com
Received on 2012-02-15 23:08:36 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.