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?

Postby dljordaneku » Tue Sep 29, 2009 2:11 pm

[quote user="13546dalmate"]Can you send the migrate log file? It's in /tmp directory[/QUOTE]
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?

Postby dljordaneku » Tue Sep 29, 2009 2:28 pm

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/soap">https://newserverip:7071/service/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/user@domain?fmt=tgz&authToken=0_e31dcce9d69de63e569505cea55b8d45ab2f478c_69643d33363a65336266623436342d613230322d346166612d613930392d3666666264363730336531393b6578703d31333a313235333836313737313630333b61646d696e3d313a313b747970653d363a7a696d6272613b6d61696c686f73743d31323a31302e312e312e31303a38303b

*****[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/soap">https://newserverip:7071/service/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/user@domain?fmt=tgz&authToken=0_9bc9c3cb722dc49b654f2587936e1604fca0e587_69643d33363a65336266623436342d613230322d346166612d613930392d3666666264363730336531393b6578703d31333a313235333836323634353034383b61646d696e3d313a313b747970653d363a7a696d6272613b6d61696c686f73743d31323a31302e312e312e31303a38303b

*****[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?

Postby 13546dalmate » Tue Sep 29, 2009 8:55 pm

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?

Postby dljordaneku » Wed Sep 30, 2009 7:53 am

[quote user="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?[/QUOTE]
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?

Postby 13546dalmate » Wed Sep 30, 2009 8:42 pm

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?

Postby dljordaneku » Thu Oct 01, 2009 10:25 am

[quote user="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[/QUOTE]
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?

Postby dljordaneku » Mon Oct 05, 2009 3:05 pm

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: 4
Joined: Fri Oct 16, 2020 2:14 pm

Re: how to use zmztozmig tool?

Postby williaml » Fri Oct 16, 2020 2:28 pm

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

Re: how to use zmztozmig tool?

Postby phoenix » Fri Oct 16, 2020 3:58 pm

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

Return to “Migration”

Who is online

Users browsing this forum: Majestic-12 [Bot] and 3 guests