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

Re: slapcat

On Thu, 6 Sep 2001, Markus Storm wrote:

> can I safely run slapcat while running slapd?
> The manpage says no, but I guess the author just used slapadd/delete's 
> manpage as a template.
> I'd understand the output LDIF might be corrupted, but can it really 
> corrupt the database ?

The problem is that, while slapd is running, there is the possibility that
not all the data in the system is written to disk when you run slapcat - the
database may be in an inconsistent state.

This isn't OpenLDAP specific - perhaps it doesn't suffer from this problem. 
But my solution is to not take the chance, and just stop slapd if you need
to slapcat.

#include <disclaimer.h>
Matthew Palmer