Thursday, July 21, 2011

Migrating Zimbra 6 to Zimbra 7

I have a Zimbra 6.0.13 server running on a 32 bit CentOS 4 box. The goal is to migrate it Zimbra 7.1.1 on 64 bit CentOS 6.

I have got a bare installation of Zimbra 7.1.1 running on a CentOS 6 VM. I reused the /opt/zimbra/config.#### file from the old server to do a "kickstart" installation. The config file required a couple of tweaks. First of all, rpm package installs will fail if apache-core is not the first package listed in the set of packages that are to be installed. You also need to switch to a non-upgrade install, and add a quarantine account -- all of that belongs in the config file. You can simply run the installation once, let it fail, but it will create an updated config file. Then grab the config file before it disappears once you uninstall, and tweak with all the new settings now visible.

I have tried the direct migration path using admin console's migration wizard on Zimbra 7. It works great to copy user accounts over, but it uses LDAP and is very lossy when moving mailbox data. Thus I used the wizard to pre-provision user accounts, and then did zmztomig to move individual mailboxes over. This retains most of the things, save for aliases, shared calendars, and such miscellany.

It turns out that the migration-by-updates across 32-to-64 bits and then up the versions is a bit tedious. Our server has been in constant upgrade treadmill since very early Zimbra versions, and there is some cruft in the settings that one has to fight with on every update. It wasn't worth it.

I've ended up copying the account list using the migration system, followed by filters and account contents using export/import.

1 comment:

  1. hi! any updates?
    Im about to do the same exact thing!
    Please keep us posted :)
    Thank you!

    ReplyDelete