[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: Stefan Sperling <stsp_at_elego.de>
Date: Wed, 15 Feb 2012 20:41:48 +0100

On Wed, Feb 15, 2012 at 07:05:08PM +0000, Philip Martin wrote:
> Stefan Sperling <stsp_at_elego.de> writes:
>
> > But rather than going through that effort, I would recommend using
> > svnadmin dump/load, or svnsync with file:// URLs, until Subversion 1.8
> > is released. At which point you can switch over to using
> > "svnadmin hotcopy --incremental", which will copy rep-cache.db via
> > the appropriate sqlite APIs.
>
> Are you suggesting this because you know the LVM snapshot method doesn't
> work or just because it's a method that avoids non-standard Subversion
> tools?

I don't know enough about SQlite to judge whether the DB will
keep working at any frozen state a snapshot might create.

And, yes, in general, using offical Subversion tools for backup
purposes has the advantage that they will keep working after an
upgrade. No matter what kinds of changes we make to repository
fomats, we'll keep the official tools working.

That said, I agree that filesystem snapshots should work fine,
provided that sqlite databases will cope, too.
Received on 2012-02-15 20:42:28 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.