Zimbra to Zimbra Migration

Looking to migrate to ZCS? Ask here. Got a great tip or script that helped you migrate? Post it here.
omiazad
Posts: 7
Joined: Tue Jun 11, 2019 6:05 am

Zimbra to Zimbra Migration

Post by omiazad »

Hello Experts,
My old Zimbra version is 8.6 and the physical server is more than 6 years old now. So wanted to install 8.8 on a new server. I was going through this wiki https://wiki.zimbra.com/wiki/Zimbra_to_Zimbra_Migration but got stuck at the beginning.

The wiki suggests
Log in on the Destination Server, and go to Tools & Migration > Account Migration > Migration Wizard.
but take a look at this image:
Image

I do not have that option. My Zimbra version is:
Image

Can you please suggest why I do not have this?
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: Zimbra to Zimbra Migration

Post by axslingr »

Forget about that wiki and use the Zextras migration tool.

Lance
omiazad
Posts: 7
Joined: Tue Jun 11, 2019 6:05 am

Re: Zimbra to Zimbra Migration

Post by omiazad »

axslingr wrote:Forget about that wiki and use the Zextras migration tool.

Lance
Thanks Lance, but that is not free and I do not understand their payment conditions. They keep asking for yearly payment etc. I do not understand why I have to keep paying them (for me it was like $3K/year) for something I may barely use.
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: Zimbra to Zimbra Migration

Post by axslingr »

The migration tool is free to use and you can install the 30-day trial of the zextras suite on the destination server to import the backup, then delete when you're done.

Lance
omiazad
Posts: 7
Joined: Tue Jun 11, 2019 6:05 am

Re: Zimbra to Zimbra Migration

Post by omiazad »

axslingr wrote:The migration tool is free to use and you can install the 30-day trial of the zextras suite on the destination server to import the backup, then delete when you're done.

Lance
Thanks,
Was trying that, but I am getting error Please select a valid Import Path.

In my old server, I made my backup in /opt/zimbra/backup/export/ and tried to copy the files on the same location of the new server. As permission denied, I chmod them to 777 and copied the files/folders to the same location of the new server using scp. Now I am seeing the error.

I run the command given above and this is the result I see:

Code: Select all

[root@mx backup]# cd /opt/zimbra/backup/export/; ls -la
total 12
drwxrwxrwx. 3 root   root   4096 Jun 12 21:56 .
drwxr-xr-x. 3 zimbra zimbra 4096 Jun 12 18:13 ..
drwxrwxrwx. 5 root   root   4096 Jun 12 20:55 export

[root@mx export]# su zimbra
[zimbra@mx export]$ cd /opt/zimbra/backup/export/; ls -la
total 12
drwxrwxrwx. 3 root   root   4096 Jun 12 21:56 .
drwxr-xr-x. 3 zimbra zimbra 4096 Jun 12 18:13 ..
drwxrwxrwx. 5 root   root   4096 Jun 12 20:55 export
Would highly appreciate if you tell me what I am doing wrong and what I can do to make it right.
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: Zimbra to Zimbra Migration

Post by axslingr »

Looks to me like there's an additional export directory in /opt/zimbra/backup/export/?

Lance
omiazad
Posts: 7
Joined: Tue Jun 11, 2019 6:05 am

Re: Zimbra to Zimbra Migration

Post by omiazad »

There are files and folders in that directory.
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: Zimbra to Zimbra Migration

Post by axslingr »

Try including that directory in the import path.../opt/zimbra/backup/export/export/.

Lance
omiazad
Posts: 7
Joined: Tue Jun 11, 2019 6:05 am

Re: Zimbra to Zimbra Migration

Post by omiazad »

I think this is a folder/file permission issue. With which user you create the backup directory and how do you copy files to the new server?
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: Zimbra to Zimbra Migration

Post by axslingr »

All files in the backup directory need to be owned by zimbra:zimbra. I typically use rsync as root to copy from server to server, then change permissions afterwards if needed. You could also use WinSCP or Filezilla from a Windows pc as well.

Lance
Post Reply