Using Data Protection Manager 2007 SP1 to Complete an Exchange 2007 SP1 Database Recovery

 

This blog post will walk you through the process of restoring Exchange Server 2007 SP1 Storage groups that have been previously backed up by using Microsoft’s Data Protection Manager 2007 (MS DPM 2007).

These steps and screenshots are provided from the following environment:

DPM Server

  • Hyper-V Guest
  • Windows Server 2008 R2 Enterprise
  • 2 GB of Physical Memory
  • Microsoft Data Protection Manager Version 2.0.8861 Post SP1 Rollup 6 KB976542

 

Exchange 2007 Server

  • Hyper-V Guest
  • Windows Server 2003 SP2 Enterprise x64
  • 1 GB of Physical Memory
  • Microsoft Exchange 2007 Version 08.01.0393.001

Exchange Recovery Storage Group Creation

To perform a database restore you must first create an Exchange Recovery Storage Group

 

1. Open the Exchange Management Console. Select the Toolbox on the left hand side. On the right hand pane select Database Recovery Management.

image

2. Enter the Server and User information. For our purpose the information was prefilled. Select the “Next” link

image

3. In the Task Center select “Create a recovery storage group”.

image

4. Select the Original Storage group to link the Recovery Storage group to. For demonstration we are linking to the First Storage Group. Select Next.

image

5. The Create the Recovery Storage Group page shows the pathing information of the original and the recovery storage groups. You will want to note the Recovery database path. Click “Create the recovery storage group link”.

image

6. Verify that the recovery storage group was created successfully. Click “Go back to task center” link.

image

7. In the task center select the “Mount or dismount databases in the recovery storage group” link

image

8. Select the Mailbox Database to Mount and select the “Mount selected database” link

image

9. Verify that the database mounted successfully. This will create the Recovery database and log files. Select the link to “go back to the task center”

image

10. Select the “Mount or dismount databases in the recovery storage group” link

image

11. Select the Mounted Database and click on the “Dismount selected database” link

image

12. Verify that the database has been successfully dismounted. Click the link to “Go back to the task center”

image

13. Select the “Set up ‘Database can be overwritten by restore’ flag” This will allow DPM to overwrite the database with the backup.

clip_image037

14. Select the Database where you would like the overwrite flag to be set. Select the “Next” link

image

15. Verify that the ‘Database can be overwritten by restore’ flag has been set. Select the “Go back to task center link”

image

16. In Windows Explorer browse to the Recovery Storage Group location noted in step 5 above.

clip_image046

17. Select all files in the Recovery Storage Group folder and delete them. *Note the Recovery Storage Group naming convention consists of RSGyyyymmddhhmmss

Example:

RSG20091228163301

If you get a sharing violation you have not dismounted the database from the Exchange System Manager

clip_image048

Data Protection Manager Exchange Database Restore

1. In the Data Protection Management Console, Select the Recovery Tab. Drill down to the storage group that you want to recovery, make sure that this is the same storage group that you linked the recovery storage group to.

clip_image050

2. Select to highlight the Database under “Recoverable Items” right click and select “Recover”.

clip_image052

3. Review the Recovery information. And click “Next”

clip_image054

4. Select the Recovery type. In this step we are restoring to the Recovery Storage Group. Select “Recover to Recovery Storage Group” Click “Next”

clip_image056

5. Click Browse to enter the Exchange server. Enter the name of the storge group which will be “Recovery Storage Group” and enter the database name. This needs to match the original database name. Click “Next”

clip_image058

6. You can keep the defaults which are to “Mount the databases after they are recovered”. Click “Next”

clip_image060

7. Verify the recovery settings. Click “Recover”

clip_image062

8. Recovery Status

clip_image064

9. Verify that the Recovery was successful.

clip_image066

Exchange Mailbox Merge

1. Once the database has been restored you can used the Exchange Management Console to “Merge or copy the mailbox contents”. Select the “Merge or copy mailbox contents” link

clip_image068

2. Make sure that the mounted database is the database that you would like to merge into the linked storage group. Click on the “Gather merge information” link

clip_image070

3. Click on the “Perform pre-merge tasks” link

clip_image072

4. The mailboxes that can be merged are listed. Select the mailboxes that you want to merge/copy the data to. Select “Perform merge actions”

clip_image074

5. Verify that the Mailbox data has been restored successfully.

clip_image076

This post is a joint effort by Lisa Conley and myself, in the coming weeks we will be working on the same guides for Exchange Server 2003 and 2010! Stay Tuned!