Repair without loosing info

Stephan Buys list at codefusion.co.za
Thu Oct 28 15:29:43 CEST 2004


Hi Jeffrey,

On Thursday 28 October 2004 15:20, Jeffrey Walls wrote:
> Since noone can tell me why I can't get past pth not compiling when I try to 
> update to the latest Kolab, I guess I need to go another direction.
> 
> Can you point me to the docs that help me to backup my ldap data (slapcat?) 
> and restore it, and what happens to my cyrus mailboxes and mailbox structures 
> (additional mail storage folders created by users)?
> 
Use /kolab/sbin/slapcat to get a copy of the ldap database.  You can use slapadd
to reload the database.

If you are running zfos kolab or kolab2 you can just use $ctl_mboxlist -d > myfile.dump
to backup the cyrus mailbox list and use the same utility to recreate the mailboxes.db
file...

Of course backing up everything in /kolab/var/imapd/spool/ as well...

> I suppose I will have to do a total new install, and then try to recover 
> everything. 
>
Do you have an extra machine? I would suggest doing a dry-run first before deleting
your old Kolab. (I guess it depends on your environment)...
 
> Any other easier suggestions will be welcome.

Regards,
-- 
Stephan  Buys
Code Fusion cc.
Tel: +27 11 673 0411
Mobile: +27 83 294 1876
Email: s.buys at codefusion.co.za

E-mail Solutions, Kolab Specialists.
http://www.codefusion.co.za




More information about the users mailing list