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

Re: online backup with slapcat?

--On Sunday, February 27, 2005 7:57 PM -0600 fuser9bb@hotpop.com wrote:

I am using openldap-2.2.15 on RHES3. We run an online backup of our LDAP
server each night based on the output of ldapsearch. However, we are
considering an offline backup using slapcat using:

stop slapd
start slapd

I like slapcat because it's fast and can be used to backup internal slapd
attributes. However, the caveat to using slapcat is that it only works
against a database that is closed.

Some questions:

1. is there a way to run slapcat against a live system, i.e., to perform
an online backup?

2. if not, can we get near-slapcat speed and all of the internal
attributes that slapcat can backup using ldapsearch or a comparable tool?

3. is there an even better way to backup openldap databases?

I suggest searching the archives, as it is quite possible to slapcat the DB without shutting down slapd in OL 2.2, depending on the backend you use.


Quanah Gibson-Mount
Principal Software Developer
ITSS/Shared Services
Stanford University
GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html

"These censorship operations against schools and libraries are stronger
than ever in the present religio-political climate. They often focus on
fantasy and sf books, which foster that deadly enemy to bigotry and blind
faith, the imagination." -- Ursula K. Le Guin