[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: Daniel Andersson <list_at_daniel-gr-andersson.com>
Date: Sat, 05 Feb 2011 04:39:04 +0100

On 02/02/2011 09:59 PM, Les Mikesell wrote:
> On 2/2/11 2:47 PM, Andy Levy wrote:
>> 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.
>
> 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.
>

OK, how would I go about then to completely delete the whole versioning
history?

/Daniel
Received on 2011-02-05 04:39:38 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.