I have an LDAP server running using Apache Directory Server 1.5.7. How do I backup & restore the data?

  • I'm not familiar with Apache DS, but same to LDAP, you can export to a ldif file and copy to backup server. – quanta Sep 30 '11 at 5:29

Apache Directory Server doesn't appear (from the currently incomplete documentation) to have any integrated backup and restore mechanism.

In this scenario you could do a couple of things:

  • Stop the LDAP server before backing up its files, then restarting. This involves downtime though.
  • Take a snapshot of the filesystem and backup the snapshot. Obviously this depends upon what filesystem is in use. It also depends upon ADS being able to recover when starting with files that were in use at the time of the backup.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.