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

Re: back up for ldap ...



On Fri, 10 Aug 2001 Sovan_Shatpathy@satyam-infoway.com wrote:

>         Can anyone tell me as to if  there  is any standard procedure which
> needs to be adopted for taking back up of ldap?
> The context being , if in case there is any problem in the exsisting ldap set up
> and there is a need to rebuild from the scratch.

Stop slapd, then:

slapcat > /tmp/ldap.ldif
tar cf /tmp/ldap_backup.tar /etc/ldap /tmp/ldap.ldif

Which will give you a full LDIF of your database in /tmp, then create a tar
file with that ldif and your LDAP server config.


-- 
-----------------------------------------------------------------------
#include <disclaimer.h>
Matthew Palmer
mjp16@ieee.uow.edu.au