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

Re: Berkeley DB problem

From: Max Bowsher <maxb_at_ukf.net>
Date: 2004-12-04 19:39:13 CET

Ben Collins-Sussman wrote:
> Re-sending to the list. "We" need to see your results (developers),
> not me personally. :-) Maxb: any idea what this means?
>
>
> On Dec 4, 2004, at 11:30 AM, Klaus-J. Wolf wrote:
>
>> On Saturday, 4. December 2004 17:26, you wrote:
>>> 'db_recover' is the official way to upgrade a BDB database from 4.1 to
>>> 4.2. If there are problems, you should show us.
>>
>> db_recover: Program version 4.2 doesn't match environment version
>> db_recover: Ignoring log file: log.0000000059: unreadable log version 7
>>
>> It works if I throw away _all_ the log.* files before, but I can't say
>> if that
>> causes any damage.

The BDB docs seem to suggest you are supposed to be using the *old* version
of db_recover.

However, that will probably be awkward.

BACKUP (tar/zip) THE REPOSITORY, THEN
throw away all the __db.* and log.* files.
db_recover
svnadmin dump
svnadmin load into a new repository
Verify that the HEAD revision is what you expect.
If it is, then everything's ok.

Max.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Dec 4 19:42:17 2004

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.