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

RE: backing up: slapcat vs. ldapsearch vs. db_checkpoint

I read some of the postings on backups using slapcat and wondering if I
am doing this correctly. I'm currently using ldbm as a backend to
OpenLDAP. I've used slapcat without shutting down slapd, to an ldif
file. Should I not be doing that? 

With all the recent posts regarding ldbm vs. Berkeley DB I decided to
try an installation an OpenLDAP installation and restore with Berkeley
DB 4.2.52. I will probably switch to this over the summer.

What I used:

OpenLDAP 2.1.29
Berkeley 4.2.52
Slackware 9.1

Everything compiled and installed correctly.The restore using slapadd
seems OK also.

Am I missing something about doing backups differently with an ldbm
database vs. Berkeley DB?

On Wed, 2004-04-07 at 11:55, Kirk A. Turner-Rustin wrote:
> On Wed, 7 Apr 2004, oclc ldap wrote:
> > If you are using back-bdb, you do not need to stop slapd in order
> > to run slapcat.
> > 
> > Does this apply to a read/write copy of the bdb. I am using
> > openldap-2.1.25
> > BerkeleyDB.4.2
> > 
> > Thanks much.
> Yes, it does. See this FAQ entry (third paragraph up from the bottom)
> for more info:
> http://www.openldap.org/faq/index.cgi?_highlightWords=backbdb%20slapcat&file=756
Kent L. Nasveschuk <kent@wareham.k12.ma.us>