[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: slapd-config(5) Disaster Recovery - Best Practices?

gruntler-ldap@yahoo.com wrote:


I am considering migrating from a monolithic slapd.conf file to the newer DIT slapd-config(5).

My primary concern is how to recover if a dynamic change brings down slapd
so it becomes difficult to recover since the configuration is in a database
and slapd will not start.

Is it as simple as making a slapcat backup of the configuration database
some other backup of the configuration database that resides in the slapd.d
directory) prior to making changes so that a roll-back would consist of
replacing the contents of the slapd.d directory? Or is there some other
recovery method that is preferred?

Just use slapcat.

  -- Howard Chu
  CTO, Symas Corp.           http://www.symas.com
  Director, Highland Sun     http://highlandsun.com/hyc/
  Chief Architect, OpenLDAP  http://www.openldap.org/project/