2 ## configuration file for openldap backups
4 ## If the method is set to "slapcat", the LDIFs generated are
5 ## suitable for use with slapadd. As the entries are in database
6 ## order, not superior first order, they cannot be loaded with
7 ## ldapadd without being reordered.
10 ## backupdir (default /var/backups/ldap): the destination for the backups
11 # backupdir = /var/backups/ldap
13 ## conf (default /etc/ldap/slapd.conf): the location of the slapd.conf file.
14 # conf = /etc/ldap/slapd.conf
16 ## databases (default all): either a space separated list of database
17 ## numbers or prefixes, or the keyword 'all'.
20 ## compress (default yes): if set to yes, ldif exports are gzipped.
23 ## restart (default no): if set to yes, slapd is stopped before backups are
24 ## performed, and then started again after they have finished, this is necessary
25 ## if your backend is ldbm and your method is slapcat, but unnecessary otherwise.
28 ## method (default ldapsearch): either 'ldapsearch' or 'slapcat'
29 ## ldapsearch is the safer method to do backups, but is slow, slapcat
30 ## is much faster, but should not be done on an ldbm backend unless you have
32 ## NOTE: with the ldapsearch method passwordfile and binddn need to be set
35 ## passwordfile (no default): this should be set to the file that contains
36 ## your ldap password, this is required for ldapsearch and not needed for slapcat
37 ## this file should have no newlines in it, echo -n "password" > passfile works.
38 ## NOTE: be sure to set the permissions on your password file appropriately
39 ## (hint: world readable is not appropriate)
42 ## binddn (no default): set this to the DN of the user that the ldapsearch binds
43 ## to, not needed for slapcat
46 ## ldaphost (no default): set this to your ldap host if it is not local
49 ## tls (default yes): if set to 'yes' then TLS connection will be
50 ## attempted to your ldaphost by using the URI base ldaps: otherwise ldap: will be used