You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Duncan Murdoch <mu...@stats.uwo.ca> on 2006/06/25 13:43:16 UTC

Restoring repository from svk mirror?

We just had a crash that took down the svn repository, and the most 
recent copy of it is actually an svk mirror.  I almost never use svk; 
can anyone let me know if it's possible to restore the svn repository 
from this mirror, and if so, what are the steps to do it?

Thanks.

Duncan Murdoch

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

Re: Restoring repository from svk mirror?

Posted by Duncan Murdoch <mu...@stats.uwo.ca>.
On 6/25/2006 4:04 PM, Vincent Tondellier wrote:
> Duncan Murdoch wrote:
> 
>> We just had a crash that took down the svn repository, and the most
>> recent copy of it is actually an svk mirror.  I almost never use svk;
>> can anyone let me know if it's possible to restore the svn repository
>> from this mirror, and if so, what are the steps to do it?
>> 
> 
> http://svk.elixus.org/?RecoverSVNMasterFromSVKMirror 
> 

Just to put a record in the archives:  that page suggested two methods. 
  One was to work entirely within svk, the other worked with svn.  Since 
I'm more familiar with svn I used that method.

svk maintains an svn repository in its depot.  I dumped that repository 
using svnadmin dump, used svnfilter to select out the bits I wanted, and 
manually edited the Node-path and Node-copyfrom-path entries to remove 
the "mirror".  This was then easily loaded into a pure svn repository.

It would be nice if svnfilter could do some of the path editing; it 
knows more about the context than my editor did, so it could avoid 
editing content that happened to match the look of the svn dump headers.

Thanks to Vincent for pointing me to this page, and to Rembrandt Kuipers 
who wrote the description of the method I used.

Duncan Murdoch

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

Re: Restoring repository from svk mirror?

Posted by Vincent Tondellier <to...@team1664.org>.
Duncan Murdoch wrote:

> We just had a crash that took down the svn repository, and the most
> recent copy of it is actually an svk mirror.  I almost never use svk;
> can anyone let me know if it's possible to restore the svn repository
> from this mirror, and if so, what are the steps to do it?
> 

http://svk.elixus.org/?RecoverSVNMasterFromSVKMirror 

> Thanks.
> 
> Duncan Murdoch


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