[Date Prev][Date Next]
Re: Fastest way to delete entire DB and reload its LDIF ? <EOM>
I would recommend slight changes:
> Quoting Paul Duffy <firstname.lastname@example.org>:
> 1. Shutdown slapd
> 2. Cd to your database directory
2. Cd to your database directory/..
> 3. ldbmcat -n database directory/id2entry.dbb > /tmp/full_database.ldif
> 4. rm *
mv database-directory database-directory.old
> 5. ldif2ldbm -i /tmp/full_database.ldif
> 6. Start slapd
> Beware though, if your database isn't in full working order,
> it might 'mess up things'...
Never burn your bridges, unless you are prepared to suffer the consequences.