how to use zmztozmig tool?

Looking to migrate to ZCS? Ask here. Got a great tip or script that helped you migrate? Post it here.
13546dalmate
Outstanding Member
Outstanding Member
Posts: 360
Joined: Fri Sep 12, 2014 11:59 pm

how to use zmztozmig tool?

Post by 13546dalmate »

I've read release note of zimbra and very interesting with zmztozmig.

But I don't see any command about it.

Any one can help me: How to use it?It's a console tool or web tool?
peter@mxtoolbox.com
Advanced member
Advanced member
Posts: 109
Joined: Fri Sep 12, 2014 10:26 pm

how to use zmztozmig tool?

Post by peter@mxtoolbox.com »

As root you edit the /opt/zimbra/conf/zmztozmig.conf with the correct values for your servers and the options for what you want to migrate.
Then as zimbra user you run /opt/zimbra/libexec/zmztozmig and it does it's magic. There is a good bit of information in the RFE here: Bug 30163 – zimbra-zimbra migration via tar formatter
I'm stuck right now trying to figure out how to move mail filter rules since this tool doesn't do that for me.
13546dalmate
Outstanding Member
Outstanding Member
Posts: 360
Joined: Fri Sep 12, 2014 11:59 pm

how to use zmztozmig tool?

Post by 13546dalmate »

thanks for help, I'll try it
dljordaneku
Outstanding Member
Outstanding Member
Posts: 234
Joined: Fri Sep 12, 2014 10:44 pm

how to use zmztozmig tool?

Post by dljordaneku »

Do you have to run this on both versions or what? I tried it and I got an error saying from the source saying that the stream couldn't be found.
dj
13546dalmate
Outstanding Member
Outstanding Member
Posts: 360
Joined: Fri Sep 12, 2014 11:59 pm

how to use zmztozmig tool?

Post by 13546dalmate »

I'v tried it between the same version,all is ok but share folder can't see any mails
dljordaneku
Outstanding Member
Outstanding Member
Posts: 234
Joined: Fri Sep 12, 2014 10:44 pm

how to use zmztozmig tool?

Post by dljordaneku »

[quote user="13546dalmate"]I'v tried it between the same version,all is ok but share folder can't see any mails[/QUOTE]
Did you have to do anything special on the old server or just run zmztozmig on the new server? Does the old server have to be a certain version before running it?
dj
dljordaneku
Outstanding Member
Outstanding Member
Posts: 234
Joined: Fri Sep 12, 2014 10:44 pm

how to use zmztozmig tool?

Post by dljordaneku »

Anyone? Does the current server need to be a certain version? I would like to get us up to 6.0 :)
dj
13546dalmate
Outstanding Member
Outstanding Member
Posts: 360
Joined: Fri Sep 12, 2014 11:59 pm

how to use zmztozmig tool?

Post by 13546dalmate »

I'm not sure because I just try between two servers have same version

If use same version, you mustn't modify anything except zmtzmig config file

You can read more in this file to know how to modify

/opt/zimbra/conf

and

/opt/zimbra/libexec/zmztzmig
dljordaneku
Outstanding Member
Outstanding Member
Posts: 234
Joined: Fri Sep 12, 2014 10:44 pm

how to use zmztozmig tool?

Post by dljordaneku »

[quote user="13546dalmate"]I'm not sure because I just try between two servers have same version

If use same version, you mustn't modify anything except zmtzmig config file

You can read more in this file to know how to modify

/opt/zimbra/conf

and

/opt/zimbra/libexec/zmztzmig[/QUOTE]
What file? I've read something on how to configure it and I am pretty sure I have it configured correctly. I just keep getting stream not found.
dj
13546dalmate
Outstanding Member
Outstanding Member
Posts: 360
Joined: Fri Sep 12, 2014 11:59 pm

how to use zmztozmig tool?

Post by 13546dalmate »

Can you send the migrate log file? It's in /tmp directory
Post Reply