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

Re: dump & load

From: Gustavo Niemeyer <niemeyer_at_conectiva.com>
Date: 2004-01-22 20:11:27 CET

> > Humm.. btw, what about if the first dump had revisions 1 -> 500, and
> > the second one had 500 -> 1000. Would it be possible to ignore
> > revision 500 of the second dump and append them together again?
>
> Sure, you could do that by removing r500 from the 2nd dumpfile and then
> appending the 2nd dump to the 1st dumpfile.
>
> But this is why we have 'svnadmin dump --incremental', no?
>
> $ svnadmin dump -r0:500 > dumpfile1
> $ svnadmin dump --incremental -r501:1000 > dumpfile2
>
> Then later on
>
> $ cat dumpfile2 dumpfile2 > dumpfile
> $ svnadmin load repos < dumpfile

Yes, I understand this process already.

I'm thinking about something slightly different: maintaining two
repositories side-by-side, one of them being the working repository,
and the other being for read-only access. From time to time I'd take,
for example, 10.000 revisions from the bottom of the working copy,
and move them to the top of the read-only version.

This is just an idea right now, but I may actually do that in the
future to avoid handling a 26GB+/46000+ repository everytime I have
to do a backup, or dump/load, or whatever.

-- 
Gustavo Niemeyer
http://niemeyer.net
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Jan 22 20:17:56 2004

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