diff options
author | Micah Anderson <micah@riseup.net> | 2005-04-21 18:47:57 +0000 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2005-04-21 18:47:57 +0000 |
commit | 4924d343a42e02af4d5af66571ce3a4d65ad22d6 (patch) | |
tree | 0982db0b5071cb6da66deb263b394c1253e02ed4 /etc | |
parent | 0528f46c8cb72310ac44ff17efc67dcaad0f7e25 (diff) | |
download | backupninja-4924d343a42e02af4d5af66571ce3a4d65ad22d6.tar.gz backupninja-4924d343a42e02af4d5af66571ce3a4d65ad22d6.tar.bz2 |
Added enhanced options to ldap handler
Diffstat (limited to 'etc')
-rw-r--r-- | etc/backup.d/example.ldap | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/etc/backup.d/example.ldap b/etc/backup.d/example.ldap index 4491d12..ab48ad1 100644 --- a/etc/backup.d/example.ldap +++ b/etc/backup.d/example.ldap @@ -18,3 +18,26 @@ ## 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 +# 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 = + |