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.
dljordaneku
Outstanding Member
Outstanding Member
Posts: 234
Joined: Fri Sep 12, 2014 10:44 pm

how to use zmztozmig tool?

Post by dljordaneku »

13546dalmate wrote:Can you send the migrate log file? It's in /tmp directory
The only file I have in that directory is a logprocess.out and it is empty. I have three folders in there. Would it be in one of those folders?
dj
dljordaneku
Outstanding Member
Outstanding Member
Posts: 234
Joined: Fri Sep 12, 2014 10:44 pm

how to use zmztozmig tool?

Post by dljordaneku »

Ok. I think I found it. It was in /opt/zimbra/log/ztozmiglogs
[QUOTE]*****[INFO|ZTOZThread1:11| 09/24/2009 14:55:02]: **********************************************************

*****[INFO|ZTOZThread1:11| 09/24/2009 14:55:02]: Start Logging:

*****[INFO|ZTOZThread1:11| 09/24/2009 14:55:02]: **********************************************************

*****[INFO|ZTOZThread1:11| 09/24/2009 14:55:02]: Request URL: https://newserverip:7071/service/admin/ ... admin/soap

*****[INFO|ZTOZThread1:11| 09/24/2009 14:55:02]: ZIMBRA-ID: 0adcb95b-afef-49bf-881b-36f3ced97894

*****[INFO|ZTOZThread1:11| 09/24/2009 14:55:02]: Starting mailbox (user@domain) download...

*****[INFO|ZTOZThread1:11| 09/24/2009 14:55:02]: Download URL: https://oldserverip:7071/service/home/u ... 303a38303b

*****[SEVERE|ZTOZThread1:11| 09/24/2009 14:55:02]: FATAL:Source Mail box(/tmp/ztozmig/mailboxdumps/user@domain.tgz) stream couldn't be found.

*****[SEVERE|ZTOZThread1:11| 09/24/2009 14:55:02]: Error in mailbox download (user@domain)

*****[INFO|ZTOZThread1:11| 09/24/2009 14:55:02]: Total Time Taken (in seconds): 0.135

*****[INFO|ZTOZThread1:11| 09/24/2009 15:09:35]: **********************************************************

*****[INFO|ZTOZThread1:11| 09/24/2009 15:09:35]: Start Logging:

*****[INFO|ZTOZThread1:11| 09/24/2009 15:09:35]: **********************************************************

*****[INFO|ZTOZThread1:11| 09/24/2009 15:09:35]: Request URL: https://newserverip:7071/service/admin/ ... admin/soap

*****[INFO|ZTOZThread1:11| 09/24/2009 15:09:35]: ZIMBRA-ID: 0adcb95b-afef-49bf-881b-36f3ced97894

*****[INFO|ZTOZThread1:11| 09/24/2009 15:09:35]: Starting mailbox (user@domain) download...

*****[INFO|ZTOZThread1:11| 09/24/2009 15:09:35]: Download URL: https://oldserverip:7071/service/home/u ... 303a38303b

*****[SEVERE|ZTOZThread1:11| 09/24/2009 15:09:35]: FATAL:Source Mail box(/tmp/ztozmig/mailboxdumps/user@domain.tgz) stream couldn't be found.

*****[SEVERE|ZTOZThread1:11| 09/24/2009 15:09:35]: Error in mailbox download (user@domain)

*****[INFO|ZTOZThread1:11| 09/24/2009 15:09:35]: Total Time Taken (in seconds): 0.224[/QUOTE]
13546dalmate
Outstanding Member
Outstanding Member
Posts: 360
Joined: Fri Sep 12, 2014 11:59 pm

how to use zmztozmig tool?

Post by 13546dalmate »

You have an error in:

FATAL: source Mailbox (/tmp/ztozmig/mailboxdumps/user@domain.tgz) stream couldn't be found

default this tool will create a mailboxdumps in that directory but I don't know why in your server it didn't dump anything in here. So it can't migrate any thing

which version did you use in source server and destination server?
dljordaneku
Outstanding Member
Outstanding Member
Posts: 234
Joined: Fri Sep 12, 2014 10:44 pm

how to use zmztozmig tool?

Post by dljordaneku »

13546dalmate wrote:You have an error in:

FATAL: source Mailbox (/tmp/ztozmig/mailboxdumps/user@domain.tgz) stream couldn't be found

default this tool will create a mailboxdumps in that directory but I don't know why in your server it didn't dump anything in here. So it can't migrate any thing

which version did you use in source server and destination server?
Ok. I think now that we can go back to one of my first questions in that is this something I have to run on both servers? I am running 5.08 so I am assuming that I need to upgrade first to a version that has the tool on it and then run it on my current server so I can migrate everything over to the new server.
I never really seen any clear instructions on how to use this tool. It seems like it is a great tool. I may be just missing something but want to make sure.
dj
13546dalmate
Outstanding Member
Outstanding Member
Posts: 360
Joined: Fri Sep 12, 2014 11:59 pm

how to use zmztozmig tool?

Post by 13546dalmate »

In my version, this tool uses a configure file, /opt/zimbra/conf/zmztozmig.conf.

If you want to use this tool, the first you must modify this configure file such as: port, working directory,...

You can see detail in the content of it.

After modify, you can use this command to begin migrate:

/opt/zimbra/libexec/zmztozmig

with admin permissions
dljordaneku
Outstanding Member
Outstanding Member
Posts: 234
Joined: Fri Sep 12, 2014 10:44 pm

how to use zmztozmig tool?

Post by dljordaneku »

13546dalmate wrote:In my version, this tool uses a configure file, /opt/zimbra/conf/zmztozmig.conf.

If you want to use this tool, the first you must modify this configure file such as: port, working directory,...

You can see detail in the content of it.

After modify, you can use this command to begin migrate:

/opt/zimbra/libexec/zmztozmig

with admin permissions
Ok. If you go back and read, I have done all of this. Maybe I'm just not explaining myself enough. :( I am currently running zimbra 5.08 on a Fedora 7 box. I have created an Ubuntu 8 box and have installed Zimbra 6.0 on it. I want to run the zmztozmig tool to move everything but when I edit the config file and run the tool, I get the error I listed earlier.
I guess I am going back to my first question. Do I need to run the tool on both boxes? On the first one to create the file and then on the second to bring the file over?
dj
dljordaneku
Outstanding Member
Outstanding Member
Posts: 234
Joined: Fri Sep 12, 2014 10:44 pm

how to use zmztozmig tool?

Post by dljordaneku »

Ok. So I guess I am going to upgrade my current server to 5.0.19 this week and then see if the tool works. Don't know what else to do.
dj
williaml
Posts: 14
Joined: Fri Oct 16, 2020 2:14 pm

Re: how to use zmztozmig tool?

Post by williaml »

is zmztozmig still applicable for Zimbra 8.8.11?
Is there anyone try this method before?
phoenix
Ambassador
Ambassador
Posts: 27272
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

Re: how to use zmztozmig tool?

Post by phoenix »

williaml wrote:is zmztozmig still applicable for Zimbra 8.8.11?
Is there anyone try this method before?
If it's your intention to move your ZCS server to another server then use the ZeXtras tools to do the move, it's free, it's fast and it works. ;)
Regards

Bill

Rspamd: A high performance spamassassin replacement

Per ardua ad astra
wmustafa728
Posts: 5
Joined: Sat Mar 20, 2021 4:57 am

Re: how to use zmztozmig tool?

Post by wmustafa728 »

I have three queries for zmtozmig tool

1. Does it keeps the old password of users or you have to renew the passwords.
2. Are you using same domain name like test@zimbra.test.xyz for both servers.
3. During this process are you using web gui migration tool ?
Post Reply