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

Re: it says that I need to copy the databes to the replica



You need to copy the contents of the openldap-data directory (or whatever
you've called it), all the files, to the openldap-data directory of the
slave.
Shut down the master slapd before you copy the files.

Guy Durand said:
> when trying to build a backup OpenLDAP server but I don't know which
> file to copy.
>
> I'm using Debian's openLDAP with the unstable release on an AMD box.
>
> I looked in the /var/lib/ldap directory and there seem to be different
> .db files (sn.db, uid.db, etc...)  I wanted to know which one should I
> copy over to the replica server?
>
> Am I looking in the wrong place?
>
> Badiane


===========
Alan Sparks, UNIX/Linux Systems Administrator    <asparks@doublesparks.net>