ZCS Administrator Guide 8.0
ZCS Administrator Guide 8.0
Network Edition


Appendix A Command-Line Utilities > zmrestoreoffline (Offline Restore)

zmrestoreoffline (Offline Restore)
This tool is run when the Zimbra server (i.e., the mailbox process) is down. The MySQL database for the server and the OpenLDAP directory server must be running before you start the zmrestoreoffline command.
Syntax
zmrestoreoffline [options]
Description
 
<arg> Specifies the account email addresses. Separate accounts with a blank space or state all for restoring all accounts. Required.
<arg> The label of the full backup to restore. Type this label to specify a backup file other then the latest.
<prefix> The prefix to pre-pend to the original account names.
<arg> Replay redo logs up to and including this incremental backup
<arg> Replay up to and including this redo log sequence
<arg> Replay rodo logs until this time
<arg> Mail server host name. For format, use either the plain host name or the server.domain.com name. The default is the localhost name. If -s is specified, this must be localhost.
<arg> Specifies the backup target location. The default is <zimbra_home>/backup.
Examples
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 server1.domain.com
Copyright © 2012 VMware Inc.