Les Mikesell wrote on Tue, Feb 14, 2012 at 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.
Just exclude rep-cache.db from the rsync. _For now_ I think that
suffices, but there is no guarantee that that will remain true into the
future. 'svnadmin hotcopy' (and its incremental variant in 1.8) is the
supported, forward-compatible means.
Received on 2012-02-15 02:58:46 CET