Backup/restore process
Alain Spineux
aspineux at gmail.com
Mon May 19 13:50:59 CEST 2008
On Mon, May 19, 2008 at 12:19 AM, Paul Douglas Franklin
<kolab at paulfranklin.org> wrote:
> I tried the backup/restore process again. I ran into two problems:
> 1) When it runs the line:
> su - kolab-r -c "/kolablbin/ctnl_mboxlist -u" <
> /oldserver/backup/imapd/mailboxlist.txt
> it returns the result:
> fatal error: can't read mailboxes file.
check the owner and rights on files in /kolab/var/imap directory
> 2) An update on the same problem I had last week:
>
> Paul Douglas Franklin wrote:
>> When I ran
>>
>> rm -rf /kolab/var/openldap/openldap-data/*
>> /kolab/sbin/slapadd -l backup/ldap/kolab-ldap.ldif
>>
>> it gave me the following:
>>
>> Warning: no DB_CONFIG file found in directory: /kolab/var/openldap.
>>
>>
> 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
>
> Finally, I occurs to me that I may be going about this the wrong way.
> My intention is to upgrade without subjecting my working Kolab box to
> the danger of my fumble fingers. Would it be better to install the same
> version on the new drive, transfer the data in, and then upgrade?
I don't thing so. The move of the data will stay the same.
You didn't say at first you wanted to upgrade.
Don't forget to read the 1st.README files for upgrade insructions.
And try to mix these instructions in the restore procedure. (usualy
they are nothing special to do)
>
> And I wonder: Once Kolab has been installed and I want to restore data
> from the former installation, is there a reason not simply to copy the
> entire /kolab directory from the former installation to the new
> location, instead of doing it piecemeal?
It depend ! Is it a hardware, an OS, or a kolab upgrade ?
>
> --Paul
>
> --
> "Democracy is two wolves and a lamb voting on what to have for lunch.
> Liberty is a well-armed lamb contesting the vote."
> -- Benjamin Franklin, 1759
>
> _______________________________________________
> Kolab-users mailing list
> Kolab-users at kolab.org
> https://kolab.org/mailman/listinfo/kolab-users
>
--
Alain Spineux
aspineux gmail com
May the sources be with you
More information about the users
mailing list