Guidelines to Restore Mailbox Using Recovery Database Exchange 2010

Posted by Angelbrown Leka, On April 15, 2014 | Download Complete PDF

Introduction to Recovery Database (RDB)

In Exchange Server 2010, Recovery Database (RDB) is introduced that has functionality similar to Recover Storage Group (RSG) in former versions. Moreover, the idea of including this feature is also the same: mounting a copy of database on RDB, extracting data from it, and then exporting it existing or new mailbox. Restoring an existing database to RDB is possible in two different ways:

The idea of RDB can prove helpful in following database recovery scenarios:

"Meanwhile, when this option is adopted, it has to be ensured that both Source and Target Server mailboxes lie in same Active Directory Forest."

Note: It has to be noted the Recovery Database (RDB) concept is used in ideal situations. For example: it is not meant for scenarios like entire Server restore or for restoring multiple databases or in cases when AD topology has to be rebuilt!

This segment focuses on illustrating the process to restore mailbox using recovery database Exchange 2010. Also, we will talk about alternative that could help in Exchange mailboxes recovery to another Server with original data and Server configuration absolutely intact.

Restore Exchange Mailbox

Restore Exchange 2010 Database From Windows Backup


  • Getting Started: Define the location where the backup to restore is saved and click on "Next" button to continue.

define location

  • Select Backup Date: Enter Date and Time from which the backup restore process should get started.

enter date and time

  • Select Recovery Type: Choose "Applications" from available options. This will allow restoring backup of Exchange Server (it should be registered with Windows Server Backup).

Add Exchange Server

  • Select Application: Specify "Exchange" application to recover data from it. Also, enable the check box for "Do not perform a roll-forward recovery of application database" since the most recent DB is included in restore process.

Forward Recovery option

  • Specify Recovery Options: It's the time to specify location where backup data has to be restored. In this section, select "Recover to another Location". Ensure that the selected path is different from original database path.

recover another location

  • Confirmation: This screen will reflect the selection that is being made in concern to restore process. On verifying the restoration details, click on "Recover" button.

restore process

  • Recovery Progress: When restoration is complete, "Status: Completed" will be displayed on screen. Click "Close" button.
Bring Restored Database to Consistent (Clean Shutdown) State »

To check the state of database recovered from backup, use /mh switch of ESEutil. For this, following command can be used: (here specify the path of EDB file that is being restored from backup)

switch option

eseutil command result

For soft recovery of database to bring it to clean shutdown state, it is important that all log files are in healthy state. To check state of log files, use following ESEutil command: (In this example, the log file prefix is "E00")

soft recovery options

scanning process

Now for soft recovery (log file replay), follow the following syntax:

clean shutdown state

 clean shutdown

Again check state of database using ESEutil /mh command: (It should be clean shutdown now)

restore exchange mailbox 2010

Note: If DB is still in dirty shutdown state, then try hard repair using ESEutil /p switch. Meanwhile, opting for this method can cause some data loss by removing corrupt pages from the EDB file (data loss will occur if leaf page from database is damaged). Syntax for repair using ESEutil is:

eseutil command result

warning corrupted database

check database integrity

How to Create Recovery Database in Exchange 2010

Recovery Database (RDB) can be created using New-MailboxDatabase cmdlet for Exchange Management Shell.

 New-MailboxDatabase cmdlet

  New-MailboxDatabase cmdlet result

Now, the restored database from backup can be mounted on Recovery Database (RDB) using the Mount-Mailbox Cmdlet of EMS:

Restore Mailbox from 2010

Restore Mailbox from Recovery Database Exchange 2010

Now, it's the time to restore mailbox database from Recovery Database (RDB). To check out status of mailboxes on RDB, use the Get-MailboxStatistics command:

mailbox statistics

mailbox statistics result

For restoring RDB mailboxes to target mailbox, it is important that GUID name of the mailboxes on source Server are known. To get the GUID name, use the following command:

provide GUID name

The following command helps to restore mailboxes from RDB by using alias name of mailboxes on target Server and GUID name of source Server mailboxes:

restore mailboxes from RDB

confirmation

Conclusion: The process to restore mailbox using recovery database Exchange 2010 proves helpful in number of situations but the condition is every step is followed and executed properly. An alternative to this lengthy database recovery process is Exchange Recovery Tool that allows retrieving data from public or private EDB folders and exports them to another Server. Added benefit of this solution is EDB recovery to PST, EML, and MSG file can be done.