CLI zmrestoreoffline Network Edition only

Revision as of 01:15, 3 May 2006 by CAH (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

zmrestoreoffline (Offline Restore)

(Network Edition only)

This tool is run when the Zimbra server (i.e., the Tomcat process) is down. The MySQL database for the server and the OpenLDAP directory server must be running before you start the zmrestoreoffline command.


zmrestoreoffline <options> [<accounts>]


Long Name

Short Name




The label of the full backup to restore. Type this label to specify a backup file other then the latest.

-- restorefullBackupOnly


Restores to the full backup only, not any incremental backups since that backup.



Restores the account in directory service.



<prefix> The prefix to pre-pend to the original account names.



Restores accounts to new target accounts whose names are pre-pended with <prefix>.



<arg> Specifies the account email addresses. Separate accounts with a blank space or state all for restoring all accounts. Required.

--backedupRedolog Only


Replays the redo logs in backup only, which excludes archived and current redo logs of the system.



Continue to restore other accounts when an error occurs.



Restores global tables and local config.

Common Options



Mail server host name. For format, use either the plain host name or the name. The default is the localhost name. If -s is specified, this must be localhost.



Specifies the backup target location. The default is <zimbra_home>/backup.



Displays the usage options for this command.


Before you begin zmrestoreoffline, the LDAP directory server must be running

Perform a complete restore of all accounts on server1, including last full backup and any incremental backups since last full backup.
zmrestoreoffline -s
Jump to: navigation, search