[Date Prev][Date Next]
Re: Trying to restore ldap database
Campbell McKilligan wrote:
> I have an image on CDs of all the partitions from a RedHat 8.0 Server
> which crashed - includes /etc/openldap /var/lib/ldap and so on.
> Unfortunately it doesn't include a very recent ldif dump.
> The ldap running on the server was:
> openldap... 2.0.25-1
> The new server is Fedora Core 1 running:
> openldap... 2.1.22-8
> The ldap service is up and running fine.
> Is there a way to populate/migrate the new server with the records from
> the old server? I can install the previous version of openldap if there
> is more hope of doing it that way.
> A quick glance at the /var/lib/ldap directory shows me that the old
> server had .gdbm files and the new one seems to be creating .dbb files.
2.1.22-8 should contain:
Which, if you place the configs and the data files back where they were,
may be able to give you an ldif dump, which you should import with slapadd.
Senior Support Technician