[Date Prev][Date Next]
Re: How to backup/restore on remote servers
> 1. Stop the LDAP/Samba service.
> 2. TAR the /var/lib/ldap and copy to another machine
> 3. Turn off the first server
> 4. Turn on the second server (identical network, IP, configuration -
> it's a VM clone)
> 5. mv /var/lib/ldap /var/lib/ldap-bak
> 6. Untar the /var/lib/ldap
> 7. I certified that user/permissions were identical (openldap:openldap)
> 7. Turn the samba/ldap server on.
> When I try to access the users via web interface (ebox), I got a
> complete machine halt :((
> Even tty stopped to work.
> PS: I did not copy the slapd.conf because they were identical.
> Probably some configuration is missing.
> Does somebody have any glue on how to copy an entire LDAP
> database/configuration ?