mysql: No longer prepend vroot to the backupdir.
[matthijs/upstream/backupninja.git] / examples / example.ldap
1 ##
2 ## configuration file for openldap backups 
3 ##
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.
8 ##
9
10 ## backupdir (default /var/backups/ldap): the destination for the backups.
11 ## This variable is interpolated, see backup.d (5) for which variables are
12 ## available.
13 # backupdir = /var/backups/ldap
14
15 ## conf (default /etc/ldap/slapd.conf): the location of the slapd.conf file.
16 # conf = /etc/ldap/slapd.conf
17
18 ## databases (default all): either a space separated list of database
19 ## numbers or prefixes, or the keyword 'all'.
20 # databases = all
21
22 ## compress (default yes): if set to yes, ldif exports are gzipped.
23 # compress = yes
24
25 ## restart (default no): if set to yes, slapd is stopped before backups are
26 ## performed, and then started again after they have finished, this is necessary
27 ## if your backend is ldbm and your method is slapcat, but unnecessary otherwise.
28 # restart = no
29
30 ## method (default ldapsearch): either 'ldapsearch' or 'slapcat' 
31 ## ldapsearch is the safer method to do backups, but is slow, slapcat
32 ## is much faster, but should not be done on an ldbm backend unless you have
33 ## restart set to yes
34 ## NOTE: with the ldapsearch method passwordfile and binddn need to be set
35 # method = ldapsearch
36
37 ## passwordfile (no default): this should be set to the file that contains 
38 ## your ldap password, this is required for ldapsearch and not needed for slapcat
39 ## this file should have no newlines in it, echo -n "password" > passfile works.
40 ## NOTE: be sure to set the permissions on your password file appropriately
41 ## (hint: world readable is not appropriate)
42 # passwordfile = 
43
44 ## binddn (no default): set this to the DN of the user that the ldapsearch binds
45 ## to, not needed for slapcat
46 # binddn =
47
48 ## ldaphost (no default): set this to your ldap host if it is not local
49 # ldaphost =
50
51 ## tls (default yes): if set to 'yes' then TLS connection will be
52 ## attempted to your ldaphost by using the URI base ldaps: otherwise ldap: will be used
53 # tls = yes
54 #
55 # vsnames (no default): What vservers to run in (only used if vservers are
56 # enabled in /etc/backupninja.conf). If this is left empty, run in the host.
57 # vsnames = all | <vserver1> <vserver2>