Backup/restore process

Paul Douglas Franklin pdf at yugm.org
Tue May 20 19:55:39 CEST 2008



Alain Spineux wrote:
>>
>> I found the problem with DB_CONFIG.  It has been erased by
>>
>> rm -rf /kolab/var/openldap/openldap-data/*
>>
>> Now I would like to know what does and what does not need to be erased.
>> * is too much, but what is enough?
>>
>>
>> When I run slapcat to do a backup, I also take a copy of DB_CONBIG file
>> BUT also a copy of slapd.conf and slapd.access because these
>> two files _could_ be corrupted by kolabd. And these files need to
>> exist to be regenerated by kolabd (the problem of the  chicken or the egg )
>>
>> I made some changes to the wiki
>>
>>
>>
>> Thank you.  I'll add that.  I see you didn't add the backup of slabd.conf
>> and slapd.access.  Do I understand that it is probably not necessary but
>> might be needed as backup?
>>     
>
> I dont understant your question! Did you read last version of the wiki ?
>
>   
I did in part.  Here is what I was responding to:
****
LDAP recovery should be simple too:
cp /kolab/var/openldap/openldap-data/DBCONFIG /tmp/
rm -rf /kolab/var/openldap/openldap-data/*
cp /tmp/DBCONFIG /kolab/var/openldap/openldap-data/
****
I did miss the part earlier where you tell us to back up the three 
files.  I have now read it and it makes sense.
Thank you for your assistance.
--Paul

-- 
Paul Douglas Franklin
Computer Manager, Union Gospel Mission of Yakima, Washington
Husband of Danette
Father of Laurene, Miriam, Tycko, Timothy, Sarabeth, Marie, Dawnita, Anna Leah, Alexander, and Caleb




More information about the users mailing list