(Answer) (Category) OpenLDAP Faq-O-Matic : (Category) OpenLDAP Software FAQ : (Category) Maintenance : (Answer) 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: (Answer) How do I backup my directory?
Next: (Answer) How to maintain Berkeley DB (logs etc.) ?
This document is: http://www.openldap.org/faq/index.cgi?file=288
[Search] [Appearance]
This is a Faq-O-Matic 2.721.test.
© Copyright 1998-2013, OpenLDAP Foundation, info@OpenLDAP.org