Home > Exchange 2010 > Exchange 2010 DB & Single Item recovery

Exchange 2010 DB & Single Item recovery

 
Restore your Exchange 2010 DB backup to a different location using your backup application,
Like in this example I am using Windows backup utility and restoring the backup in my backup drive (G)
Start Windows server backup utility.
Click on recover
Select the location of the backup and click on the next.
Select date of the backup
Select Application in recover type
Select Exchange in Application type.
Choose “Recover to another location ” and choose the location where you want to recover
Now click on the recover
Once done, check the location once for the path of your database.
Check the status of the restored database using below command.
H:\Program Files\Microsoft\Exchange Server\V14\Bin>eseutil.exe /mh “G:\Restore\E
_\Program Files\Microsoft\Exchange Server\V14\Mailbox\MDB01\MDB01.edb”
It will show you the result as below.
Now check the consistency of the log files using below command.
H:\Program Files\Microsoft\Exchange Server\V14\Bin>eseutil.exe /ml “G:\Restore\F
_\Program Files\Microsoft\Exchange Server\V14\Mailbox\MDB01\E01″
Now you need to make you Data Base in “Clean Shutdown” state to mount it.
Run the below command to replay all the logs to your DB
H:\Program Files\Microsoft\Exchange Server\V14\Bin>eseutil.exe /r “E01” /l “G:\Restore\F_\Program Files\Microsoft\Exchange Server\V14\Mailbox\MDB01” /d “G:\Restore\E_\Program Files\Microsoft\Exchange Server\V14\Mailbox\MDB01\MDB01.edb”
You will be received the error as “Operation terminated with error -1216 (JET_errAttachedDatabaseMismatch”
So run the same command with “/i” switch
Now check the consistency of the data base for the clean shutdown state
If it still in “Dirty Shutdown” state then run the “hard repair”
H:\Program Files\Microsoft\Exchange Server\V14\Bin>eseutil.exe /p “G:\Restore\E_\Program Files\Microsoft\Exchange Server\V14\Mailbox\MDB01\MDB01.edb”
You will be receive an error, click on ok
Now check the database.
Now it will show you in the clean shutdown state.

Create a “Recovery Data Base” using below command with this existing database and log files.
Run the below command in Exchange management shell
Here, I am using the same EDB & Log files which I recovered from backup.
New-MailboxDatabase -Recovery -Name “RDB01” -Server “EX01” -EdbFilePath “G:\Restore\E_\Program Files\Microsoft\Exchange Server\V14\Mailbox\MDB01\MDB01.edb” -LogFolderPath “G:\Restore\F_\Program Files\Microsoft\Exchange Server\V14\mailbox\MDB01”
Mount this Recovery Database, run the below command
Mount-Database -Identity “RDB01”
Now recover the mailbox which you want to recover.

Restore-Mailbox -Identity subodhuniyal -RecoveryDatabase “RDB01”

This will restore all the emails of the mailbox “subodhuniyal”
Advertisements
Categories: Exchange 2010
  1. Aashish Kalsi
    December 22, 2011 at 1:01 PM

    Good initiative. Keep putting up atricles like these to help those in need

  2. Jim Robert
    June 25, 2013 at 11:10 AM

    Thanks for sharing the useful post to recover single items in MS Exchange Server. It is not really easy task. I used also a third party program to recover each and every item in Exchange server:

    http://www.serversdatarecovery.com/exchange.html

    The tool did an excellent job and we successfully recovered all data in server.

    Jim

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Noam's scripting blog

"Ready to use" scripts and scripting tips for system admins with detailed walkthroughs/explanations.

%d bloggers like this: