[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: Harry Bullen <hbullen_at_gmail.com>
Date: Wed, 15 Feb 2012 12:03:15 -0500

On Wed, Feb 15, 2012 at 6:24 AM, Stefan Sperling <stsp_at_elego.de> wrote:
> 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 :)

Thank you for this advice. From what I gather rep-cache.db, can be
regenerated by svn. If I used rsync and excluded the rep-cache.db
would I then want to run 'svnadmin recover' on these backup or is
rep-cache.db regenerated automatically when the repository is used?
Received on 2012-02-15 18:03:48 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.