Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Get-MailboxStatistics -identity billy | fl

Image RemovedImage Added

2. Create a "Recovery Database" using the Exchange Management Shell (Powershell)

...

New-MailboxDatabase -Recovery -Name RDB1 -Server EXCH2010 -EdbFilePath "C:\EXCH-DATA\RDB1-DB\RDB1.EDB" -LogFolderPath "C:\EXCH-DATA\RDB1-LOG"

Image RemovedImage Added


3. Use ZCB/ESB to restore the mailbox database to the Recovery Database

Launch ZCB, and visit the Restore page. Select the backup run containing your mailbox database. Restore to the Recovery Database and enter the appropriate information.

Image Removed

Image Added 

Once restore begins, you will be taken to the Monitor page where you can track the progress of your restore.

Image RemovedImage Added

4. Mount the Recovery Database

The Recovery Database can be mounted via the Exchange Management Console or via powershell.

To mount via the EMC:

Image RemovedImage Added

To Mount via Powershell

Run this command. Be sure to use the name of your database. Our example database is RDB1.

Mount-Database RDB1

Image RemovedImage Added

5. Restoring Mailbox Items from a Recovery Database

...

Get-MailboxStatistics -Database RDB1

Image RemovedImage Added

Restore Items into sub-folder of user Mailbox 

 

It is possible to use the Restore-Mailbox cmdlet to restore items into a sub-folder.

 

If you want to perform more granular restore, such as restoring messages with a specific subject, please refer to the Restore-Mailbox cmdlet documentation here: Restore-Mailbox cmdlet - Exchange 2010.

 

The following command will restore the user's entire Inbox\Important folder to a sub-folder named "Restored".

 

Restore-Mailbox -Identity "Billy Gates" -RecoveryDatabase RDB1 -RecoveryMailbox "Billy Gates" -TargetFolder Restore -IncludeFolders \Inbox

Image RemovedImage Added

6. Verify and move restored items to appropriate location

Use Outlook to view or move restored items to their Original Location. As you can see from the picture below, we can move "IMPORTANT" folder back to its original location under Inbox. 

Image RemovedImage Added

Alternative restore destinations

Outlook PST file

 

In some scenarios, you might want to get restored items in the form of PST file, rather then recover them directly to user mailbox. For example you need to recover emails of an employee who is not longer with your organization.  

 

Create a temporary user with its own mailbox, recover email items to it, and then extract recovered content to PST file.

Create temporary User Mailbox

In our example, we call the temporary user "Billy Recovery", and give it the user name billyrec. You can choose any mailbox database.

Image RemovedImage Added

Restore and mount a recovery database

Use steps 1 - 4 in the Steps to Recover section above to restore and mount a recovery database.

Recover mailbox items with Restore-Mailbox cmdlet 

In this example, we use Restore-Mailbox cmdlet to restore the Inbox folder into the Restore folder of our temporary user "Billy Recovery". For more detail about performing more granular restore follow this link: Restore-Mailbox cmdlet - Exchange 2010.

Restore-Mailbox -Identity "Billy Recovery" -RecoveryDatabase RDB1 -RecoveryMailbox "Billy Gates" -TargetFolder Restore -IncludeFolders \Inbox

Image RemovedImage Added

Extract the contents of the recovery mailbox to a PST folder 

Create a network share where you planning to place extracted PST file. Make sure that "Exchange Trusted Subsystem" group has full permissions on the share. 

Image RemovedImage Added

 

You might need to assign Mailbox Import Export role to Exchange administrator's account, if that has not been done previously.   

If the Exchange administrator does not have the Mailbox Import Export role, run the below command, and log on/off of the exchange server so that the role will be applied.

In this example, user is specified using domain name convention, where domain name is WQA1.local

New-ManagementRoleAssignment –Role “Mailbox Import Export” –User wqa1\Administrator

See more info here: Error message when you run the New-MailboxExportRequest cmdlet in Exchange Server 2010 SP1 or Exchange Server 2010 SP2: "Couldn't find the Enterprise Organization container".

Image RemovedImage Added

Run New-MailboxExportRequest cmdlet. More information about this cmdlet can be found here http://technet.microsoft.com/en-us/library/ff607299(v=exchg.141).aspx

New-MailboxExportRequest -Mailbox billyrec -FilePath \\exch2010\Recovered.PST\Billy.Recovered.pst

Image RemovedImage Added

The export process can take some time if the database is large. You can check the progress of export task by piping to two cmdlets: Get-MailboxExportRequest and Get-MailboxExportRequestStatistics

Get-MailboxExportRequest | Get-MailboxExportRequestStatistics

Image RemovedImage Added

Verify recovered content.

Once you get PST file, you can open it in Outlook to verify recovered content

Image RemovedImage Added

Perform Cleanup Operations

...