Recovery Database in Exchange Server 2013

In the previous two article we have learnt how to Backup and Restore Exchange Server 2013 database using Windows Server Backup. In this article we would be focusing on how to create Recovery Database (Aka RDB).

It is very important to understand in what scenario RDB can be useful. Lets first understand the scenario.

  1. A user has deleted some important emails and that needs to be recovered. Without restoring the data to production we would be creating RDB.
  2. Single Mailbox or the entire database needs to be restored. Etc.

Note :- In both the scenario the database has crossed the default retention limit.

To know how to backup Exchange Server 2013 using Windows Server Backup 2012. Please follow the below article.

How to Backup Exchange Server 2013 Database – Part 1

To know how to restore the Data from Backup. Please follow the below article.

How to Restore Exchange Server 2013 Database – Part 2

=====================================================

We will be using the same database which was restored. Before creating RDB we will first understand the database health.

image

Figure 1.1 : Restored Data.

Now since the database is restored we have to confirm if the data is clean shutdown. To do that we will be running ESEUTIL commands.

image

Figure 1.2 : State : Dirty Shutdown

In figure 1.2 since the database was restored. It will be always be in “Dirty Shutdown”. We sill be performing soft recovery by running the below command.

image

Figure 1.3 : Recovery Completed Successfully

image

Figure 1.4 : State : Clean Shutdown

Now that we have the database in clean shutdown. We have to create RDB to get the database mounted in RDB and restore the required mailbox.

image

Figure 1.5 : RDB Created

image

Figure 1.6 : RDB Status

Mount the database by running “Mount-Database RDB”

image

Figure 1.7 : RDB Mounted

image

Figure 1.8 : RDB Status

Now that we have the database mounted. Lets perform a restore.

image

Figure 1.9 : New-MailboxRestoreRequest

image

Figure 1.10 : Restore Request Removed.

There are many scenarios in which RDB can be used. In this scenario we have just restored one mailbox.

=====================================================

Happy Learning

Sunder

MSEXCHANGETEAM | Ideas That Clicks

Tagged . Bookmark the permalink.

7 Responses to Recovery Database in Exchange Server 2013

  1. canberk says:

    mount-database RDB01 error
    error detais :
    Couldn’t mount the database that you specified. Specified database: RDB01; Error code: An Active Manager operation
    failed. Error: The database action failed. Error: Operation failed with message: MapiExceptionTooManyMountedDatabases:
    Unable to mount database. (hr=0x8004060e, ec=-2147219954)
    Diagnostic context:
    Lid: 65256
    Lid: 10722 StoreEc: 0x8004060E
    Lid: 1494 —- Remote Context Beg —-
    Lid: 37952 dwParam: 0x177C25
    Lid: 39576 StoreEc: 0x977
    Lid: 35200 dwParam: 0xDA8
    Lid: 54768 StoreEc: 0x8004060E
    Lid: 35056 StoreEc: 0x8004060E
    Lid: 48432 StoreEc: 0x8004060E
    Lid: 54336 dwParam: 0x1786F3
    Lid: 1750 —- Remote Context End —-
    Lid: 1047 StoreEc: 0x8004060E [Database: RDB01, Server: exchange.networkacademy.net].
    + CategoryInfo : InvalidOperation: (RDB01:ADObjectId) [Mount-Database], InvalidOperationException
    + FullyQualifiedErrorId : 870C25DF,Microsoft.Exchange.Management.SystemConfigurationTasks.MountDatabase

  2. canberk says:

    eseutil database clean , new-mailboxdatabase -recover :true :((

  3. Sunder says:

    Complete scenario please
    What is the current status? Please keep us updated.

  4. maximilian says:

    Hi Sunder

    I red entire thread but there is one point not clear

    create recovery database
    restore backup
    check status db (clean shutdown)
    Mount DB
    But if I want to merge ENTIRE data from RDB to a specific dB, which command is better to run?

    Cheers
    Maximilian

  5. maximilian says:

    Found:
    This will import all the messages sent and received using the database into the production database

    Get-Mailbox -Database DTDB1 | New-MailboxRestoreRequest -TargetMailbox RDB1

    In this way I can import messages for all mailbox in the database from recovery DB but my doubt in this case is:

    Import means a merge (destination mailbox has message stored, so during restore request messages restored will be added leaving previous message untouched)

    Cheers
    Maximilian

  6. Sunder says:

    Hi

    Is that a doubt or a statement???

  7. maximilian says:

    Hi Sunder

    No, I mean “statement”

    Cause I have seen command for merge data from mailbox in recover database to production database. We Know, in the DB we have several mailbox, so I can’t run a script with a lot of row per mailbox.