ZCS Administrator Guide 8.0
ZCS Administrator Guide 8.0
Network Edition

Appendix A Command-Line Utilities > zmrestore

This tool performs full restores and incremental restores for a designated mail host. You can either specify specific accounts, or, if no accounts are specified, all accounts are in the backup are restored. In addition, you can restore to a specific point in time.
This utility has short option names and full names. The short option is preceded by a single dash, the full option is proceeded by a double dash. For example, -rf is the same as --restorefullBackupOnly.
zmrestore [options]
Short Name
<arg> Specifies the account email addresses. Separate accounts with a blank space or type all to restore all accounts.
Replays the redo logs in backup only, which excludes archived and current redo logs of the system
Restores accounts to target accounts whose names are prepended with prefix. (Can only be used in commands that use the -pre option.)
<arg> The label of the full backup to restore. Restores to the latest full backup if this is omitted.
<arg> 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.
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.
Perform complete restore of all accounts on server1, including last full backup and any incremental backups since last full backup.
zmrestore -a all -s server1.domain.com
zmrestore -rf -a all -s server1.domain.com
zmrestore -a user1@domain.com -ca -pre new_
Copyright © 2012 VMware Inc.