X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=etc%2Fbackup.d%2Fexample.ldap;h=adc1fcd039affb78a9f13db3a4ff372d8e165f0b;hb=1645c0c8572abe98f4d92d951ad3482b15cd4db4;hp=ab48ad1e840740d079b64a75d6fd56e596e26f6a;hpb=4924d343a42e02af4d5af66571ce3a4d65ad22d6;p=matthijs%2Fupstream%2Fbackupninja.git diff --git a/etc/backup.d/example.ldap b/etc/backup.d/example.ldap index ab48ad1..adc1fcd 100644 --- a/etc/backup.d/example.ldap +++ b/etc/backup.d/example.ldap @@ -1,9 +1,10 @@ ## ## configuration file for openldap backups ## -## The LDIFs generated are suitable for use with slapadd. As the -## entries are in database order, not superior first order, they -## cannot be loaded with ldapadd without being reordered. +## If the method is set to "slapcat", the LDIFs generated are +## suitable for use with slapadd. As the entries are in database +## order, not superior first order, they cannot be loaded with +## ldapadd without being reordered. ## ## backupdir (default /var/backups/ldap): the destination for the backups @@ -19,15 +20,16 @@ ## compress (default yes): if set to yes, ldif exports are gzipped. # compress = yes -## restart (default no): if set to yes, slapd is restarted before backups are +## restart (default no): if set to yes, slapd is stopped before backups are ## performed, and then started again after they have finished, this is necessary -## if your backend is ldbm and your method is slapcat, but unnecessary otherwise +## if your backend is ldbm and your method is slapcat, but unnecessary otherwise. # restart = no ## method (default ldapsearch): either 'ldapsearch' or 'slapcat' ## ldapsearch is the safer method to do backups, but is slow, slapcat ## is much faster, but should not be done on an ldbm backend unless you have ## restart set to yes +## NOTE: with the ldapsearch method passwordfile and binddn need to be set # method = ldapsearch ## passwordfile (no default): this should be set to the file that contains