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.
LDAP_CONFIG_PASSWORD: root password for cn=config
slapcat -b cn=config > $CONFIG_BACKUP_FILE
slapcat > $BACKUP_FILE
/var/lib/openldap/restore-config.sh $CONFIG_BACKUP_FILE
/var/lib/openldap/restore.sh $BACKUP_FILE
Content type
Image
Digest
sha256:e9de2328c…
Size
27.7 MB
Last updated
over 2 years ago
docker pull procube/openldap