The following guide summaries the mail steps How to restore Exchange 2010 Database to Recovery Database (RDB).
Step 1 – Create a new Recovery Database (RDB):
“New-MailboxDatabase -Recovery -Name RDB-For-Mailbox1-Database -Server ExchangeServerName -EdbFilePath "D:\DataRecovery\RDB-For-Mailbox1-Database.edb" -LogFolderPath "D:\DataRecovery"”
Step 2: Restore the EDB/Logs files by using your backup software.
Step 3: Mounting the recovered EDB/Logs
a. Copy the EDB/Logs to the "D:\DataRecovery\” folder.
b. Rename the old EDB file to “RDB-For-Mailbox1-Database.edb”.
c. Mount the database with the command “Mount-Database "RDB-For-Mailbox1-Database"”.
and review the database status by using the command:
“Get-MailboxDatabase "RDB-For-Mailbox1-Database"” | fl”
* Some third party providers allow you to recovery the data directly to the Recovery Database (RDB).
Step 3: Review the Recovery Database (RDB) content:
“Get-MailboxStatistics -Database"RDB-For-Mailbox1-Database””
Step 4: Recovered the date:
Overwrite the user mailbox:
“Restore-Mailbox -Identity 'Yuval Sinay' –RecoveryDatabase “RDB-For-Mailbox1-Database“
* Please note that the step above may delete user data. Due this, I would recommended to use the next option.
Copy the data to recovery mailbox:
“Restore-Mailbox –Identity 'Yuval Sinay' –RecoveryDatabase “RDB-For-Mailbox1-Database” -RecoveryMailbox “RecoveryMailboxName”
Then you can you extract the data by using “New-MailboxExportRequest“ command, Outlook etc.
Step 5: Remove the Recovery Database (RDB) from the Exchange server:
“Remove-MailboxDatabase –Identity “RDB-For-Mailbox1-Database”"”
Troubleshooting:
If the recovered database wouldn’t mount, please use the following commands:
“eseutil /mh” – to verify that the database is a clean state.