[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Fwd: backup and desaster recovery question (ldap)



> - Is the ldap database part of the backup?

it is located in /var/lib/ldap/*. if the backup ran when slapd
was stopped you can just put it back. you might try your luck and
put it back non the less, but your miles may vary. db_recover is
not an option since the database format in venus is ldbm.

> - From the answers of skolelinux.de mailinglist it
> sounds, as if a backup of the running ldap database is
> not possible. Maybe it must be exported first ?

you can
- stop slapd and backup the raw database files
- stop slapd and do a ascii dump with slapcat

> - If it must be exported first, a description for the
> 'newbie' admins is required

is this a question? (c:
if it is, the answer is yes.

> - if export is needed it will be helpful to integrate
> it into the skolelinux backup module in webmin to make
> it transparent and easy to handle (e.g. define a
> possible pre-action for each backup path ?)

true.

> - same procedure for postgres db ?

it is not used by default, but yes.
(the procedure is slighly different, though)



Reply to: