[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: How to slapadd cn=config
Hi Howard!
> Exactly the same way as you slapcat'd it.
I don't actually understand ... ??
> What was the exact command line you used for slapcat?
slapcat -b 'cn=config'
(IIRC)
Regards,
Torsten
On Tue, 21 Sep 2010 03:50:34 -0700, Howard Chu <hyc@symas.com> wrote:
> Torsten Schlabach (Tascel eG) wrote:
>> Dear list!
>>
>> If I have an LDIF backup of a cn=config database, taken with slapcat,
how
>> would I use it to bootstrap a new server, for example, in a desaster
>> recovery setting?
>>
>> I tried it and slapadd required a configuration, but cn=config *is* the
>> configuration and I am trying to restore it. So this is a bit of a
>> chicken
>> and egg problem, isn't it?
>
> It looked that way, when we started designing this 4 years ago. But yes,
> we
> have a solution.
>
>> Is there an "official" way of doing that?
>
> Exactly the same way as you slapcat'd it. What was the exact command
line
> you
> used for slapcat?
>
> --
> -- Howard Chu
> CTO, Symas Corp. http://www.symas.com
> Director, Highland Sun http://highlandsun.com/hyc/
> Chief Architect, OpenLDAP http://www.openldap.org/project/