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

Re: online backup with slapcat?



On Sun, 2005-02-27 at 18:16 -0800, Quanah Gibson-Mount wrote:
> 
> --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
> > slapcat
> > 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.
----
FAQ at openldap.org

<http://www.openldap.org/faq/data/cache/287.html>

Craig