You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Lübbe Onken <l....@rac.de> on 2005/07/26 08:48:47 UTC

Howto reduce repository size

Hi Folks,

in my company we have reached the stage where our subversion backups 
don't fit onto the backup tapes anymore. We have decided, that we want 
to get rid of the old history in some projects, but to preserve the 
revision numbering, so that people don't have to relocate their working 
copies

Our idea was the following:
svnadmin dump myproject --revision 0:500 > oldstuff.dmp
svnadmin dump myproject --revision 501:600 > newstuff.dmp

If I now do 'svnadmin load mynewproject < newstuff.dmp', svnadmin 
renumbers the revisions, so that the repository ends at r100 and not at 
r600 as I hoped.

How can I solve this? Do I have to pad the "newstuff" dumpfile with 
empty revisions 0:500, that just contain a log message like "removed 
from repository to save space".

Has - by chance - anyone already solved this and provide me with a ready 
made script or the correct sequence of svn commands? :-)

Cheers & thanks
- Lübbe

--
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org