[Date Prev][Date Next]
Re: Deleting a database
I have found that rebuilding my database often is the most reliable way
to keep it in sync. It takes less than 3 minutes with ~15K accounts, so
no big problem. I simply move the * .dbb files in my db directory to
another location as backup, just in case. Then rebuild the *.dbb files
with slapadd, this indexes the new db at the same time.
On Fri, 2003-01-10 at 23:18, Pieter De Wit wrote:
> Hello Everyone,
> I have tried to get hold of the General List, but can't seem to get there.
> Sorry if this is off-topic.
> I need to delete all entries in my ldap database (using a shell script,
> something like ldapsearch/ldapdelete). I have a lot of changes that happen
> to my database and once a week I would like to rebuild the database. I
> import/process the data from another ldap server (exchange) so the re-create
> isn't a big problem (but replication is.....).
> Pieter De Wit
Staff Systems Programmer
Rensselaer Polytechnic Institute
phone: 518 276-6415 fax: 518 276-2809