Share via


Create a Recovery Database

You can use a recovery database, which is a special kind of mailbox database, to mount a restored mailbox database and extract data from the restored database as part of a recovery operation. After you create a recovery database, you can move a recovered or restored mailbox database into the recovery database, and then use the Restore-Mailbox cmdlet to extract data from the recovered database. After extraction, the data can then be exported to a folder or merged into an existing mailbox. Using recovery databases, you can recover data from a backup or copy of a database without disrupting user access to current data.

Looking for other management tasks related to recovery databases? Check out Recovery Databases.

Use the Shell to create a recovery database

You need to be assigned permissions before you can perform this procedure. To see what permissions you need, see the "Mailbox recovery" entry in the Mailbox Permissions topic.

Note

You can't use the EMC to create a recovery database.

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"

For detailed syntax and parameter information, see New-MailboxDatabase.

Other Tasks

After you create a recovery database, you may also want to restore data using a recovery database. For detailed steps, see Restore Data Using a Recovery Database.