OpenLDAP Faq-O-Matic : OpenLDAP Software FAQ : Maintenance : How do I export my directory in LDIF format? | |
You can use slapcat(8)
to generate an LDIF file for each of your slapd(8) back-bdb, back-hdb, or back-ldbm databases.
slapcat -f slapd.conf -b "dc=example,dc=com"For back-bdb and back-hdb, this command may be ran while slapd(8) is running. For back-ldbm, slapd(8) must not be running. | |
[Append to This Answer] |
Previous: | How do I backup my directory? |
Next: | How to maintain Berkeley DB (logs etc.) ? |
|