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

Re: fs dump/restore proposal

From: Branko Čibej <brane_at_xbc.nu>
Date: 2002-04-24 22:02:32 CEST

Greg Stein wrote:

>On Wed, Apr 24, 2002 at 09:09:39PM +0200, Branko Čibej wrote:
>
>> svnadmin dump -r :1000 repo
>> svnadmin dump -r 1001: repo
>>
>>If you want to recreate the repo, you'll have to import the two dumps
>>one after the other. Although, in this case, revision numbers typically
>>wouldn't change.
>>
>
>Nope. That won't recreate the repo. You'll lose all references across the
>dumped data boundaries. The second dump will produce fulltexts for
>everything at rev 1001. All future rev trees will refer to those. Nothing
>will be able to refer to rev 0..1000; otherwise, your dumped data will be
>internally-inconsistent and/or missing some fulltexts.
>
/me grins evilly

Nope. You could restore the repo that way. All you have to do is make
sure the second dump can refer to nodes in the first dump. You do that
by using full paths of nodes in the previous revision for the
references. And I thought we agreed to keep only fulltexts in the dump,
no diffy stuff.

(Of course, "dump -r :1000 + dump -r 1002:" would not work in general;
but my example would.)

-- 
Brane Čibej   <brane_at_xbc.nu>   http://www.xbc.nu/brane/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Apr 24 22:03:50 2002

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.