2

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

Jason S
  • 616
  • 1
  • 16
  • 28
  • 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 05:29

1 Answers1

1

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.
hmallett
  • 2,425
  • 14
  • 26