ZCS Administrator's Guide, Network Edition 4.5, Rev 2 11/07
Table of Contents Previous Next Index


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

zmrestoreoffline (Offline Restore)
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.
Syntax
zmrestoreoffline [options]
Description
 
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.
-restoreToIncrLabel
<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
--restoreFullBackupOnly
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.
--skipDeletedAccounts
-skipDeletedAccounts
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.
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

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

Table of Contents Previous Next Index
ZCS Administrator's Guide, Network Edition 4.5, Rev 2 11/07
Copyright © 2007 Zimbra Inc.