[Date Prev][Date Next] [Chronological] [Thread] [Top]

RE: Berkeley DB - db_recover utility



Herman,

I agree, my message was premature.  After looking at the Berkeley DB
documentation it looks like the recovery functionality is provided for
transactional Berkeley DB which OpenLDAP does not support.

I am seriously looking into adding transactional support to OpenLDAP to
improve data base reliability.  If I come up with anything of general use I
will post a patch to the group.

Mark

-----Original Message-----
From: Herman Meerlo [mailto:herman.meerlo@cmg.nl]
Sent: Thursday, May 17, 2001 12:25 AM
To: markwhitehouse@home.com; openldap-software@OpenLDAP.org
Subject: RE: Berkeley DB - db_recover utility


Hi Mark,

I have been looking at this too. As far as I could see at that time it would
require that the Berkeley DB environment has been created with the
DB_LOGGING and the DB_TXN (logging and transaction subsystems turned on)
set. This way log files will be created during hte lifetime of the database
which the db_recover tool can use to reconstruct the database after critical
database failures. There is a lot to read about it on the www.sleepycat.com
website.

regards,
Herman

> -----Original Message-----
> From: Mark Whitehouse [mailto:markwhitehouse@home.com]
> Sent: Wednesday, May 16, 2001 18:34
> To: openldap-software@OpenLDAP.org
> Subject: Berkeley DB - db_recover utility
>
>
> Hi,
>
> Has anyone used the Berkeley DB db_recover utility on a
> corrupt LDAP DB?  I
> am using Open LDAP 2.0.7 and BDB 3.2.9.
>
> Unlike many of the Berkeley DB utilities (such as
> db_stat/db_dump), the
> db_recover does not take a db file arg.  Instead it requires an BDB
> environment (-h home).
>
> Any help would be appreciated.
> Thanks,
> Mark
>