c35081bfe9dd99cdaf731b55c05956a99b053aea
[matthijs/upstream/backupninja.git] / etc / backup.d / example.ldap
1 ##
2 ## configuration file for openldap backups 
3 ##
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.
7 ##
8
9 ## backupdir (default /var/backups/ldap): the destination for the backups
10 # backupdir = /var/backups/ldap
11
12 ## conf (default /etc/ldap/slapd.conf): the location of the slapd.conf file.
13 # conf = /etc/ldap/slapd.conf
14
15 ## databases (default all): either a space separated list of database
16 ## numbers or prefixes, or the keyword 'all'.
17 # databases = all
18
19 ## compress (default yes): if set to yes, ldif exports are gzipped.
20 # compress = yes
21
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
25 # restart = no
26
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
30 ## restart set to yes
31 ## NOTE: with the ldapsearch method passwordfile and binddn need to be set
32 # method = ldapsearch
33
34 ## passwordfile (no default): this should be set to the file that contains 
35 ## your ldap password, this is required for ldapsearch and not needed for slapcat
36 ## this file should have no newlines in it, echo -n "password" > passfile works.
37 ## NOTE: be sure to set the permissions on your password file appropriately
38 ## (hint: world readable is not appropriate)
39 # passwordfile = 
40
41 ## binddn (no default): set this to the DN of the user that the ldapsearch binds
42 ## to, not needed for slapcat
43 # binddn =
44