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

RE: Reduce SVN repository size

From: Erik Hemdal <erik_at_comprehensivepower.com>
Date: 2007-01-25 16:09:56 CET

> Hello everyone,
>
> I have installed svn on my machine and I am using it from 2-3
> months. I have added most of things there. but now its size
> is too big, appx 1.2 GB, so after that I have removed some
> big files from svn repository, but now i am not able to
> reduce whole repository size.. so pls tell me how to reduce
> my repository size.

Yours is a big question.

First, simply removing files won't help make the repository smaller, because
you aren't removing the history of changes. Here are some ideas I know
about.

1. You can use the dumpfilter tool to remove portions of the directory tree
in the repository.

2. You can use a dump/load cycle to save a subset of your revisions and
only reload the subset. Options to the svn dump command help you here.

3. It's my understanding that if you migrate to Subversion 1.4.x and
perform a dump/load cycle, you can reduce the size of the repository because
1.4 creates smaller repositories. But doing this won't be transparent to
your users; they have to check out new working copies.

I would not approach this in haste. Start by re-reading the SVN book about
the dump and load commands. Then check the archives for postings from
people who have tried this. And I would make sure that I had a trustworthy
backup of the repository before I started anything -- just to be completely
safe.

Erik

>
> Thanks
> LM
>
> _________________________________________________________________
> Want to look more beautiful? Ask Asha Bachani
> http://content.msn.co.in/Lifestyle/Fashionbeauty/Default.aspx
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Jan 25 16:10:33 2007

This is an archived mail posted to the Subversion Users mailing list.