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

Re: SV: Dump out a ldap?



>I run Openldap under Windows NT 4.0 so I don´t have "man"  ;)

The ldapsearch method won't work unless your sizelimit is greater than the
number of objects in your Dit.  slapcat is the correct way to do this, if there
is a good way.  LDIF is a bad way to backup.  2.1.x should be backed up the
Berkley way.  With 2.0.x just stop the DSA, tar /var/lib/ldap (or whatever) and
restart the DSA.
 
>Larsson> Is there a good way to dump a whole ldap into a .ldif
>Larsson> file ? > 
>man slapcat