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

Re: Attempt to recover ancient repository (version 2)

From: Ryan Schmidt <subversion-2007b_at_ryandesign.com>
Date: 2007-05-09 07:41:13 CEST

On May 7, 2007, at 05:01, Jason E. Stewart wrote:

>>> [jasons@minotaur ~]$ /x1/usr/local/svn-install/svn-r7628/bin/
>>> svnadmin dump ./svn > ./genex-svn.dump
>>> svnadmin in free(): warning: chunk is already free
>>> svnadmin in free(): warning: chunk is already free
>>> svn: Berkeley DB error
>>> svn: Berkeley DB error while opening environment for filesystem ./
>>> svn/db:
>>> DB_RUNRECOVERY: Fatal error, run database recovery
>>
>> Are you using the same old version of BerkeleyDB that you were
>> using when the repository was in use? Newer versions may not be
>> compatible anymore.
>
> How do I tell the BDB version of the repository? Does one of the
> BDB tools do that (db_stat?).

I do not know... I don't use BDB.

> I just discovered that the BDB files are endian dependant - the old
> machine I had it on was little-endian, and my machine at home is
> big-endian and the svn tools at home all complain that the magic
> number on the BDB files is wrong. Can that be fixed easily?

Oh dear. As far as I know, you will only be able to use your BDB
files on a machine of the same endianness. For moves between
processor architectures, and perhaps even between BDB versions, you
will need to dump (on the old setup) and load (on the new one).

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed May 9 07:41:37 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.