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

Backup: slapcat starts with entry in the middle -> no parent when restoring

I'm trying to backup my ldap-database using slapcat.


root@machine:/# /etc/init.d/slapd stop 
Stopping ldap server(s): slapd.
root@machine:/# /usr/local/sbin/slapcat -v -f  \
   /usr/local/etc/openldap/slapd.conf -l /home/timo/db.ldif  \
   > /home/timo/out.txt
root@machine:/# /etc/init.d/slapd start
Starting ldap server(s): slapd.

I get a ldif file that starts with an entry in the middle of the 
structure of my db, so that slapadd will fail if I try to reimport the
db because the parent entries will not be there.

What am I doing wrong? Any Ideas?

Thanks for your help

Timo Boettcher