Hi,
Hi,
I have slapd and a large database going with it. Are there any
recommended procedures for backup and restore ? Does only the
/var/lib/ldap (the database directory) need to be backed up
Yes, this is the default path when using the ldbm backend:
,----[ /etc/openldap/slapd.conf ]
|
|
#######################################################################
| # ldbm database definitions
|
#######################################################################
|
| database ldbm
| directory /var/lib/ldap
`----
to tape ? Is
it recommended to stop slapd for the time of the backup ?
I use the this command to make a backup (ldif output) on redhat-7.2:
/etc/init.d/ldap stop; /usr/sbin/slapcat >~/slapcat-`date
+"%Y-%m-%d"`.ldif;/etc/init.d/ldap start
Juergen