subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Les Mikesell <>
Subject Re: Reduce size of repository for backup
Date Wed, 02 Feb 2011 20:59:16 GMT
On 2/2/11 2:47 PM, Andy Levy wrote:
> On Wed, Feb 2, 2011 at 15:14, Daniel Andersson
> <>  wrote:
>> Hi all,
>> I deleted a bunch of large files from our repository yesterday that was not
>> meant to be stored there. But these are still of course in the SVN history.
>> I wish to do a backup each night and today I use svnadmin hotcopy for that,
>> and rsync that hotcopy to an off-site server. I chose hotcopy since it will
>> not cause any problems with anyone using the repository at the same time.
>> Is it possible to delete specific large files from the history? Or do I have
>> to dump and then delete the history all together?
>> Or could I do some kind of incremental backup instead and only a full
>> hotcopy backup each Sunday?
> As long as your incremental backups result in a usable repository when
> it's all restored, that can be done. svnadmin dump --incremental I
> think is what you'll need, there's no "incremental" hotcopy that I'm
> aware of.

Or do a scheduled svnsync to a remote repository which will just pick up the 
updates after you get the initial copy.  You might need to let it run over a 
weekend to get started, or make a copy locally and move it offsite.

   Les Mikesell

View raw message