CLI zmmailboxmove Network Edition only: Difference between revisions

No edit summary
 
No edit summary
Line 3: Line 3:
<font size="2">(Network Edition only)</font>
<font size="2">(Network Edition only)</font>


<font size="2" color="#000000" face="Arial">This command is used to move a mailbox from one Zimbra server to another. All the files are copied to the new server and LDAP is updated. After the mailbox is moved to a new server, a copy still remains on the older server, but the status of old mailbox is closed. Users cannot log on and mail is not delivered. You should check to see that all the mailbox contents were moved successfully before purging the old mailbox. </font>
<font size="2" color="#000000" face="Arial">This command is used to move a mailbox 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 LDAP is updated. After the mailbox is moved to a new server, a copy still remains on the older server, but the status of old mailbox is closed. Users cannot log on and mail is not delivered. You should check to see that all the mailbox contents were moved successfully before purging the old mailbox. </font>


===<font size="3" color="#00007f" face="Arial"> ''' Syntax ''' </font>===
===<font size="3" color="#00007f" face="Arial"> ''' Syntax ''' </font>===
Line 9: Line 9:
<font size="2" color="#000000" face="Arial"> To move a mailbox to a new server, type  </font>
<font size="2" color="#000000" face="Arial"> To move a mailbox to a new server, type  </font>


<font size="3" color="#000000" face="Arial">  <font size="3" color="#000000" face=""Times New Roman""> '''zmmailboxmove -a <email@address> -ow -s <servername> -t <movetoservername>''' </font>  </font>
<font size="3" color="#000000" face="Arial">  <font size="3" color="#000000" face=""Times New Roman"">   '''zmmailboxmove -a <email@address> -ow -s <servername> -t <movetoservername>''' </font>  </font>


<font size="2" color="#000000" face="Arial"> To purge the mailbox from the old server, type </font>
<font size="2" color="#000000" face="Arial"> To purge the mailbox from the old server, type </font>
Line 48: Line 48:
<font size="3" color="#000000" face=""Times New Roman""> -po </font>
<font size="3" color="#000000" face=""Times New Roman""> -po </font>
| valign="top" |
| valign="top" |
<font size="3" color="#000000" face="Arial"> After a mailbox has been successfully moved to a new server, perform purgeOld to remove the mailbox and its contents from the previous server.</font>
<font size="3" color="#000000" face="Arial"> Purge old mailbox on previous server. After a mailbox has been successfully moved to a new server, perform purgeOld to remove the mailbox and its contents from the previous server.</font>
|-
|-
| valign="top" |
| valign="top" |
Line 64: Line 64:
<font size="3" color="#000000" face="Arial"> Server where mailbox is moved to. </font>
<font size="3" color="#000000" face="Arial"> Server where mailbox is moved to. </font>
|}
|}
'''-t''' and '''-po''' options are mutually exclusive. Use '''-t''' option to move a mailbox from the current server to the new server specified by the option. If '''-ow''' is specified, when a mailbox already exists for the target server, it is overwritten. After successfully moving the mailbox, use '''-po''' option to purge the old mailbox on the original server.

Revision as of 21:26, 11 September 2006

zmmailboxmove (Move Mailbox)

(Network Edition only)

This command is used to move a mailbox 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 LDAP is updated. After the mailbox is moved to a new server, a copy still remains on the older server, but the status of old mailbox is closed. Users cannot log on and mail is not delivered. You should check to see that all the mailbox contents were moved successfully before purging the old mailbox.

Syntax

To move a mailbox to a new server, type

zmmailboxmove -a <email@address> -ow -s <servername> -t <movetoservername>

To purge the mailbox from the old server, type

zmmailboxmove -a <email@address) -po.

The mailbox and its contents and references are deleted from the server.

Description

Long Name

Short Name

Description

--account <arg>

-a

Email address of account to move.

--overwriteMailbox

-ow

Overwrite target mailbox, if it exists.

--purgeOld

-po

Purge old mailbox on previous server. After a mailbox has been successfully moved to a new server, perform purgeOld to remove the mailbox and its contents from the previous server.

--server <arg>

-s

Server where the --account mailbox is located. Mail server hostname. The default is the localhost.

--targetServer <arg>

-t

Server where mailbox is moved to.

-t and -po options are mutually exclusive. Use -t option to move a mailbox from the current server to the new server specified by the option. If -ow is specified, when a mailbox already exists for the target server, it is overwritten. After successfully moving the mailbox, use -po option to purge the old mailbox on the original server.

Jump to: navigation, search