Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

share|improve this question
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.
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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