System Center 2012 Data Protection Manager (DPM) SP1 - Part 3: Backup and Recover Mailbox Exchange Server 2013

In my LAB I use three computers:

*** ***

- DC2012: Domain Controller (domain mcthub.local) running Windows Server 2012.

***- DPMSERVER: ***Domain Member running Windows Server 2012, this computer has been installed DPM 2012 SP1.
(You can see Part 1)

- EXCHANGE1: Domain Member running Windows Server 2012 and Exchange Server 2013 (Mailbox Role and Client Access Role)

(You can see: Installing Exchange 2013)

Now, you need to configure the storage pool. DPM 2012 requires a disk that is dedicated to the storage pool. I have a disk connected to this computer (Disk 0) as a good disk to configure as DPM storage.

http://mcthub.com/images/ContentLab/DPM3-En_files/image001.jpg

Open DPM Administrator Console, in the Management task area, on the Disks tab, in  the Actions pane, click Add button. A warning pops-up asking that the disk will be converted to dynamic, click Yes.

http://mcthub.com/images/ContentLab/DPM3-En_files/image002.jpg

          The disk will show up as belonging to the DPM storage pool. Choose the disk and click ***Add ***button

http://mcthub.com/images/ContentLab/DPM3-En_files/image003.jpg

Click OK  button

http://mcthub.com/images/ContentLab/DPM3-En_files/image004.jpg

Make sure status of the disk is Healthy

http://mcthub.com/images/ContentLab/DPM3-En_files/image005.jpg

 

Switch to EXCHANGE1, open Exchange admin center, navigate to servers - databases  you can see EXCHANGE1 server hosting a mailbox database named Mailbox Database 1

http://mcthub.com/images/ContentLab/DPM3-En_files/image006.jpg

 

Navigate to recipients - mailboxes you can see I have several mailboxes

http://mcthub.com/images/ContentLab/DPM3-En_files/image007.jpg

 

Installing Agent

Switch to DOMSEREVR. To install a Protection Agent, in the Management task, on the Agents tab, click Install . http://mcthub.com/images/ContentLab/DPM3-En_files/image008.jpg

 

The Protection Agent Installation wizard appears and guides you through the process of creating the protection agent. Select Install agents - click  Next

http://mcthub.com/images/ContentLab/DPM3-En_files/image009.jpg

Select one or more computers from the Computer name list (I select EXCHANGE1) and click Add

http://mcthub.com/images/ContentLab/DPM3-En_files/image010.jpg

Make sure that EXCHANGE1 has appeared in the "Selected computers" box, click Next

http://mcthub.com/images/ContentLab/DPM3-En_files/image011.jpg

Type the user name and password for a domain user account that is a member of the local administrators group on all selected servers and click Next.

http://mcthub.com/images/ContentLab/DPM3-En_files/image012.jpg

DPM will try to detect clusters

http://mcthub.com/images/ContentLab/DPM3-En_files/image013.jpg

 

Select the method you will use to restart the computers after the protection agent is installed. Click Nexthttp://mcthub.com/images/ContentLab/DPM3-En_files/image014.jpg

Click Install to start installation

http://mcthub.com/images/ContentLab/DPM3-En_files/image015.jpg

After the installation was successful - Click Close

http://mcthub.com/images/ContentLab/DPM3-En_files/image016.jpg

Verify status of the agent is  OK

http://mcthub.com/images/ContentLab/DPM3-En_files/image017.jpg

** **

Verify the success of the installation process

Switch to EXCHANGE1, if the agent is installed, it will now appear on the Programs and Features http://mcthub.com/images/ContentLab/DPM3-En_files/image018.jpg

 

http://mcthub.com/images/ContentLab/DPM3-En_files/image019.jpg

- Open Services Console. You will see that DPMRA service is Running, and you need to set Startup type to Automatic - Click OK

 

http://mcthub.com/images/ContentLab/DPM3-En_files/image020.jpg

 

- Next, you must copy the ese.dll and eseutil.exe files (usually located at C:\Program Files\Microsoft\Exchange Server\V15\Bin) to the DPM Server. The eseutil.exe and ese.dll versions that are installed on the most recent release of Exchange Server must be the same versions that are installed on the DPM server. In addition, you must update eseutil.exe and ese.dll on the DPM server if they are updated on a computer running Exchange Server after applying an upgrade or an update

http://mcthub.com/images/ContentLab/DPM3-En_files/image021.jpg

 

Paste the two files to ***C:\Program Files\Microsoft System Center 2012\DPM\DPM\bin ***folder on the DPM server

http://mcthub.com/images/ContentLab/DPM3-En_files/image022.jpg

 

Creating Protection Group

            To create a Protection Group, in the Protection task, click New button

http://mcthub.com/images/ContentLab/DPM3-En_files/image023.jpg

 

The New Protection Group Wizard appears and guides you through the process of creating the protection group - Click Next

http://mcthub.com/images/ContentLab/DPM3-En_files/image024.jpg

- Select  Servers - Click Next

http://mcthub.com/images/ContentLab/DPM3-En_files/image025.jpg

- Select ***Mailbox Database 1 ***on ***EXCHANGE1 ***server - Click Next

http://mcthub.com/images/ContentLab/DPM3-En_files/image026.jpg

- Type an arbitrary name for Protection Group.  Select I want short-term protection using check box for short-term protection and then select the media you want to use from the drop-down list. Because my server do not have a tape attached to the DPM server, only Disk is available. Click Nexthttp://mcthub.com/images/ContentLab/DPM3-En_files/image027.jpg

Select the Run Eseutil to check data integrity check box to check the integrity of the Exchange Server databases.  If you didn’t previously copy the eseutil file, you’ll see an error

http://mcthub.com/images/ContentLab/DPM3-En_files/image028.jpg

 

On the  Specify Exchange DAG Protection page, Click Next because in my Exchange system does not currently exist DAG

(See about configuring DAG in my previous article)

http://mcthub.com/images/ContentLab/DPM3-En_files/image029.jpg

Select the retention duration for data recovery in the Retention range box. In the Synchronization frequency section, enter the frequency of the incremental backups. click Next

http://mcthub.com/images/ContentLab/DPM3-En_files/image030.jpg

DPM will display its recommended disk allocations, accept default values - click Next

http://mcthub.com/images/ContentLab/DPM3-En_files/image031.jpg

Select when you want DPM to execute the initial replication of your data, I select Now  and click Next

http://mcthub.com/images/ContentLab/DPM3-En_files/image032.jpg

Choose either the Run a consistency check if a replica becomes inconsistent or the Run a daily consistency check according to the following schedule. Click Next.

http://mcthub.com/images/ContentLab/DPM3-En_files/image033.jpg

Review the tasks that DPM is set to perform to create the protection group and click Create Group

http://mcthub.com/images/ContentLab/DPM3-En_files/image034.jpg

Click Close when completed

http://mcthub.com/images/ContentLab/DPM3-En_files/image035.jpg

Verify status of Protection Group. If you see status is Replica creation in progress, please patient and wait until status is OK

http://mcthub.com/images/ContentLab/DPM3-En_files/image036.jpg

http://www.microsoft.com/en-us/download/details.aspx?id=30679

http://mcthub.com/images/ContentLab/DPM3-En_files/image037.jpg

Installing  Visual C++ Redistributable for Visual Studio 2012 Update 3

http://mcthub.com/images/ContentLab/DPM3-En_files/image038.jpg

Accept the license information and click Install

http://mcthub.com/images/ContentLab/DPM3-En_files/image039.jpg

Click  Close

http://mcthub.com/images/ContentLab/DPM3-En_files/image040.jpg

Then perform consistency check again

http://mcthub.com/images/ContentLab/DPM3-En_files/image041.jpg

 

Wait until status of the protection group is OK

http://mcthub.com/images/ContentLab/DPM3-En_files/image042.jpg

 

At this point, the backup process for Exchange Server 2013 mailbox database has completed. I will now proceed emulator error to recover. DPM allows you to recover all data, recover a single mailbox database or recover a single mailbox. To simulate the complete loss of the **Mailbox Database 1 **database, I stopped the Microsoft Exchange Information Store service 

http://mcthub.com/images/ContentLab/DPM3-En_files/image043.jpg

 

Then I  deleted the .edb file,

http://mcthub.com/images/ContentLab/DPM3-En_files/image044.jpg

Then I start ***Microsoft Exchange Information Store ***service

http://mcthub.com/images/ContentLab/DPM3-En_files/image045.jpg

 

Open Exchange admin center, refresh and verify Mailbox Database 1 appear as dismounted http://mcthub.com/images/ContentLab/DPM3-En_files/image046.jpg

 

Try to mount Mailbox Database 1

http://mcthub.com/images/ContentLab/DPM3-En_files/image047.jpg

 

You will see an error dialog box as shown below http://mcthub.com/images/ContentLab/DPM3-En_files/image048.jpg

Open Outlook App using URL https://exchange1.mcthub.local/owa, you'll see a error message as shown bellow

http://mcthub.com/images/ContentLab/DPM3-En_files/image049.jpg

 

Now you must go to the Exchange Server in order to allow the database to be overwritten by the restore. If you miss this step, the restore will fail. Open **Exchange Administration Center ** and navigate to servers >databases, select Mailbox Database 1, click Edit button. on **maintenance **tab, select the This database can be overwritten by a restore check box and click save http://mcthub.com/images/ContentLab/DPM3-En_files/image050.jpg

 

Switch DPMSERVER. Open DPM Administrator Console and click Recovery . Browse to the mailbox database you wish to recover (Mailbox Database 1) in the All Protected Exchange Data node. Click any bold date in the calendar, select the Latest recovery point from the Recovery time drop-down box and click Recover  to launch the Recovery Wizard 

http://mcthub.com/images/ContentLab/DPM3-En_files/image051.jpg

Review the recovery selection and click Next 

http://mcthub.com/images/ContentLab/DPM3-En_files/image052.jpg

Select **Recover to original Exchange Server location **and click Next http://mcthub.com/images/ContentLab/DPM3-En_files/image053.jpg

 

Make sure Mount the databases after they are recovered checkbox is selected and click Next

http://mcthub.com/images/ContentLab/DPM3-En_files/image054.jpg

Click ***Recover ***button to start recover

http://mcthub.com/images/ContentLab/DPM3-En_files/image055.jpg

This action will take a few moments to complete.  Please wait http://mcthub.com/images/ContentLab/DPM3-En_files/image056.jpg

Click  Close when finished

http://mcthub.com/images/ContentLab/DPM3-En_files/image057.jpg

 

Check out the success of the recovery process. Click Monitoring, you will see Alert column display as "Recovery success"

http://mcthub.com/images/ContentLab/DPM3-En_files/image058.jpg

Switch to EXCHANGE1 verify .edb file has been restored

http://mcthub.com/images/ContentLab/DPM3-En_files/image059.jpg

 

Open Exchange admin center, refresh and verify Mailbox Database 1 appear as mounted http://mcthub.com/images/ContentLab/DPM3-En_files/image060.jpg

 

Verify by opening Outlook Web App

http://mcthub.com/images/ContentLab/DPM3-En_files/image061.jpg

 

Next situation I will simulate a specific user lost mail, open Outlook Web App and delete all messages

http://mcthub.com/images/ContentLab/DPM3-En_files/image062.jpg

 

DPM 2012 supports the recovery of individual mailboxes, to recover a mailbox, DPM must copy the entire database, because this is the recommended method that Exchange supports, so you create a recovery database attempting this recover , I will create a recovery database named RecoverDB by using two following commands in Exchange Management Shell

*** ***

New-MailboxDatabase -Recovery -Name RecoverDB -Server EXCHANGE1

*** ***

Set-MailboxDatabase -Identity ReciverDB -AllowFileRestore $true

*** ***

http://mcthub.com/images/ContentLab/DPM3-En_files/image063.jpg

 

Then you must restart ***Microsoft Exchange Information Store ***service to take affect

http://mcthub.com/images/ContentLab/DPM3-En_files/image064.jpg

 

Verify the list of mailbox databases by using command Get-MailboxDatabase

http://mcthub.com/images/ContentLab/DPM3-En_files/image065.jpg

 

Now I'll recover Administrator 's mailbox to ***RecoverDB ***database. Switch to DPMSERVER. Select Recovery - All Protected Exchange Data - Mailbox Database 1 - select Administrator. You cannot select Latest as the recovery point, this functionality is not available for individual mailboxes http://mcthub.com/images/ContentLab/DPM3-En_files/image066.jpg

Click Recover

http://mcthub.com/images/ContentLab/DPM3-En_files/image067.jpg

Review the tasks that DPM is set to perform to recover the mailbox of Administrator  and  click Next

http://mcthub.com/images/ContentLab/DPM3-En_files/image068.jpg

Select Recover mailbox to an Exchange server database to recover the mailbox to its original server, or select Copy to a network folder to copy the database files to a separate folder location - Click Next

http://mcthub.com/images/ContentLab/DPM3-En_files/image069.jpg

Specify the location to write the recovered mailbox database to (The Recovery Mailbox you created in previous step)

http://mcthub.com/images/ContentLab/DPM3-En_files/image070.jpg

Click  Next

http://mcthub.com/images/ContentLab/DPM3-En_files/image071.jpg

Review your selected settings and click Recover

http://mcthub.com/images/ContentLab/DPM3-En_files/image072.jpg

This action will take a few moments to complete.  Please wait http://mcthub.com/images/ContentLab/DPM3-En_files/image073.jpg

When the recovery is complete, click Close

http://mcthub.com/images/ContentLab/DPM3-En_files/image074.jpg

 

When the recovery is complete, all messages of  Administrator has been restored to ***RecoverDB ***database, The final step to restore the mailbox is to run a following command:

 

New-MailboxRestoreRequest –SourceDatabase RecoverDB –SourceStoreMailbox Administrator –TargetMailbox Administrator@mcthub.local –TargetRootFolder Recovery

*** ***

Then verify status of the process is "Completed" by using following command

Get-MailboxRestoreRequest

http://mcthub.com/images/ContentLab/DPM3-En_files/image075.jpg

 

Now open Outloook Web App, open Recovery - Inbox folder you'll see all messages has been restored

http://mcthub.com/images/ContentLab/DPM3-En_files/image076.jpg

 

Thank you for reading my article

To view my article in Vietnamese, click the link below
mcthub

 

By Đồng Phương Nam

See more my article about System Center 2012 Data Protection Manager 
Part 1- Installing System Center 2012 Data Protection Manager 
Part 2- Backup and recover data using System Center 2012 Data Protection Manager
Part 4- Backup to Windows Azure