OpenLDAP

This article was first written in August 2004 for the BeezNest technical
website (http://glasnost.beeznest.org/articles/153).
OpenLDAP is an open source implementation of the Lightweight Directory Access Protocol.

OpenLDAP online backups

This article was first written in June 2005 for the BeezNest technical
website (http://glasnost.beeznest.org/articles/269).
For BDB and HDB backends only, online backups (ie without stopping slapd to backup) are possible with slapcat. For example, to backup the directory "dc=example,dc=com" to /tmp/ldap-backup.ldif:
slapcat -f /etc/ldap/slapd.conf -b "dc=example,dc=com" -l /tmp/ldap-backup.ldif
For other backends, the best solution is to replicate to another LDAP server and backup this one. See also: