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

Re: AW: Backup && Restore



Many thanks,
without your kind advice I wouldn't have even noticed. Do you sometimes trust other people that they can read too and that there questions might have somewhat deeper reasons ?


--JF

Am Montag den, 14. Januar 2002, um 15:55, schrieb Jurgen Hotzel:

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