UBQ000275:  Single Mailbox Restore with Exchange 2013 Recovery DB

UBQ ID Number: UBQ000275
Last Modified: 2015-03-04

Summary:

This document explains how to restore a single mailbox using the Exchange Recovery Database.

 

NOTE: This method can only be used to recover the mailbox database(s) and not the public database.

Details:

First Restore the Exchange database as a flat file:

 

  1. Load the Exchange Backup.

  2. Choose the mailbox database and log files and click "Action" / "Restore."

  3. Check "Restore Files to Non-Exchange Folder."

  4. Type in or browse to the target location.

  5. Click "Next."

  6. Click "Restore."

 

Once the recovery is complete, the database (EDB file) and transaction logs (LOG files) will reside in the path specified in Step 4 above..

 

  1. Add the restored database to the Exchange mailbox server as a Recovery Database. This is performed using the Exchange Management Shell (EMS).

    • New-MailboxDatabase -Recovery -Name RESTORE1 -Server EXA2013 –EdbFilePath "C:\restore\Mailbox Database 1882717321.edb" -LogFolderPath "C:\Restore"

 

A new Recovery Database titled RESTORE1 will be created on server EXA2013 using the restored database and logs in C:\Restore.

 

Once the command is run, the Recovery Database will appear in the Exchange Management Console (EMC).

 

NOTE:The Recovery Database must be brought into a clean shutdown state before it can be mounted.

 

To bring the database into a clean shutdown state, use ESEUTIL /R to perform a recovery of the database.

 

NOTE: If Exchange is unable to perform a successful recovery, a full list of options can be found at the following link:

http://technet.microsoft.com/en-us/library/bb125218.aspx

 

Mount the database using.

Example #1 : Recovering a mailbox, overwriting the existing mailbox

This example restores a mailbox for user UltraBac User1, overwriting the existing mailbox:

 

In the Exchange Management Shell type:

 

New-MailboxRestoreRequest -SourceDatabase RecoveryDB -SourceStoreMailbox "UltraBac User1" -TargetMailbox UltraBac.User1 -AllowLegacyDNMismatch

Example #2 : Restoring a Inbox and all subfolders, to a different folder

This example restores 'UltraBac User2' mailbox content into a folder named "Restored Items":

 

In the Exchange Management Shell type:

 

New-MailboxRestoreRequest -SourceDatabase RecoveryDB -SourceStoreMailbox "UltraBac User2" -TargetMailbox UltraBac.User2 -TargetRootFolder "Restored Items" -IncludeFolders "#Inbox#/*"

Usefull Commands:

To verify the recovered database is mounted, run the following command;

 

To view the Mailboxes within the database, run the following command:

 

To check the status of your Mailbox restore, run the following command:

 

To restore a mailbox using the GUID, run the following command:

 

 NOTE:  If you need to restore a mailbox and also want to restore the “deleted items” (deletions+purges+versions) you need to use the –AllowLegacyDNMismatch  switch

 

To view the globally unique identifier (GUID) of each mailbox, run the following command:

More Information:

See UltraBac User Manual:  Exchange Agent

http://technet.microsoft.com/en-us/library/bb125218.aspx