[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
backup and restore
Hi everyone,
i'm new to LDAP and i've read the LDAP howto as well as a few
administration guides. i've implemented authentication via LDAP and it
works very well.
i've run into a problem and i'm not sure i have all the facts. i am
trying to move my LDAP database from one machine to another.
here's my command list:
service ldap stop
slapcat -f /etc/openldap/slapd.conf -l backup.ldif
service ldap start
i move the backup.ldif and slapd.conf file to the other computer, then:
slapadd -f /etc/opendldap/slapd.conf -l backup.ldif
(i get no errors here, i'm assuming all went well).
service ldap start
(again, no errors)
however, now it seems that there is no data in the new database.
did i use the wrong commands for this operation? is there a better way?
also, what is the best way to blow away a LDAP database on a machine?
also, i'm using ldbm.
thanks everyone!
Ron McKown
rmckown@envenergy.com