This example creates the recovery database RDB1 on the Mailbox server MBX2
New-MailboxDatabase -Recovery -Name RDB1 -Server MBX2
This example creates the Recovery database RDB2 on the Mailbox server MBX1 using a custom path for the database file and log folder.
New-MailboxDatabase -Recovery -Name RDB2 -Server MBX1 -EdbFilePath "C:\Recovery\RDB2\RDB2.EDB" -LogFolderPath "C:\Recovery\RDB2"
To confirm this has worked - run the following command to display the configuration information for the RDB.
Get-MailboxDatabase <RecoveryDatabaseName> | Format-List
Checklist:
Once the RDB is created and confirmed, proceed with the following steps to prepare for the recovery/restoration process.
First, perform the following checks:
-Verify there are no recovery database .edb or .log files
-Make sure there are no other RDBs mounted. In addition the RDB to be restored into should also not yet be mounted
Restore:
On the Exchange client, go to the "Restore" screen and identify the database that will be restored under the " Plug-in for Exchange "
- Right-Click database and select "Rename"
- Input the name of the RDB (Recovery Database)
From the next window "Restore Options" set the following options:
- "This database can be overwritten by a restore flag" for databases
- Perform Recovery
- Mount Databases After Recovery
Go to the 'Security' tab and use Exchange Administrator credentials
The Source Exchange Server should be default selected
On Target Client, select the Server where the RDB was created
Finally, Submit the Restore
Post Restore
Following the restore, and before the recovery starts, the name of the .edb file will be updated to that of the RDB
The recovery now starts
During the Recovery:
-All the remaining files will be created
-The RDB will be recovered and mounted
-The RDB will become ready for data extraction
Once the recovery is complete, delete the RDB. The restore and recovery of the Mailbox database is now complete - orignal database is now accessible.