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

Postby omiazad » Tue Jun 11, 2019 8:16 am

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?


axslingr
Advanced member
Advanced member
Posts: 163
Joined: Sat Sep 13, 2014 2:20 am
ZCS/ZD Version: Release 8.8.11.GA.3737.UBUNTU16.64

Re: Zimbra to Zimbra Migration

Postby axslingr » Tue Jun 11, 2019 2:25 pm

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

Postby omiazad » Tue Jun 11, 2019 2:47 pm

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.
axslingr
Advanced member
Advanced member
Posts: 163
Joined: Sat Sep 13, 2014 2:20 am
ZCS/ZD Version: Release 8.8.11.GA.3737.UBUNTU16.64

Re: Zimbra to Zimbra Migration

Postby axslingr » Tue Jun 11, 2019 4:37 pm

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

Postby omiazad » Wed Jun 12, 2019 5:22 pm

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.
axslingr
Advanced member
Advanced member
Posts: 163
Joined: Sat Sep 13, 2014 2:20 am
ZCS/ZD Version: Release 8.8.11.GA.3737.UBUNTU16.64

Re: Zimbra to Zimbra Migration

Postby axslingr » Wed Jun 12, 2019 6:05 pm

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

Postby omiazad » Wed Jun 12, 2019 6:06 pm

There are files and folders in that directory.
axslingr
Advanced member
Advanced member
Posts: 163
Joined: Sat Sep 13, 2014 2:20 am
ZCS/ZD Version: Release 8.8.11.GA.3737.UBUNTU16.64

Re: Zimbra to Zimbra Migration

Postby axslingr » Thu Jun 13, 2019 2:41 am

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

Postby omiazad » Thu Jun 13, 2019 3:57 am

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?
axslingr
Advanced member
Advanced member
Posts: 163
Joined: Sat Sep 13, 2014 2:20 am
ZCS/ZD Version: Release 8.8.11.GA.3737.UBUNTU16.64

Re: Zimbra to Zimbra Migration

Postby axslingr » Thu Jun 13, 2019 10:59 am

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

Return to “Migration”

Who is online

Users browsing this forum: No registered users and 2 guests