[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: Tue, 14 Feb 2012 19:34:10 -0600

On Tue, Feb 14, 2012 at 7:02 PM, Daniel Shahaf <d.s_at_daniel.shahaf.name> 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.

You could just repeat the rsync command until nothing changes as a
quick hack. Unless the filesystem is extremely busy, that should get
a good snapshot.

-- 
  Les Mikesell
     lesmikesell_at_gmail.com
Received on 2012-02-15 02:34:43 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.