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

Re: dumping the directory



If you use `slapcat' to dump the directory, you can rebuild it using
`slapadd'.
	-JP


On Wed, 10 Jul 2002, Aaron Anderson wrote:

> SIZELIMIT in ldap.conf is commented out, so that's not the issue.  Now the
> problem is that when I do the directory dump, it's not hierarchal, therefore
> I can't use it to rebuild the directory if it's required without
> manipulating the file.  Is there a way to sort the output so that I could
> use ldapadd -f dump.ldif to rebuild a directory?
>
> thanks,
>
> Aaron
>
> ----- Original Message -----
> From: "David Wright" <ichbin@shadlen.org>
> To: "Aaron Anderson" <aaron@echostar.ca>
> Cc: <openldap-software@OpenLDAP.org>
> Sent: Wednesday, July 10, 2002 7:50 PM
> Subject: Re: dumping the directory
>
>
> >
> > > I would like to dump the entire contents of my directory to a LDIF file.
> >
> > slapcat -v > output.ldif
> >
> > Be sure slapd isn't running when you do this. ldapsearch probably
> > doesn't return everything because you have set a SIZELIMIT in ldap.conf.
> >
> >
>
>