Difference between revisions of "Zmmboxmove"
|Line 5:||Line 5:|
Revision as of 21:25, 5 March 2015
|This article applies to the following ZCS versions.|
The CLI command zmmboxmove is used to move mailboxes. The destination server manages the overall move process. Using the zmmboxmove command significantly reduces the account lockout time.The CLI command zmmboxmove is used to move mailboxes from one Zimbra server to another. Mailboxes can be moved between Zimbra servers that share the same LDAP server. All the files are copied to the new server and the LDAP is updated. After the mailbox is moved to a new server a copy still remains on the older server, but the status of the old mailbox is closed. Users cannot log on and mail is not delivered. You should check to see that all the mailbox content was moved successfully before purging the old mailbox.
Type the following command for each account you want to move to another data-va virtual machine.
zmmboxmove -a useraccount --from <src> --to <dest> [sync]
This sample command moves user1 from the Zimbra srv2 to srv1. When an account move finishes, a success or failure notice appears.
zmmboxmove -a email@example.com -f srv2.domain.com -t srv11.domain.com sync
|Long Name||Short Name||Description|
|--account||-a||<a> Email address of account to move|
|--help||-h||Displays the usage options for this command|
|--from||-f||<arg> Mail server hostname. Server where the --account mailbox is located|
|--to||-t||<arg> Destination server|