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

Re: berkeley db



man, 2002-11-25 kl. 16:36 skrev Brian Leung:

> does anyone know the detail procedures to restore the ldap database from
> the transaction log of the berkeley db 4 ?

In the db directory, which only needs to contain an uncorrupted (and
preferably freshly checkpointed) transition log::

'/wherever-you-have-it/db_recover -c'
'slapindex' (presuming you are using the standard /path/to/slapd.conf)
'chown ldapuser:ldapuser *'

Isn't nature wonderful?

All the BDB 4 docs are in the Berkeley install directory and make good
reading.

Best,

Tony

-- 

Tony Earnshaw

When all's said and done ...
there's nothing left to say or do.

e-post:		tonni@billy.demon.nl
www:		http://www.billy.demon.nl