ZCS Administrator Guide 8.0
ZCS Administrator Guide 8.0
Network Edition


Backup and Restore > Restore Process

Restore Process
The zmrestore process goes through the following steps to restore the mailbox, the database, the indexes, and the LDAP directory.
1.
Retrieves specified accounts to be restored, or specify all for all accounts that have been backed up.
2.
a.
b.
c.
d.
e.
Note:
Accounts are restored, even if the account exceeds its quota. The next time the user performs an action that affects quota, they receive a warning that they have exceeded their quota.
Important: Users using the Zimbra Connector for Microsoft Outlook must perform an initial sync on the Outlook client when they log on after the Zimbra server is restored.
Examples
*
zmrestore -a all
*
zmrestore -a account@company.com
*
Restore to a specific point in time (PIT). The following restore options affect redo log replay. If you do not specify one of these options, all redo logs since the full backup you're restoring from are replayed
Important:   After you perform any of the following point-in-time restores, you should immediately run a complete backup for those accounts to avoid future restore problems with those accounts.
A restore that is run using any of the following options is a point-in-time restore:
-restoreToTime <arg>- Replay the redo logs until the time specified.
-restoreToIncrLabel <arg> - Replay redo logs up to and including this incremental backup.
-restoreToRedoSeq <arg> - Replay up to and including this redo log sequence.
-br - Replays the redo logs in backup only, therefore excluding archived and current redo logs of the system.
-rf - Restores to the full backup only. This does not include any incremental backups at all.
*
Specify an exact time, the incremental backup label, or the redo log sequence to restore to. Restore stops at the earliest possible point in time if more than one point in time restore options are specified.
zmrestore -a account@company.com-restoreToTime <arg>
Two common ways to write the <timearg> are
YYYY/MM/DD hh:mm:ss
*
Perform an incremental restore only to last full backup, excluding incremental backups since then, for all accounts
zmrestore -rf --a all
*
zmrestore -ra -a account@company.com
*
zmrestore -ca -a account@company.com -pre restore
The result from the above example would be an account called restoreaccount@company.com.
*
zmrestore -sys
*
Include --contineOnError (-c) to the command so that the restore process continues if an error is encountered.
zmrestore -a all -c
When -c is designated, accounts that could not be restored are displayed when the restore process is complete
*
zmrestore -a account@company.com
*
zmrestore -a account@company.com -skipDeletedAccounts
*
To restore a mailbox, but exclude all the delete operations that were in the redolog replay. When the mailbox is restored it will contain messages that were deleted. This is useful if users use POP and remove messages from the server
zmrestore -a account@company.com --skipDeletes
Note:
When the latest point in time is requested, do not add a backup label
(-lb). Without specifying the label, the most recent full backup before the requested point is automatically used as the starting point.
Copyright © 2012 VMware Inc.