Sign inSign up

procube/openldap

By procube

Updated over 2 years ago

Openldap with restore scripts

Image
0

676

procube/openldap repository overview

Openldap with restore scripts

The slapd must be stopped to restore from the ldif file output by slapcat. Therefore, we developed a script that stops slapd and then restores it by letting supervisord control slapd.

Environment Variable

LDAP_CONFIG_PASSWORD: root password for cn=config

Backup

Config
slapcat -b cn=config > $CONFIG_BACKUP_FILE
Data
slapcat > $BACKUP_FILE

Restore

Config
/var/lib/openldap/restore-config.sh $CONFIG_BACKUP_FILE
Data
/var/lib/openldap/restore.sh $BACKUP_FILE

Tag summary

Content type

Image

Digest

sha256:e9de2328c

Size

27.7 MB

Last updated

over 2 years ago

docker pull procube/openldap