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

Re: Reduce size of repository for backup

From: Andy Levy <andy.levy_at_gmail.com>
Date: Wed, 2 Feb 2011 15:47:02 -0500

On Wed, Feb 2, 2011 at 15:14, Daniel Andersson
<list_at_daniel-gr-andersson.com> 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?

http://subversion.apache.org/faq.html#removal

> 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.
Received on 2011-02-02 21:48:22 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.