SnapProtect - Advanced Restore - Exchange Database Agent

Table of Contents

Restoring a Database

Applies to: Exchange 2003 or later

By default, the database is restored to the same client from which it is backed up (in-place restore).

  1. Make sure that the database that you want to restore is dismounted and marked for overwrite.
  2. Before you restore the backed up data, make sure that the Storage Group/Database name does not contain "+" in it.
  3. From the CommCell Console, expand Client Computers | client.
  4. Right-click Exchange Database, and then click All Tasks | Browse and Restore.

    The Browse and Restore Options dialog box appears.

  5. Click View Content.
  6. In the left pane of the Client Browse window, expand Exchange Database | Microsoft Information Store | Storage Group/Database.
  7. In the right pane, select the database that you want to restore, and then click Recover All Selected.

    The Restore Options for All Selected Items dialog box appears.

  8. Click OK.
  9. Manually mount the stores after the restore.

Performing an Out-of-Place Restore for VSS-Enabled Backups

Applies to: Exchange 2007 or later

Use one of the methods below to restore VSS-Enabled backups for Exchange Server 2007 and 2010.

Restoring to a Storage Group

You can restore the database stores to a different storage group (including Recovery Storage Groups) on the same Exchange Server, or to a different Exchange Server within the same Exchange organization.

  1. Make sure that the database that you want to restore is dismounted and marked for overwrite.
  2. Before you restore the backed up data, make sure that the Storage Group/Database name does not contain "+" in it.
  3. From the CommCell Console, expand Client Computers | client.
  4. Right-click Exchange Database, and then click All Tasks | Browse and Restore.

    The Browse and Restore Options dialog box appears.

  5. Click View Content.
  6. In the left pane of the Client Browse window, expand Exchange Database | Microsoft Information Store | Storage Group/Database.
  7. In the right pane, select the database that you want to restore, and then click Recover All Selected.

    The Restore Options for All Selected Items dialog box appears.

  8. In the Restore Destination area, select the Destination client.
  9. Click Restore to Another Database.
  10. Select the Source DB.
  11. Click .. in the Destination DB column.

    The Choose Database dialog box appears.

  12. Select a Storage Group.
  13. Click OK.
  14. Click OK.
  15. Manually mount the stores after the restore.

Restoring to a Different Disk Location

You can restore the database stores to be a physically different location on disk (that is, non-Exchange location) with a choice of whether or not to replay the logs.

  1. From the CommCell Console, expand Client Computers | client.
  2. Right-click Exchange Database, and then click All Tasks | Browse and Restore.

    The Browse and Restore Options dialog box appears.

  3. Click View Content.
  4. In the left pane of the Client Browse window, expand Exchange Database | Microsoft Information Store | Storage Group/Database.
  5. In the right pane, select the database that you want to restore, and then click Recover All Selected.

    The Restore Options for All Selected Items dialog box appears.

  6. In the Restore Destination area, select the Destination client.
  7. Click Out of place restore to file location.
  8. If you do not want to replay the logs after restore, select the Without Recovery check box.
  9. Select the Source DB.
  10. Click .. in the Destination DB column.

    The Client Browse dialog box appears.

  11. Select a destination folder from the destination client.

    Make sure that the Storage Group name does not contain "+" in it.

  12. Click OK.
  13. Click OK.
  14. Manually mount the stores after the restore.

Restoring an Exchange DAG Backup Out of Place

Applies to: Exchange 2010 or later

Restoring to a Database

You can restore the database stores to an active copy in a different database on the same Exchange server, or to an active copy on a different Exchange server within the same Exchange organization.

If you use Exchange 2013 or later in a DAG environment, see the Microsoft TechNet article "Backup, Restore, and Disaster Recovery'", http://technet.microsoft.com/en-us/library/dd876874.aspx.

Before You Begin

Make sure that the database that you want to restore is dismounted and marked for overwrite.

Procedure

  1. From the CommCell Console, expand Client Computers > client.
  2. Right-click Exchange Database, and then click All Tasks > Browse and Restore.

    The Browse and Restore Options dialog box appears.

  3. Click View Content.
  4. In the left pane of the Client Browse window, expand Exchange Database > Microsoft Information Store > database.
  5. In the right pane, select the database that you want to restore, and then click Recover All Selected.

    The Restore Options for All Selected Items dialog box appears.

  6. From the Destination client list, select the appropriate client.
  7. In the Restore Options area, select Restore to another database.
  8. In the Destination DB/Out of Place Location column, click ...

    The Choose Database dialog box appears.

  9. Select a database, and then click OK.
  10. Click OK to close the Restore Options for All Selected Items dialog box.

Result

If you use Exchange 2013 or later and the database fails to mount after you restore the database, you must defragment the database.

Defragmenting the database using the ESEUTIL utility could result in data loss. Make sure that you review the relevant Microsoft documentation about the ESEUTIL utility before you perform this procedure.

  1. Run the following defragmentation command:

    Eseutil /d [edb file path]

    For example:

    Eseutil /d “E:\Mailbox\MDB01\MDB01.edb”

  2. Mount the stores manually after the restore.

Restoring to a Different Disk Location

You can restore the database stores to be a physically different location on disk (that is, non-Exchange location) with a choice of whether or not to replay the logs.

  1. From the CommCell Console, navigate to Client Computers | <Client>.
  2. Right-click Exchange Database and then click All Tasks | Browse and Restore.
  3. Click View Content.
  4. In the left pane of the Client Browse window, navigate to Exchange Database | Microsoft Information Store | <Storage Group>.
  5. Select the database to be restored in the right pane and click Recover All Selected.
  6. Select the Destination client.
  7. Select the Source DB and double-click in the Destination DB column.
  8. Select Out of place restore to file location.
  9. Click .. and select one of the following options in the Storage Group dialog box:
    • Restore to Non-Exchange Location <Out of Place> - The database will be restored to the specified location and the logs will be replayed.
    • Restore to Non-Exchange Location <Out of Place, No Recover> - The database will be restored to the specified location and the logs will not be replayed.
  10. Double click in the Out of Place Location column and click .. to specify the fully-qualified destination.
  11. Select the destination folder from the Destination client.
  12. Click OK.
  13. Click OK to start the restore.
  14. Manually mount the stores after the restore.

Restoring an Exchange Database as Files to a Non-Exchange Location

Applies to: Exchange 2010 or later

By default, the Exchange Database cannot be restored as a file.

  1. Install the Exchange Database Agent as a Restore Only Agent on a Non-Exchange Server.

    For details, see Installing Restore only Agents.

  2. From the CommCell Console, expand Client Computers | client.
  3. Right-click Exchange Database, and then click All Tasks | Browse and Restore.

    The Browse and Restore Options dialog box appears.

  4. Click View Content.
  5. In the right pane, select the database that you want to restore, and then Recover All Selected.
  6. Select the Destination client.

    This is the Non-Exchange Server with the Restore Only Agent Installed on it.

  7. Select Out of place restore to file location, and then click Without recovery for a Non-Exchange destination client.
  8. Browse and select the location on the Destination Client where you want to restore the database as a flat file.
  9. Click OK.

    You can use the Exchange Offline Mining Tool to locate and restore the email messages from these Exchange Database files(*.edb, *.log, and so on). For more details, see Exchange Offline Mining Tool.

Automatically Mount a Database After a Restore

Applies to: Exchange 2003

This option does not apply when restoring VSS-enabled backups.

You can automatically mount a database after a restore as follows:

  1. From the CommCell Browser, navigate to Client Computers |<Client>.
  2. Right-click the Exchange Database and click All Tasks | Restore.
  3. Click OK.
  1. In the left pane of the Client Browse window, navigate to Exchange Database | Microsoft Information Store | <Storage Group>.
  2. Select the database to be restored in the right pane and click Recover All Selected.
  3. Select the Mount database after restore check box.
  4. Select the Source DB and double-click in the Destination DB column.
  5. Click .. and select a storage group.
  6. Click OK to start the restore.

Restoring Logs

Applies to: Exchange 2003 and 2007

When you have not enabled VSS before performing a backup, you can choose the restore destination for database and logs as follows:

Restoring Logs to a Separate Location

  1. From the CommCell Browser, navigate to Client Computers |<Client>.
  2. Right-click the Exchange Database and click All Tasks | Restore.
  3. Click OK.
  1. In the left pane of the Client Browse window, navigate to Exchange Database | Microsoft Information Store | <Storage Group>.
  2. Select the database to be restored in the right pane and click Recover All Selected.
  3. Select the Source DB and double-click in the Destination DB column.
  4. Click .. and select a storage group.
  5. Click Advanced.
  6. Click the Exchange Options tab.
  7. Select Restore logs to separate location.
  8. Click Browse and select a destination folder for logs.
  9. Click OK.
  10. Click OK to start the restore.

Restoring Logs from the Last Backup

Follow the steps given below to restore only the log files backed up in the current cycle to a specified out-of-place location:

  1. From the CommCell Browser, navigate to Client Computers |<Client>.
  2. Right-click the Exchange Database and click All Tasks | Restore.
  3. Click OK.
  1. In the left pane of the Client Browse window, navigate to Exchange Database | Microsoft Information Store | <Storage Group>.
  2. Select the database to be restored in the right pane and click Recover All Selected.
  3. Click Advanced.
  4. Click the Exchange Options tab.
  5. Select Restore all the logs in cycle.
  6. Click OK.
  7. Click OK to start the restore.

Restoring Logs and Databases Simultaneously

Restore both the database and log files to a specified out-of-place location.

  1. From the CommCell Browser, navigate to Client Computers |<Client>.
  2. Right-click the Exchange Database and click All Tasks | Restore.
  3. Click OK.
  1. In the left pane of the Client Browse window, navigate to Exchange Database | Microsoft Information Store | <Storage Group>.
  2. Select the database to be restored in the right pane and click Recover All Selected.
  3. Click Advanced.
  4. Click the Exchange Options tab.
  5. Select Restore DBs and Logs in separate location.
  6. Click Browse and select a destination folder for logs and databases.
  7. Click OK.
  8. Click OK to start the restore.

Restoring to a Passive Copy (Seeding an Exchange DAG Passive Copy)

Applies to: Exchange 2010 or later

You can seed an Exchange DAG database passive copy by restoring the database to a passive node.

  1. Suspend the passive copy for the database.
  2. Mark the database for overwrite.
  3. From the CommCell Browser, expand Client Computers | client.
  4. Right-click Exchange Database, and then click All Tasks | Browse and Restore.

    The Browse and Restore Options dialog box appears.

  5. Click View Content.
  6. From the Browse window, select the contents for restore and click Recover All Selected.
  7. Select the passive node from the Destination client list.
  8. Click OK.
  9. After the restore job completes successfully, resume the copy status of the database.

Scheduling a Restore

  1. From the CommCell Browser, navigate to Client Computers | <Client>.
  2. Right-click the Exchange Database and click All Tasks | Restore.
  3. Click OK.
  4. Select one or storage groups in the left pane. The mailbox items (for example, calendars, journals, and so on) will be selected in the right pane.
  5. Click Recover All Selected.
  6. Click Job Initiation tab and click Schedule.
  7. Click Configure.
  8. Select the appropriate scheduling options.  For example:
  9. Click Weekly.
  10. Check the days you want the run the restore job.
  11. Change the Start Time to 9:00 PM.
  12. Click OK to close the Schedule Details dialog box.
  13. Click OK to close the Restore Options dialog box.

The restore job will run according to the schedule.

Listing Media

List media option is useful to predict media required for the following operations:
  • To restore data associated with a specific backup set, subclient or instance
  • To restore the index required to browse data associated with a specific backup set or subclient
  • To restore a specific file (or specific files and folders)
  • To restore data associated with a specific job
The list media operation can be performed for instances, backup sets, and subclients. The following sections describe each of these methods.

The List Media feature can also be used in a number of other capacities. Refer to the List Media documentation for a complete overview of this feature.

Listing Media for a Subclient

  1. From the CommCell Browser, navigate to Client Computers | <Client> | Exchange Database.
  2. Right-click the subclient for which you wish to list media in the right pane and then click List Media.
  3. From the List Media dialog box choose one of the following options:
    • Click Media For the Latest Data to list media associated with the most recent data protection cycle.
    • Click Specify Time Range to list media associated with data protection operations up to the specified date and time range. Use the Data Before box to specify the end date and time.
    • Click Advanced and then click Exclude Data Before to list media associated with data protection operations after the specified date and time.

    Note that you can use the Specify Browse Time and Exclude Data Before options to list media between a specified date and time range.

  4. Click OK.

    The appropriate media is listed in the Media dialog box.

Managing Restore Jobs

Once you initiate the restore operation, a restore job is generated in the Job Controller. Jobs can be managed in a number of ways. The following sections provide information on the different job management options available:

Restarting Jobs

Jobs that fail to complete successfully are automatically restarted based on the job restartability configuration set in the Control Panel. Keep in mind that changes made to this configuration will affect all jobs in the entire CommCell.

To configure the job restartability for a specific job, you can modify the retry settings for the job. This will override the setting in the Control Panel. It is also possible to override the default CommServe configuration for individual jobs by configuring retry settings when initiating the job. This configuration, however, will apply only to the specific job.

Backup jobs for this agent are resumed from the point-of-failure.

Configure Job Restartability at the CommServe Level

  1. From the CommCell Console toolbar, click Control Panel.
  2. Under the System section, click Job Management.
  3. Click Job Restarts tab and select a Job Type.
    • Select Restartable to make the job restartable.
    • You can change the value for Max Restarts to change the maximum number of times the Job Manager will try to restart a job.
    • You can change the value for Restart Interval (Mins) to change the time interval between attempts for the Job Manager to restart the job.
  4. Click OK.

Controlling Jobs

The following controls are available for running jobs in the Job Controller window:

Suspend

Temporarily stops a job. A suspended job is not terminated; it can be restarted at a later time.

Resume

Resumes a job and returns the status to Waiting, Pending, Queued, or Running. The status depends on the availability of resources, the state of the Operation Windows, or the Activity Control setting.

Kill

Terminates a job.

Suspending a Job

  1. From the Job Controller of the CommCell Console, right-click the job and select Suspend.
  2. The job status may change to Suspend Pending for a few moments while the operation completes. The job status then changes to Suspended.

Resuming a Job

  1. From the Job Controller of the CommCell Console, right-click the job and select Resume.
  2. As the Job Manager attempts to restart the job, the job status changes to Waiting, Pending, or Running.

Killing a Job

  1. From the Job Controller of the CommCell Console, right-click the job and select Kill.
  2. Click Yes when the confirmation prompt appears if you are sure you want to kill the job. The job status may change to Kill Pending for a few moments while the operation completes. Once completed, the job status will change to Killed and it will be removed from the Job Controller window after five minutes.

Additional Restore Options

Several additional options are available to further refine your restore operations. The following table describes these options, as well as the steps to implement them.

Be sure to read the overview material referenced for each feature prior to using them.

Option Description Related Topic
Use hardware revert capability if available You can revert the data to the time that the snapshot was created. The entire LUN is returned to the point when the snapshot was created, and overwrites all the changes to data on the volume, including all the Exchange databases, since the snapshot was created.

This option is available only if the snapshot engine that was used for SnapProtect backup supports the revert operation.

  1. From the CommCell Browser, expand Client Computers > client.
  2. Right-click Exchange Database, and then click All Tasks > Browse and Restore.

    The Browse and Restore Options dialog box appears.

  3. Click View Content.
  4. In the right pane of the Client Browse window, select all the databases on the volume, and then click Recover All Selected.

    After the hardware revert from the full backup, only the transaction logs of selected databases are restored. Therefore, you must select all the databases on the volume so that all the corresponding transaction logs are restored. Otherwise, databases that you do not select for restore revert to the state that they were in at the last full backup.

    The Restore Options for All Selected Items dialog box appears.

  5. Click Advanced.

    The Advanced Restore Options dialog box appears.

  6. Select the Use hardware revert capability if available check box.
  7. Click OK.
 
Startup Options

The Startup Options are used by the Job Manager to set priority for resource allocation. This is useful to give higher priority to certain jobs. You can set the priority as follows:

  1. From the CommCell Browser, expand Client Computers | client.
  2. Right-click Exchange Database, and click All Tasks | Browse and Restore.

    The Browse and Restore Options dialog box appears.

  3. Click View Content.
  4. In the right pane, select the database that you want to restore, and then click Recover All Selected.

    The Restore Options for All Selected Items dialog box appears.

  5. Click Advanced.
  6. In the Advanced Restore Options dialog box, click Startup.
  7. On the Startup tab, select Change Priority.
  8. Enter a priority number - 0 is the highest priority and 999 is the lowest priority.
  9. Select the Start up in suspended State check box to start the job in a suspended state.
  10. Click OK.
Refer to Job Priority and Priority Precedence.
Copy Precedence By default, the system retrieves data from the storage policy copy with the lowest copy precedence. If the data was pruned from the primary copy, the system automatically retrieves data from the other copies of the storage policy in the lowest copy precedence to highest copy precedence order. Once the data is found, it is  retrieved, and no further copies are checked.

You can retrieve data from a specific storage policy copy (Synchronous Copy or Selective Copy). If data does not exist in the specified copy, the data retrieve operation fails even if the data exists in another copy of the same storage policy. Follow the steps given below to retrieve the data from a specific storage policy copy:

  1. From the CommCell Browser, expand Client Computers | client.
  2. Right-click Exchange Database, and click All Tasks | Browse and Restore.

    The Browse and Restore Options dialog box appears.

  3. Click View Content.
  4. In the right pane, select the database that you want to restore, and then click Recover All Selected.

    The Restore Options for All Selected Items dialog box appears.

  5. Click Advanced.
  6. In the Advanced Restore Options dialog box, click Copy Precedence.
  7. On the Copy Precedence tab, select the Restore from copy precedence check box.
  8. Enter the copy precedence number.
  9. Click OK.
Refer to Recovering Data From Copies.
Data Path Options

The data recovery operations use a default Library, MediaAgent, Drive Pool, and Drive as the Data Path. You can use this option to change the data path if the default data path is not available.

Note: If you used a UNIX MediaAgent to perform the SnapProtect backup:

  • Change the value of the Allow restore jobs to use alternative MediaAgent and Drive Pool to access required media on the Resource Manager Configuration tab of the Media Management Configuration dialog box to 1. For more information, see Media Management Configuration: Resource Manager Configuration.
  • Select a Windows MediaAgent on the Data Path tab of the Advanced Restore Options dialog box to perform the restore operation.

Otherwise, the restore job will fail.

  1. From the CommCell Browser, expand Client Computers | client.
  2. Right-click Exchange Database, and click All Tasks | Browse and Restore.

    The Browse and Restore Options dialog box appears.

  3. Click View Content.
  4. In the right pane, select the database that you want to restore, and then click Recover All Selected.

    The Restore Options for All Selected Items dialog box appears.

  5. Click Advanced.
  6. In the Advanced Restore Options dialog box, click Data Path.
  7. On the Data Path tab, select the MediaAgent and Library.
  8. Select the Drive Pool and Drive for tape library.
  9. Select the name of the Proxy server if you want to restore using a proxy server.

    You can select the Proxy server only when you are restoring from a snapshot. This option is not available for a regular restore.

  10. Click OK.
Refer to Change Data Path.
Encryption

If the client's data is encrypted with a pass phrase, you must enter the pass-phrase to start the data recovery operation. Follow the steps given below to enter the pass-phrase:

  1. From the CommCell Browser, expand Client Computers | client.
  2. Right-click Exchange Database, and click All Tasks | Browse and Restore.

    The Browse and Restore Options dialog box appears.

  3. Click View Content.
  4. In the right pane, select the database that you want to restore, and then click Recover All Selected.

    The Restore Options for All Selected Items dialog box appears.

  5. Click Advanced.
  6. In the Advanced Restore Options dialog box, click Encryption.
  7. Enter the Pass Phrase.
  8. Click OK.
Refer to Data Encryption.
Alerts

This option enables users or user groups to get automatic notification on the status of the data recovery job. Follow the steps given below to set up the criteria to raise notifications/alerts:

  1. From the CommCell Browser, expand Client Computers | client.
  2. Right-click Exchange Database, and click All Tasks | Browse and Restore.

    The Browse and Restore Options dialog box appears.

  3. Click View Content.
  4. In the right pane, select the database that you want to restore, and then click Recover All Selected.

    The Restore Options for All Selected Items dialog box appears.

  5. Click Advanced.
  6. In the Advanced Restore Options dialog box, click Alerts.
  7. Click Add Alert.
  8. From the Add Alert Wizard dialog box, select the required threshold and notification criteria and click Next.
  9. Select the required notification types and click Next.
  10. Select the recipients and click Next.
  11. Click Finish.
  12. Click OK.
Refer to Alerts and Notifications.
CommCell Readiness Report The CommCell Readiness Report provides you with vital information such as connectivity and readiness of the Client, MediaAgent, and CommServe. It is useful to run this report before performing a backup or a recovery operation. Follow the steps given below to generate the report:
  1. On the CommCell Console menu bar, select the Reports tab.
  2. Click Readiness.

    The Report Selection dialog box appears.

  3. If necessary, select Reports | CommServe | CommCell Readiness in the left pane.
  4. Select the Computers tab, and then click Modify below the Computers list.
  5. In the dialog box that appears, clear Include All Client Computers and All Client Groups.
  6. Select the appropriate client from the Exclude list, and then click Include >.
  7. Click OK.
  8. Select the MediaAgent tab, and then clear Include All MediaAgents.
  9. Select the appropriate MediaAgent from the Exclude list, and then click Include >.
  10. Click Run.

    The report appears in your default Web browser.

Refer to CommCell Readiness Report.
Restore Job Summary Report

The Restore Job Summary Report provides you with information about all the data recovery jobs that are run in last 24 hours for a specific client and agent. You can get information such as failure reason, failed objects, job options, and so on. It is useful to run this report after performing the restore. Follow the steps given below to generate the report:

  1. On the CommCell Console menu bar, select the Reports tab.
  2. Click Summary.

    The Report Selection dialog box appears.

  3. If necessary, select Reports | Jobs | Job Summary in the left pane.
  4. On the General tab, select Data Recovery Jobs.
  5. Select the Computers tab.
  6. Select the appropriate client and the appropriate agent.
  7. Click Run.

    The report appears in your default Web browser.

Refer to Restore Job Summary Report.