Skip to content

Instantly share code, notes, and snippets.

@maethor
Created October 8, 2013 14:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save maethor/6885944 to your computer and use it in GitHub Desktop.
Save maethor/6885944 to your computer and use it in GitHub Desktop.
Backupninja LDAP helper for Debian (without using slapd.conf)
##
## configuration file for openldap backups
##
## Only support "slapcat" method.
## 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
# backupdir = /var/backups/ldap
## 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.
# restart = no
## suffixes: a space separated list of suffixes
# suffixes =
## compress (default yes): if set to yes, ldif exports are gzipped.
# compress = yes
## 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.
# restart = no
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment