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

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

On Wed, 7 Apr 2004, oclc ldap wrote:

> This is with reference to an earlier discussion
> http://www.openldap.org/lists/openldap-software/200402/msg00486.html
> I use ldapsearch to generate an ldif file with the following command
> ldapsearch -x -LLL -D "cn=admin1,dc=oclc,dc=org" -W
> -b "dc=oclc,dc=org" "(objectClass=*)" '*' '+' > output.ldif
> I am planning to use this temporarily as my backup ldif since I cannot bring
> down slapd every night to do slapcat. I will use slapadd to reload the bdb.

If you are using back-bdb, you do not need to stop slapd in order
to run slapcat.

Kirk Turner-Rustin
Information Systems
Ohio Wesleyan University