I found next
Zimbra to Zimbra migration part one. Accounts and mailboxes » Open Source Explorations
I configured
Code:
# Configuration file for zmztozmig with all necessary settings
#
#Source ZCS server IP/name,admin user name and password, server port
SourceZCSServer=mail.example.com
SourceAdminUser=admin@mail.example.com
SourceAdminPwd=fgergergegr
SourceAdminPort=7071
#
#Destination/Target ZCS server IP/name,admin user name and password, server port
TargetZCSServer=mail.example1.com
TargetAdminUser=admin@mailexample1.com
TargetAdminPwd=sfgfwsgawsfg
TargetAdminPort=7071
#
#Change ZimbraMailTransport after successful migration
#ZimbraMailTransport=smtp:mta.zcs.mail.mydomain.com
#
#Threads to run simultaneously
Threads=1
#
#Specify directory for mailbox download
WorkingDirectory=/tmp/ztozmig/mailboxdumps/
#
#Specify directory to contain failed mailbox tar files
FailedDirectory=/tmp/ztozmig/mailboxfailures/
#
#Specify directory to contain successfully migrated mailbox tar files, if KeepSuccessFiles=TRUE
SuccessDirectory=/tmp/ztozmig/successes/
#
#Specify directory to contain logs
LogDirectory=/opt/zimbra/log/ztozmiglogs
#
#Do you want to keep tar mailbox files after successful migration- TRUE/FALSE
KeepSuccessFiles=TRUE
#
#Specify the comma separated list of item types to be migrated. For complete mailbox migration, comment it.
#types can have following parameters - message,conversation,contact,appointment,task,wiki,document
#types=message,conversation,contact,appointment,task,wiki,document
#
#resolve can have skip (ignores duplicates),modify (update older items),
#reset (delete the old subfolder (or entire mailbox if /)) or replace (replace the existing items) values.
#Only one value at a time as these parameters are mutually exclusive.
#resolve=skip
#
#Specify Domain map - (DomainMap= From_domain To_Domain)
#DomainMap=
#DomainMap=google.com yahoo.com
#Domains to migrate in case of Accounts parameter is set to "all"
Domains=aaa.com
#
#List accounts to be migrated. Accounts should be comma (',') separated. Use 'all' to get
#all accounts from source server.Domains parameter must be defined to list the domains to be
#migrated.
Accounts=all after run /opt/zimbra/libexec/zmztozmig as zimbra user I received next
Code:
[zimbra@mail ~/libexec]$ ./zmztozmig
[INFO|main:1| 11/24/2011 13:06:39]: ConfigFile: /opt/zimbra/conf/zmztozmig.conf
[INFO|main:1| 11/24/2011 13:06:39]: Version: 1.4
[INFO|main:1| 11/24/2011 13:06:39]: Processing Domain: aaa.com
Creating account list....
[INFO|main:1| 11/24/2011 13:06:40]: Request URL: https://mail.example.com:7071/service/admin/soap
ZMSSLSocketFactory instantiated
[INFO|main:1| 11/24/2011 13:06:40]: Going to get accounts from mail.example.com. It may take few minutes...
[INFO|main:1| 11/24/2011 13:06:40]: REST URL: https://mail.example.com:7071/service/afd/?action=getSR&types=accounts&domain=aaa.com
[INFO|main:1| 11/24/2011 13:06:40]: GetAllAccountsListByREST: HTTP Code: 200
[INFO|main:1| 11/24/2011 13:06:40]: "vira.mazak@aaa.com","d3e8abba-ccd8-4f88-9ae8-e7a2c7cb175a","account","Vira Mazak","active","402a07e3-5859-40d2-9585-af982a71bf3c"
[INFO|main:1| 11/24/2011 13:06:40]: "uliana.shevchun@aaa.com","653361e9-c9d9-47ce-abbe-bf7ebd209ac0","account","Uliana Shevchun","active","402a07e3-5859-40d2-9585-af982a71bf3c"
[INFO|main:1| 11/24/2011 13:06:40]: "sergiy.kovalchuk@aaa.com","bca8fe98-ad1b-4c0b-a64f-5cfa59b66969","account","Sergiy Kovalchuk","active","402a07e3-5859-40d2-9585-af982a71bf3c"
[INFO|main:1| 11/24/2011 13:06:40]: "sergiy.bukhta@aaa.com","5a90eb93-5342-4bf0-83ae-4cb3f611420f","account","Sergiy Bukhta","active","402a07e3-5859-40d2-9585-af982a71bf3c"
[INFO|main:1| 11/24/2011 13:06:40]: "oleksandra.pavlova@aaa.com","36ae56ee-d7ca-4d1b-b7cf-42c165877f5c","account","Oleksandra Pavlova","active","402a07e3-5859-40d2-9585-af982a71bf3c"
[INFO|main:1| 11/24/2011 13:06:40]: "oleh.kalensky@aaa.com","62ceb020-855d-40d6-bc05-be6fc7437d7b","account","Oleh Kalensky","active","402a07e3-5859-40d2-9585-af982a71bf3c"
[INFO|main:1| 11/24/2011 13:06:40]: "office@aaa.com","f7f505fd-c0d5-45a8-822f-b6698a626de4","account","Office","active","402a07e3-5859-40d2-9585-af982a71bf3c"
[INFO|main:1| 11/24/2011 13:06:40]: "galsync@aaa.com","5e1e1eeb-4ae1-4e66-a1ff-91e7c3dacfe8","account","","active",""
[INFO|main:1| 11/24/2011 13:06:40]: Accounts list created.
[INFO|main:1| 11/24/2011 13:06:40]: Thread count: 1
[INFO|main:1| 11/24/2011 13:06:40]: Request URL: https://example1.com:7071/service/admin/soap
[INFO|ZTOZThread1:12| 11/24/2011 13:06:40]: Processing Account: vira.mazak@aaa.com
[INFO|ZTOZThread1:12| 11/24/2011 13:06:40]: Going to download TarredMailBox (vira.mazak@aaa.com)
[INFO|ZTOZThread1:12| 11/24/2011 13:06:40]: Request URL: https://example1.com:7071/service/admin/soap
[SEVERE|ZTOZThread1:12| 11/24/2011 13:06:40]: GetAccountRequest Failed: no such account: vira.mazak@aaa.com
[WARNING|ZTOZThread1:12| 11/24/2011 13:06:40]: GetAccountInfoByName Failed: vira.mazak@aaa.com
[SEVERE|ZTOZThread1:12| 11/24/2011 13:06:40]: Download TarredMailBox Error(vira.mazak@aaa.com).
[SEVERE|ZTOZThread1:12| 11/24/2011 13:06:40]: User vira.mazak@aaa.com does not exists.
[INFO|ZTOZThread1:12| 11/24/2011 13:06:40]: Total Time Taken (in seconds): 0.038
[INFO|ZTOZThread1:12| 11/24/2011 13:06:40]: Processing Account: uliana.shevchun@aaa.com
[INFO|ZTOZThread1:12| 11/24/2011 13:06:40]: Going to download TarredMailBox (uliana.shevchun@aaa.com)
[SEVERE|ZTOZThread1:12| 11/24/2011 13:06:40]: GetAccountRequest Failed: no such account: uliana.shevchun@aaa.com
[WARNING|ZTOZThread1:12| 11/24/2011 13:06:40]: GetAccountInfoByName Failed: uliana.shevchun@aaa.com
[SEVERE|ZTOZThread1:12| 11/24/2011 13:06:40]: Download TarredMailBox Error(uliana.shevchun@aaa.com).
[SEVERE|ZTOZThread1:12| 11/24/2011 13:06:40]: User uliana.shevchun@aaa.com does not exists.
[INFO|ZTOZThread1:12| 11/24/2011 13:06:40]: Total Time Taken (in seconds): 0.027
[INFO|ZTOZThread1:12| 11/24/2011 13:06:40]: Processing Account: sergiy.kovalchuk@aaa.com
[INFO|ZTOZThread1:12| 11/24/2011 13:06:40]: Going to download TarredMailBox (sergiy.kovalchuk@aaa.com)
[SEVERE|ZTOZThread1:12| 11/24/2011 13:06:40]: GetAccountRequest Failed: no such account: sergiy.kovalchuk@aaa.com
[WARNING|ZTOZThread1:12| 11/24/2011 13:06:40]: GetAccountInfoByName Failed: sergiy.kovalchuk@aaa.com
[SEVERE|ZTOZThread1:12| 11/24/2011 13:06:40]: Download TarredMailBox Error(sergiy.kovalchuk@aaa.com).
[SEVERE|ZTOZThread1:12| 11/24/2011 13:06:40]: User sergiy.kovalchuk@aaa.com does not exists.
[INFO|ZTOZThread1:12| 11/24/2011 13:06:40]: Total Time Taken (in seconds): 0.022
[INFO|ZTOZThread1:12| 11/24/2011 13:06:40]: Processing Account: sergiy.bukhta@aaa.com
[INFO|ZTOZThread1:12| 11/24/2011 13:06:40]: Going to download TarredMailBox (sergiy.bukhta@aaa.com)
[SEVERE|ZTOZThread1:12| 11/24/2011 13:06:40]: GetAccountRequest Failed: no such account: sergiy.bukhta@aaa.com
[WARNING|ZTOZThread1:12| 11/24/2011 13:06:40]: GetAccountInfoByName Failed: sergiy.bukhta@aaa.com
[SEVERE|ZTOZThread1:12| 11/24/2011 13:06:40]: Download TarredMailBox Error(sergiy.bukhta@aaa.com).
[SEVERE|ZTOZThread1:12| 11/24/2011 13:06:40]: User sergiy.bukhta@aaa.com does not exists.
[INFO|ZTOZThread1:12| 11/24/2011 13:06:40]: Total Time Taken (in seconds): 0.021
[INFO|ZTOZThread1:12| 11/24/2011 13:06:40]: Processing Account: oleksandra.pavlova@aaa.com
[INFO|ZTOZThread1:12| 11/24/2011 13:06:40]: Going to download TarredMailBox (oleksandra.pavlova@aaa.com)
[SEVERE|ZTOZThread1:12| 11/24/2011 13:06:40]: GetAccountRequest Failed: no such account: oleksandra.pavlova@aaa.com
[WARNING|ZTOZThread1:12| 11/24/2011 13:06:40]: GetAccountInfoByName Failed: oleksandra.pavlova@aaa.com
[SEVERE|ZTOZThread1:12| 11/24/2011 13:06:40]: Download TarredMailBox Error(oleksandra.pavlova@aaa.com).
[SEVERE|ZTOZThread1:12| 11/24/2011 13:06:40]: User oleksandra.pavlova@aaa.com does not exists.
[INFO|ZTOZThread1:12| 11/24/2011 13:06:40]: Total Time Taken (in seconds): 0.019
[INFO|ZTOZThread1:12| 11/24/2011 13:06:40]: Processing Account: oleh.kalensky@aaa.com
[INFO|ZTOZThread1:12| 11/24/2011 13:06:40]: Going to download TarredMailBox (oleh.kalensky@aaa.com)
[SEVERE|ZTOZThread1:12| 11/24/2011 13:06:40]: GetAccountRequest Failed: no such account: oleh.kalensky@aaa.com
[WARNING|ZTOZThread1:12| 11/24/2011 13:06:40]: GetAccountInfoByName Failed: oleh.kalensky@aaa.com
[SEVERE|ZTOZThread1:12| 11/24/2011 13:06:40]: Download TarredMailBox Error(oleh.kalensky@aaa.com).
[SEVERE|ZTOZThread1:12| 11/24/2011 13:06:40]: User oleh.kalensky@aaa.com does not exists.
[INFO|ZTOZThread1:12| 11/24/2011 13:06:40]: Total Time Taken (in seconds): 0.016
[INFO|ZTOZThread1:12| 11/24/2011 13:06:40]: Processing Account: office@aaa.com
[INFO|ZTOZThread1:12| 11/24/2011 13:06:40]: Going to download TarredMailBox (office@aaa.com)
[SEVERE|ZTOZThread1:12| 11/24/2011 13:06:40]: GetAccountRequest Failed: no such account: office@aaa.com
[WARNING|ZTOZThread1:12| 11/24/2011 13:06:40]: GetAccountInfoByName Failed: office@aaa.com
[SEVERE|ZTOZThread1:12| 11/24/2011 13:06:40]: Download TarredMailBox Error(office@aaa.com).
[SEVERE|ZTOZThread1:12| 11/24/2011 13:06:40]: User office@aaa.com does not exists.
[INFO|ZTOZThread1:12| 11/24/2011 13:06:40]: Total Time Taken (in seconds): 0.017
[INFO|ZTOZThread1:12| 11/24/2011 13:06:40]: Processing Account: galsync@aaa.com
[INFO|ZTOZThread1:12| 11/24/2011 13:06:40]: Going to download TarredMailBox (galsync@aaa.com)
[SEVERE|ZTOZThread1:12| 11/24/2011 13:06:40]: GetAccountRequest Failed: no such account: galsync@aaa.com
[WARNING|ZTOZThread1:12| 11/24/2011 13:06:40]: GetAccountInfoByName Failed: galsync@aaa.com
[SEVERE|ZTOZThread1:12| 11/24/2011 13:06:40]: Download TarredMailBox Error(galsync@aaa.com).
[SEVERE|ZTOZThread1:12| 11/24/2011 13:06:40]: User galsync@aaa.com does not exists.
[INFO|ZTOZThread1:12| 11/24/2011 13:06:40]: Total Time Taken (in seconds): 0.015
[INFO|main:1| 11/24/2011 13:06:40]: ****************SUMMARY**************************
[INFO|main:1| 11/24/2011 13:06:40]: Total Accounts processed : 8
[INFO|main:1| 11/24/2011 13:06:40]: Successfull Accounts : 0
[INFO|main:1| 11/24/2011 13:06:40]: Failed accounts : 8
[INFO|main:1| 11/24/2011 13:06:40]: Total Migration Time(seconds) : 0.175
[INFO|main:1| 11/24/2011 13:06:40]: *************************************************
[zimbra@mail ~/libexec]$
what I did wrong?