Transfer to new server
Gunnar Wrobel
wrobel at pardus.de
Thu Feb 25 16:56:09 CET 2010
Quoting Gavin McCullagh <gavin.mccullagh at gcd.ie>:
> On Mon, 22 Feb 2010, Paul Douglas Franklin wrote:
>
>> 1) Create a brand-new install of kolab on a new box.
>> 2) Add my domains and other items as needed on the settings page.
>> 3) (on the old server) /kolab/sbin/slapcat-l kolab-ldap.ldif and edit
>> the .ldif file down to just the users I want to transfer.
>> 4) (on the new server) /kolab/sbin/slapadd -l kolab-ldap.ldif
>> 5) rsync /kolab/var/imapd/spool from old to new.
>> 6) (as kolab-r on the old box) /kolab/bin/ctl_mboxlist -d >mailboxlist.txt.
>> 7) (as kolab-r on the new box) /kolab/bin/ctl_mboxlist -u <mailboxlist.txt
>
> I'm in the middle of something similar from a kolab v1 setup. It's worth
> also noting that you may need to transfer quotas and that you almost
> certainly want to transfer the .seen information from
> /kolab/var/imapd/domain/. We're migrating from a hacked multi-domain
> setup and translating from <username> as uid to <username>@<domain> so we
> have to pull some extra tricks but I imagine that's not an issue for you.
>
>> The first is that when I ran slapcat -l on the new server to verify what
>> I had put in there (prior to trying slapadd), it seems to have given
>> Horde a problem. The Horde login screen is blank--when I go to
>> https://FQDN/client, it brings up https://FQDN/client/imp/login.php with
>> a blank screen. Horde was fine immediately before I ran slapcat.
>
> I think there is a bug in kolab currently which causes this issue (and not
> relating to your migration). If you delete the cookies relating to your
> kolab server all should be well.
>
> This bug is a bit of a pain to be honest and one I may have to track down
> before we can migrate.
All I know so far is that it is probably Kolab specific and likely
linked to the loading of incorrect session data. So if you hit the
problem a simple "var_dump($_SESSION);" right after the session has
been reloaded might give some valuable information.
Cheers,
Gunnar
>
>> The second is that I see on the "Backups for Kolab 2" wiki that I should
>> back up annotations.db. I don't see a way to do this other than by
>> copying, and there are changes from old to new such that I doubt that a
>> simple copy would do the job.
>
> I'm not sure about annotations.db to be honest.
>
> Gavin
>
> _______________________________________________
> Kolab-users mailing list
> Kolab-users at kolab.org
> https://kolab.org/mailman/listinfo/kolab-users
>
--
______ http://kdab.com _______________ http://kolab-konsortium.com _
p at rdus Kolab work is funded in part by KDAB and the Kolab Konsortium
____ http://www.pardus.de _________________ http://gunnarwrobel.de _
E-mail : p at rdus.de Dr. Gunnar Wrobel
Tel. : +49 700 6245 0000 Bundesstrasse 29
Fax : +49 721 1513 52322 D-20146 Hamburg
--------------------------------------------------------------------
>> Mail at ease - Rent a kolab groupware server at p at rdus <<
--------------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digitale PGP-Unterschrift
URL: <http://lists.kolab.org/pipermail/users/attachments/20100225/8e5c7779/attachment.sig>
More information about the users
mailing list