CLI zmrestoreoffline Network Edition only

Revision as of 01:15, 3 May 2006 by CAH (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

zmrestoreoffline (Offline Restore)

(Network Edition only)

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> [<accounts>]

Description

Long Name

Short Name

Description

--label

-lb

The label of the full backup to restore. Type this label to specify a backup file other then the latest.

-- restorefullBackupOnly

-rf

Restores to the full backup only, not any incremental backups since that backup.

--restoreAccount

-ra

Restores the account in directory service.

--prefix

-pr

<prefix> The prefix to pre-pend to the original account names.

--createAccount

-ca

Restores accounts to new target accounts whose names are pre-pended with <prefix>.

--account

-a

<arg> Specifies the account email addresses. Separate accounts with a blank space or state all for restoring all accounts. Required.

--backedupRedolog Only

-br

Replays the redo logs in backup only, which excludes archived and current redo logs of the system.

--continueOnError

-c

Continue to restore other accounts when an error occurs.

--systemData

-sys

Restores global tables and local config.

Common Options

--server

-s

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.

--target

-t

Specifies the backup target location. The default is <zimbra_home>/backup.

--help

-h

Displays the usage options for this command.

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

Jump to: navigation, search