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.
zmrestoreoffline [options]
Short Name
<arg> Specifies the account email addresses. Separate accounts with a blank space or state all for restoring all accounts. Required.
--backedupRedologs Only
Replays the redo logs in backup only, which excludes archived and current redo logs of the system
Restores accounts to new target accounts whose names are pre-pended with prefix
<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
Restores to the full backup only, not any incremental backups since that backup.
<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.
Do not restore if named accounts were deleted or did not exist at backup time. (This option is always enabled with -a all)
<arg> Specifies the backup target location. The default is <zimbra_home>/backup.
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.