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

Re: repository corrupted ?

From: Ryan Schmidt <subversion-2007a_at_ryandesign.com>
Date: 2007-02-09 18:19:31 CET

On Feb 9, 2007, at 10:52, Denis Peyrusaubes wrote:

>
> Hello,
>
> after a crash of my sn server (Fedora 5, don't know the svn version
> installed), i've just been able to copy my repository onto
> a cd before a complete crash...
> I'm trying to use this repository with an svn distrib (Version
> 1.4.3) onto windows xp, but i get this error msg:
>
> >svnadmin dump myrepository
> svnadmin: Erreur de base Berkeley pour le syst?\195?\168me de
> fichiers 'D:/SVN/
> vnrepository/db' en moving cursor :
> DB_RUNRECOVERY: Fatal error, run database recovery
> svnadmin: bdb: page 70219: illegal page type or format
> svnadmin: bdb: PANIC: Invalid argument
> svnadmin: bdb: PANIC: fatal region error detected; run recovery
>
> How to recover my repository ?????

You can't just move a BerkeleyDB-based repository from Linux to
Windows and be able to use it. You can do that with FSFS-based
repositories, but not BerkeleyDB-based repositories, and yours
appears to be BDB-based. As far as I know, to move across platforms
(or across CPU architectures, or across BerkeleyDB versions) you need
to svnadmin dump the repository on the old system and then svnadmin
load it onto the new system. So you really need to svnadmin dump on
the Fedora 5 machine. I realize your Fedora 5 machine is toast. Can
you put the repository on another Fedora 5 machine of the same CPU
architecture and BDB version and dump there? Or can you rebuild your
Fedora 5 machine to the point that you have BDB and Subversion
installed and can run the dump there?

-- 
To reply to the mailing list, please use your mailer's Reply To All  
function
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Feb 9 18:20:10 2007

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

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