[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svnadmin hotcopy --incremental

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Thu, 17 Feb 2011 13:03:23 +0200

Why can't you svnsync the master to the hotcopy using file:// URLs?
(and create the svn:sync-* props before / remove them after, if that's
a problem)

Philip Martin wrote on Thu, Feb 17, 2011 at 10:54:38 +0000:
> Somebody responsible for backing up a large FSFS repository asked me if
> it were possible to do an incremental hotcopy. An incremental hotcopy
> would update a previous hotcopy to the current HEAD and would only need
> to copy the rev files newer than the previous hotcopy. This might
> involve deleting rev files if the packing has changed.
>
> Some strategy to deal with revprops would be needed: copy them all, read
> them all and copy the ones that have changed, copy the ones with newer
> timestamps, something else. The locks directory would need to be
> deleted and copied completely.
>
> Incremental hotcopy would start with a valid repository and end with a
> valid reposiory, but interrupting it part way through might result in an
> invalid repository.
>
> I don't think we can easily do this for BDB, so this would be an
> FSFS-only feature; since svnadmin already has BDB-only flags this should
> not be too much of a problem.
>
> Anyone see any problems with this approach? Does it sound like a good
> idea?
>
> --
> Philip
Received on 2011-02-17 12:08:39 CET

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.