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:

Saving the local addressbook of Evolution 1.4.x

This article was first written in March 2004 for
the BeezNest technical website (http://glasnost.beeznest.org/articles/112)
It is sometimes usefull to save the local (i.e. stored on your local hard-drive) addressbook of Ximian Evolution for backup or to use it elsewhere… To do it, just save the following two files and you are safe: ~/evolution/local/Contacts/addressbook.db and ~/evolution/local/Contacts/addressbook.db.summary