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. |
First Restore the Exchange database as a flat file:
Load the Exchange Backup.
Choose the mailbox database and log files and click "Action" / "Restore."
Check "Restore Files to Non-Exchange Folder."
Type in or browse to the target location.
Click "Next."
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..
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: |
Mount the database using.
Mount-Database "Database Name"
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
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#/*"
To verify the recovered database is mounted, run the following command;
Get-MailboxDatabase -status "<Database Name>" | fl Mounted
To view the Mailboxes within the database, run the following command:
Get-MailboxStatistics -Database '<Database Name>" -Recovery
To check the status of your Mailbox restore, run the following command:
Get-MailboxRestoreRequestStatistics -Identity "<MailboxUser\RestoreRequestName>"
To restore a mailbox using the GUID, run the following command:
New-MailboxRestoreRequest -SourceDatabase "<Database Name>" -SourceStoreMailbox "<MailboxGUID>" -TargetMailbox "<Target Mailbox Alias>" -AllowLegacyDNMismatch
|
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:
Get-MailboxStatistics -Database "<Database Name>" -Recovery | Format-List DisplayName, MailboxGUID
See UltraBac User Manual: Exchange Agent
http://technet.microsoft.com/en-us/library/bb125218.aspx