[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 12:24:03 +0100

On Wed, Feb 15, 2012 at 03:02:04AM +0200, Daniel Shahaf wrote:
> Stefan Sperling wrote on Tue, Feb 14, 2012 at 23:19:58 +0100:
> > Until then, svnsync or svnadmin dump/load are the only officially
> > supported incremental backup solutions. But, as Daniel explained,
> > 'rsync' followed by 'svnadmin recover' produces valid copies of
> > FSFS repositories, too.
>
> I didn't say that, Stefan, since it's not true. rsync is not safe if
> the SQLite db is being read or written whilst rsync runs.

Ah, true. I keep forgetting about the rep cache...
I'm sorry if you felt I was mis-attributing this to you.

All I can say in my defense is that the whole point of adding incremental
hotcopy support (which of course handles the rep-cache properly) was to
finally stop worrying and forget about such details :)
Received on 2012-02-15 12:24:47 CET

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