subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Andersson <l...@daniel-gr-andersson.com>
Subject Re: Reduce size of repository for backup
Date Sat, 05 Feb 2011 03:39:04 GMT
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@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

Mime
View raw message