Backup / Restore of Microsoft Exchange Server (VSS-aware backup sets)

Posted by Sebrina Pilcher on Saturday, June 1, 2024
Backup / Restore of Microsoft Exchange Server (VSS-aware backup sets)

Backup / Restore of Microsoft Exchange Server (VSS-aware backup sets)

Creation Date: May 18, 2010

Revision Date: May 10, 2013

Product: DS‑Client (Windows)

Summary

This article covers various backup / restore issues for Microsoft Exchange Server backups (using the VSS-aware backup set type).

See Also

Database Backup Policy (VSS-aware sets)

Database backup policy options can help reduce the backup time for very large databases (where the dump takes up significant time).

You can configure the backup set to perform differential database backups. Differential backups contain all the changes to the database since the last full dump.

Full dump: Always

[Default] This is the default behavior for all Microsoft Exchange Server backups.

Each backup of the Exchange Server performs a full dump (VSS Snapshot) of each database.

Full dump:

Plus Differential

Performs a full dump (VSS Snapshot) of the database on first backup, followed by differential backups until another full backup is needed (*).

Full dump:

Plus Incremental

Performs a full dump of the database on first backup, followed by incremental backups until another full dump is needed (*).

(*) A full dump is needed (other than first time) when:

a database has been backed up by another backup set (or manually from the Exchange tools);

a database has been restored (either from another database or an earlier generation);

the database properties have been modified (recovery model switched to ‘simple’);

a set number of consecutive differential backups have been performed, unless over-ruled with the Do not start full dump option. This uses the same number set in the DS-Client Advanced Configurations MasterGenerations parameter (note: this parameter is also used for another purpose).

NOTE:  DS-Client can take advantage of the differential backup policy if the backup set (of the Exchange database) is the only process that backs up that target. If another backup set is used to backup the database (or the internal Exchange commands are used to perform manual backups / dumps), then the backup policy requires the next backup to be a full dump.

Database Backup Policy Full Backup Schedule Over-ride Rules:

These rules are optional. They allow greater control when a Full Backup can occur (e.g. not during business hours).

IMPORTANT:  Full dumps can be delayed, but a full database dump needs to be performed at regular frequency to protect the integrity of the database backup. By default, DS-Client allows a full backup to be skipped a maximum of 120 consecutive times. This number is configurable in the DS-Client Advanced Configuration options ‘MaxNonFullDumps’ parameter (see “DS-Client Advanced Configurations”).

Data integration issues

Each Exchange database is presented as a component by the Exchange VSS Writer. In the VSS-based Exchange restore, a component must be restored with all its contents (the file snapshot) based on the rules specified in its Metadata.

These issues are similar to those in VSS-aware backups of Microsoft Hyper-V.

Truncation of transaction log with VSS-aware backup sets

The Truncate Transaction Log option is not available in DS-Client for VSS-aware backups of Microsoft Exchange 2007. The truncation of transaction log files is controlled by Microsoft components. How the truncation is triggered differs depending of the kind of backup being performed (for example, non-DAG configurations versus DAG replicated configurations). For more information, see Microsoft Developer Network documentation.

Restore Issues

The DS-Client can only restore an Microsoft Exchange Mailbox Database if the destination database for the restore is in ‘mounted’ state.

DS-Client performs the following steps during a restore of a VSS-aware Microsoft Exchange Server:

1.Checks if the destination DB for restore is in ‘mounted’ state.

2.Retrieves information from the mounted DB, including physical path and DB GUID.

3.Dismounts the database.

4.If restoring to the original location: Replaces the DB files in the physical location. If restoring to an alternate location: Restores logs to a "restoredlogs" folder, then restore the Exchange DB files to the physical location. VSS Writers will apply the logs from the restoredlogs folder and then the directory will be removed.

5.Mounts the Microsoft Exchange Database.

Microsoft Exchange Server 2007: File Restore to Recovery Storage Group (RSG)

A direct VSS restore to a Microsoft Exchange Server 2007 RSG is not supported. However, you can use the File Restore method to restore the backup files, then manually load those files to the RSG.

1.Restore the Exchange files before creating the RSG.

a)DS-User > Restore Now: In the Restore Wizard click File Restore.

b)For each database you want to restore, select the entire backup folder (including all log files).

c)Restore to the original or alternate location, as required.

2.When you create the RSG, specify the location where you have restored the database and log files.

3.Before mounting the database, run the “eseutil” in the database directory, which will reset the database to a clean shutdown state. For example:

eseutil /r e00 /i /d

4.Mount the database in your RSG.

Microsoft Exchange Server 2010 or later: File Restore to Recovery Database (RDB)

A direct VSS restore to a Microsoft Exchange Server 2010 or later RDB is not supported. However, you can use the File Restore method to restore the backup files, then manually load those files to the RDB.

1.Restore the Exchange files before creating the RDB.

a)DS-User > Restore Now: In the Restore Wizard click File Restore.

b)For each database you want to restore, select the entire backup folder (including all log files).

c)Restore to the original or alternate location, as required.

2.When you create the RDB, specify the restored database name.

3.Before mounting the database, run the “eseutil” in the database directory, which will reset the database to a clean shutdown state. For example:

eseutil /r e00 /i /d

4.Mount your RDB.

NOTE:  Only one RDB can be mounted at a time. If you try to mount more than one, you will get an error.

Item-Level Restore of Microsoft Exchange Server 2010 or later

VSS-aware backups of Microsoft Exchange Server 2010 or later have a granular restore capability. This allows you to restore at the individual item-level from a backed up Microsoft Exchange database.

Requirements

The backup must be made using the VSS-aware backup set type.

The target Exchange server where you want to perform the Item-Level restore must have DS-Recovery Tools installed and running. This is a separate installation. For detailed instructions, see the Client Software Installation Guide.

The DS-Recovery Tools service account must have access to the Microsoft Exchange server where the items are going to be restored.

There are two steps to performing a ‘granular restore’: Step 1) Restore the database and Step 2) Restore Items. The first step restores the Exchange database at the point-in-time that contains the items you want to restore. The second step involves connecting to that database and selecting the individual items you want to restore.

1.Browse the Backup Sets tree and highlight the one you want to restore.

2.Right-click and select Restore Now.

3.In the Select the VSS Restore Method screen, select the Granular Restore option Step 1. Database Restore.

NOTE:  If you are restoring from a BLM Restorable Image or Disc/Tape media, you can only perform Step 1 - the database restore from that media. Step 2 must always be performed from the database restored in Step 1.

4.Click Next. In the Select directories/files for restore screen, select the Exchange database to restore.

5.Click Next. In the Select database restore location screen, choose where you want to restore the database and log files.

In general, it is easier to restore both the database and the log files to the same location. Remember, you are only restoring these files temporarily so that you can perform Step 2 (the Item-Level restore).

6.Click Next. The Select restore performance options screen appears.

These options are intended for large backup sets in high performance environments. In general, you should use the defaults and skip to the next screen.

7.Click Next. In the Select restore options screen, select the Exchange database restore options.

8.Click Finish. The restore process begins. After the database has been restored to a Microsoft SQL server, you can proceed to step 2 (restoring at Item-Level).

9.Browse the Backup Sets tree and highlight the same backup set. Right-click and select Restore Now.

10.In the Select the VSS Restore Method screen, select the Granular Restore option Step 2. Items Restore.

11.Click Next. The Select database restore location screen appears.

12.Select the target Microsoft Exchange Server where you want to restore at item-level from the restored database.

NOTE:  The Microsoft Exchange Client Access Server you select should be running the DS-Recovery Tools (separate installation required). If it is not running on the same machine as the Microsoft Exchange Mailbox Server, specify the machine in this screen. The DS-Recovery Tools (DS-MLR) service should be running.

13.Click Next. The Verify Prerequisites screen appears. Wait until DS-Client completes a compatibility check with the selected restore location. You can only continue when all prerequisite checks have passed.

14.Click Next. The Select EDB file path and log folder path screen appears.

15.In this screen specify the restored database from Step 1. Specify an Exchange Database File and Log folders to use for item-level restore.

16.Click Next.

The Mount Recovery Database screen appears. This screen is read-only. DS-Client takes the selected Microsoft Exchange database file and prepares it for Item-Level restore.

You can proceed to the next screen only when all checks have passed.

17.Click Next. The Select E-Mails for Restore screen appears.

18.In this screen, you use Mailbox and E-Mails to open wizards where you can add items to the E-Mail List for restore.

Mailbox: To restore an entire Exchange Mailbox, highlight the one you want. In the Source Folder section, select All or specific folder(s).

a)You can select one item per pass through the wizard.

b)Click Next. Select the target destination mailbox and folder for restore.

c)Select the target mailbox and folder to restore to.

d)Click Finish.

E-Mails: To restore specific emails, click E-Mails. The Select Search Criteria screen appears.

a)Enter the search filter you want to use. The wizard will search for emails matching your input.

b)Click Next.

c)Select the Mailboxes that you want to search.

The Wizard will search only Mailboxes added to the “Selected Mailboxes” list.

d)Click Next.

e)Select the emails that you want to restore from the list in the top section and click Add.

f)Repeat until you have added all the emails you want to restore.

g)Click Next. Choose the destination where you want to restore.

h)Click Finish.

19.Click Next. The Select E-Mails for Restore screen returns with your restore selections added.

20.Continue adding restore items until you are ready to execute the restore.

21.Click Next. The Select restore options screen appears.

22.Click Finish. The restore process begins.


ncG1vNJzZmirY2Ourq3ZqKWar6NjsLC5jpqqop%2Bilnqlu8KupJ6mpJbBqrvNaH%2BepKBkkZR5oqWgnqakWn9xlMSlp2h8g2KQrbXEp6uYgJWhvXCOwJyirqiPlH%2Bnq7Geqq2nopqssLK%2BhqCcqp%2BovKfAvn6vnKCRo7Smq7Keqa%2BdopR1l3rHraSl