X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=etc%2Fbackup.d%2Fexample.ldap;h=c35081bfe9dd99cdaf731b55c05956a99b053aea;hb=72e56ec106acee747b771b0f0d0607c73a4788c2;hp=4491d12f02d57473c79993c8d0a736f5b26e2e82;hpb=ef78e14b29df0a9f010c3c2a07572bef5668d079;p=matthijs%2Fupstream%2Fbackupninja.git diff --git a/etc/backup.d/example.ldap b/etc/backup.d/example.ldap index 4491d12..c35081b 100644 --- a/etc/backup.d/example.ldap +++ b/etc/backup.d/example.ldap @@ -18,3 +18,27 @@ ## 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 +## 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 +# 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 +## your ldap password, this is required for ldapsearch and not needed for slapcat +## this file should have no newlines in it, echo -n "password" > passfile works. +## NOTE: be sure to set the permissions on your password file appropriately +## (hint: world readable is not appropriate) +# passwordfile = + +## binddn (no default): set this to the DN of the user that the ldapsearch binds +## to, not needed for slapcat +# binddn = +