Migration Options

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
Martinwiertz
Advanced member
Advanced member
Posts: 85
Joined: Sat Sep 13, 2014 3:55 am
Location: The Netherlands
ZCS/ZD Version: V10 FOSS Intalio on Ubuntu20.04

Re: Migration Options

Post by Martinwiertz »

Hi guys,

As a simple private FOSS user I would like to migrate my old 8.8.9 server to 8.8.10. I use licensed Zimbra Suite Plus to realtime backup my "old" server.
What is the best approach?

1 - Install Suite Plus on new server (suite plus is not compatible yet, I'll have to wait)
2 - Suite plus restore via the new server and admin GUI (import backup)

or use Zextras Migration tool

Please advice
User avatar
pup_seba
Outstanding Member
Outstanding Member
Posts: 687
Joined: Sat Sep 13, 2014 2:43 am
Location: Tarragona - Spain
Contact:

Re: Migration Options

Post by pup_seba »

Hi,

"As a simple private FOSS user I would like to migrate my old 8.8.9 server to 8.8.10."
If you really are a "simple private FOSS user", I would recommend to hire a qualified partner to do it for you. Also, do you really need to migrate or can't you just upgrade in place?

"I use licensed Zimbra Suite Plus to realtime backup my "old" server. What is the best approach?"
I would recommend to you to directly buy ZeXtras Backup from ZeXtras, that way you make sure you get the support directly from the people developing the solution. Technically speaking, best approach is to perform an incremental migration with the zextras tool. Google it.

"1 - Install Suite Plus on new server (suite plus is not compatible yet, I'll have to wait)"
Not true. https://wiki.zextras.com/wiki/Changelog

2 - Suite plus restore via the new server and admin GUI (import backup)
I usually restore using command line. Search for the "zextras incremental migration" document and take a look at it.

Best regards,
User avatar
axslingr
Outstanding Member
Outstanding Member
Posts: 256
Joined: Sat Sep 13, 2014 2:20 am
ZCS/ZD Version: 8.8.15.GA.3869.UBUNTU18.64 UBUNTU18

Re: Migration Options

Post by axslingr »

As long as you are staying with the same flavor of Linux, ie Ubuntu > Ubuntu or CentOS > CentOS, all you need is the /opt/zimbra directory and the ldap database, the exact same Zimbra version, and for the new server to have the same hostname and ip as the old. I've done this many times without issue.

Old server:

Code: Select all

rsync -avHK --delete --exclude 'data.mdb' /opt/zimbra /some/backup/directory/
/opt/zimbra/common/bin/mdb_copy /opt/zimbra/data/ldap/mdb/db /some/backup/directory/
New server:
Install the exact same version of Zimbra but with the -s switch

Code: Select all

./install.sh -s
Once install is done, delete the resulting /opt/zimbra directory

Copy the backup to new server

Code: Select all

rsync -avHK --delete /some/backup/directory/zimbra /opt/
cp /some/backup/directory/data.mdb /opt/zimbra/data/ldap/mdb/db
chown zimbra:zimbra /opt/zimbra/data/ldap/mdb/db/data.mdb
Now install Zimbra again in normal mode and the installer will perform an "upgrade" to finish setting up the server.

Code: Select all

./install.sh
Martinwiertz
Advanced member
Advanced member
Posts: 85
Joined: Sat Sep 13, 2014 3:55 am
Location: The Netherlands
ZCS/ZD Version: V10 FOSS Intalio on Ubuntu20.04

Re: Migration Options

Post by Martinwiertz »

Thanks guys! I”ll try to install like you suggested.

The command line of Zimbra Suite plus stops with a incompatibel notice. Zextras.com is different from suite plus. Suite plus 2.6.7 is from july 2018. I created a support ticket.
yellowhousejake
Advanced member
Advanced member
Posts: 129
Joined: Tue Sep 09, 2014 9:57 am
ZCS/ZD Version: Release 10.0.1.GA.4518.UBUNTU20_64

Re: Migration Options (Completed)

Post by yellowhousejake »

This is a very late update. Several priority projects got in the way and this was delayed until last week.

I followed the suggestions here and our migration to the 8.8NE went well, some minor issues I will post in the migration section. Overall it was pain free and the zmig option over NFS worked fine. Far easier than the original migration from exchange years ago.

Thank you everyone for the help.

DAve
User avatar
pup_seba
Outstanding Member
Outstanding Member
Posts: 687
Joined: Sat Sep 13, 2014 2:43 am
Location: Tarragona - Spain
Contact:

Re: Migration Options

Post by pup_seba »

Glad to hear that. Thanks for the feedback!
Post Reply