[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Backing up LDAP database
Andrew Kemp wrote:
> > The "proper" way to do a back up is to:
> > 1) shutdown slapd
> > 2) copy database using either
> > a) cp -r dbdir savedir
> > or
> > b) cp dbdir/id2entry.* savedir
> > 3) restart slapd
> >
> > You can generate an LDIF from the copy if you desire, but I
> > generally just archive a copy if id2entry.
>
> BTW, if you have the id2entry copy and you have a failure, which tools
> do you use to recover to a workable database ? ie: build all indexes, etc?
ldbmcat and ldif2ldbm.
Kurt