2 ## configuration file for openldap backups
4 ## The LDIFs generated are suitable for use with slapadd. As the
5 ## entries are in database order, not superior first order, they
6 ## cannot be loaded with ldapadd without being reordered.
9 ## backupdir (default /var/backups/ldap): the destination for the backups
10 # backupdir = /var/backups/ldap
12 ## conf (default /etc/ldap/slapd.conf): the location of the slapd.conf file.
13 # conf = /etc/ldap/slapd.conf
15 ## databases (default all): either a space separated list of database
16 ## numbers or prefixes, or the keyword 'all'.
19 ## compress (default yes): if set to yes, ldif exports are gzipped.
22 ## restart (default no): if set to yes, slapd is restarted before backups are
23 ## performed, and then started again after they have finished, this is necessary
24 ## if your backend is ldbm and your method is slapcat, but unnecessary otherwise
27 ## method (default ldapsearch): either 'ldapsearch' or 'slapcat'
28 ## ldapsearch is the safer method to do backups, but is slow, slapcat
29 ## is much faster, but should not be done on an ldbm backend unless you have
33 ## passwordfile (no default): this should be set to the file that contains
34 ## your ldap password, this is required for ldapsearch and not needed for slapcat
35 ## this file should have no newlines in it, echo -n "password" > passfile works.
36 ## NOTE: be sure to set the permissions on your password file appropriately
37 ## (hint: world readable is not appropriate)
40 ## binddn (no default): set this to the DN of the user that the ldapsearch binds
41 ## to, not needed for slapcat