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

Re: Repository size!?

From: Jared Hardy <jaredhardy_at_gmail.com>
Date: 2007-03-06 20:35:06 CET

On 3/6/07, Suelmar Castro <suelmar.castro@yahoo.com.br> wrote:
> what should i do when my repository becames to large? Can i delete oldest
> revision?

That sounds a little too dangerous. The way FSFS works makes it
possible that the "oldest" revision files can hold necessary pieces of
"newest" files. I think the semi-officially supported route is moving
old revisions to different (larger, slower) volumes, including over
NFS, and then soft-linking ("ln -s ..." in UNIX) them from their
original position in the FSFS tree. Shut down and svn or Apache server
access while you're doing this, just to be safe. Also be careful to
keep the ACLs the same on the new volume.
    There is also an "svnobliterate.py" script in the contrib area
somewhere, but I'm not that familiar with its proper use, so details
will have to come from elsewhere. Otherwise, you will have to
"svnadmin dump ..." to another larger volume, and get really familiar
with the use of svndumpfilter. Loading a dump file into a 1.4.x FSFS
repository, from an older version, will also cut the space used in
about half, in my experience.


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Mar 6 20:35:32 2007

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.