ZCS Administrator's Guide 8.0.4
ZCS Administrator's Guide 8.0.4
Network Edition


Appendix A Command-Line Utilities > zmrestore

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.
Syntax
zmrestore [options]
Description
 
<arg> Specifies the account email addresses. Separate accounts with a blank space or type all to restore all accounts.
<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
<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.
<arg> Specifies the backup target location. The default is <zimbra_home>/backup.
Examples
*
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 © 2013 VMware Inc.