Exchange 2010

Restore single user mailbox content using Exchange 2010 and DPM 2010 Beta

 

Prerequisites

  • An RDB must be created.
  • The database and log files containing the recovered data must be restored or copied into the RDB folder structure that was created when the RDB was created.
  • The database must be in a clean shutdown state. Because an RDB is an alternate restore location for all databases, all restored databases will be in a dirty shutdown state. You can use Eseutil /R to put the database in a clean shutdown state.

(Text copied from technet)

Step 1

Start up DPM 2010 and go to the Recovery section, select the appropriate database, also make sure to select a date very the user mailbox should be recovered from.
Right click the database and select “Recover”.


Check so that the date and time are correct and press “Next”.
Select “copy to network folder” and select “Next”.
Copy destination, select the appropriate server and folder press “Next”.

On the next selection window we got a very nice option to select, it’s called “Bring the database to a clean state after copying the files”.
Select that one and click “Next” and press “Recover” to start the job.
 

 

Step 2

Log onto mailbox server (or any of the Exchange 2010 servers), startup Exchange Management Shell and run the following command to create a Recovery Mailbox Database.
With this command we point out the database we just recovered in Step 1.

“New-MailboxDatabase -Name “RDB” -Server EX-MBX01 -EDBFilePath “E:\RDB\DPM_12-31-2009_18.0.59\MDB1\Program Files\Microsoft\Exchange Server\V14\Mailbox\Mailbox Database 0091898942\Mailbox Database 0091898942.edb” –Logfolderpath E:\RDB\DPM_12-31-2009_18.0.59\MDB1\Program Files\Microsoft\Exchange Server\V14\Mailbox\Mailbox Database 0091898942\ -Recovery”

To check the database user contents run the following command
“Get-MailboxStatistics –Database “RDB”

If you want to check the state of the database run the following command
“eseutil /mh ‘.\Mailbox Database 0091898942.edb'”

Step 3

Log onto mailbox server (or any of the Exchange 2010 servers), startup Exchange Management Shell and run the following command to restore the user mailbox.

“Restore-Mailbox -Identity jonand -RecoveryDatabase “RDB”

Confirm
Are you sure you want to perform this action?
Recovering mailbox content from mailbox ‘Jonas Andersson’ in the recovery database ‘RDB’ to the mailbox for ‘Jonas Andersson (Jonas.Andersson@testlabs.se)’. This operation may take a long time to complete.
[Y] Yes [A] Yes to All [N] No [L] No to All [?] Help (default is “Y”):

The following text is copied from TechNet (can also be very use full!)

This example bulk restores all the mailboxes in the mailbox database DB1 that are also present in the recovery database RDB.
“Get-Mailbox -Database DB1 | Restore-Mailbox -RecoveryDatabase “RDB”

Done!

Tagged ,