28 June 2011

Exchange 2010 Mailbox Recovery

Ooh what a pain.... when you don't know how to do this. Today I learned the hard way!

Today I had to use Exchange recovery on an SBS 2011 server. It started with the client requesting that the user account be renamed from username "Fred" to a role based name "Pleb". For some starnge reason the user was no longer able to log on after I had renamed the account, so I simply deleted "Pleb" and recreated the accout from scratch. The user then demanded his email back and I thought, easy, just reconnected form the "Disconnected Mailbox" folder in the EMC. Hmm - long face, there was no such folder. It appears that if you create a new account with the same name that an existing account had, the disconnected mailbox is not reccyled or being left - no SBS deletes it. Have to try this on a real Exchange server to check the outcome. Anyway, I was facing a rstore from backup - my first foray into Exchange 2010 recovery!

This SBS server is a VM, and backups are done on the physical server using Backup Assist. When I recovered the the Hyper-V machine, I found the partition with the mailbox data file, but this is slightly different from an actual Windows application image backup on a Exchange server.

I restored the mailbox.edb file to a temp folder, but I had no log files. I fired up the exchange Management Shell (EMS) and ran
Eseutil /mh "E:\Temp\db\Mailbox Database.edb"
This command gives you some stats on the DB, the important one being the "State". in my case it was 'Dirty Shutdown', expected but not that desirable. Note to self, need to check with backup Assist support how I can get the log files. Without log files I had to perform a hard repair using:
Eseutil /p "E:\Temp\db\Mailbox Database.edb"

If we have had the log files, we could simple get the "E
Eseutil /r "E03" /l e:\temp\log /d e:\temp\db /s e:\temp\rec
I then repeated the
Eseutil /mh "E:\Temp\db\Mailbox Database.edb"
command, which brought the database back to a state of 'Clean'. The next step now was to bring this recovery database online, using:
New-MailboxDatabase RecDB -Recovery:$true -EdbFilePath "e:\temp\db\Mailbox Database.edb" -LogFolderPath "e:\temp\log" -Server Alpha
This will show the database in the EMC, but it's state is still 'unmounted'. Therefore we issue the command
Mount-Database RecDB
which mounts the database, followed by the command
Get-MailboxStatistics -Database RecDB
which lists all mailboxes in my recovery DB. My next step took some time to research as I had two options to consider: a) export the mailbox to a PST fle or b) recover the mailbox back into a users mailbox. Option a) looked quite attractive as I would not have to fiddle with the new mailbox, but it turns out that there are quite a few pre-requisites for doing this. I therefore opted for the second solution, using a command to recover the contents of the backup/recovery database into a special folder "restore" of the user's mailbox:
Restore-Mailbox -Identity "Fred" -RecoveryDatabase RecDB -RecoveryMailbox "Pleb" -TargetFolder Restore
This caused a prompt to appear, asking for confirmation to import those items into the existing mailbox. Logging on as the user, I did indeed find the new "Restore" subfolder with the desired mail items inside. Phew! What remains to do do is a bit of clean up and house keeping:
Dismount-Database RecDB
then follwoed by
Remove-Mailboxdatabase RecDB
and finally
Delete "E:\Temp\db\Mailbox Database.edb"
Happy restores!


  1. For concluding troubles with .edb files you can use recovery exchange. It owns easy to use interface for any experienced users, working under any version of Windows OS. The program can work with big damaged or lost edb files.

  2. Thanks Felix for sharing the information about Eseutil tool and steps to recover Exchange 2010 mailbox. Besides of this built-in utility, I have found some advance third party Exchange 2010 recovery software which effectively handle all corruption or disaster situations and recover damaged or lost Exchange mailboxes. One of my favorite aspects of these applications is simple graphical user interface and selective items recovery. Users can select a single or multiple mailboxes at a time to be recovered. One such powerful Exchange recovery tool is Stellar Phoenix Exchange Server recovery software.

  3. Exchange server database corruption is a very common and unexpected problem faced by the Exchange server users. After spending more than 4 hrs, I solved this Error with this globally used Exchange server recovery tool:


  4. Short out your corrupt and damage exchange server problems with Kernel for exchange server recovery software help of those user suffering for lost their edb files database from exchange server this solved every error in MS exchange server of all version. For information of this tool visit here : www.recoveryfiles.org/exchange-server-recovery.html

  5. Many thanks, this helped us greatly! I never knew it could be so "easy" :)

    1. Thanks for sharing this software. I would like also to suggest to one more utility which i got from Google. visit the url to get more information.



  6. Thank for sharing good software but I like to introduce brilliant software which has amazing ability to repair and convert offline Exchange server database to new Exchange server version and MS Outlook format.

  7. Exchange database recovery software is eligible to recover Exchange server with EDB mails and mailbox folders completely. EDB to PST converter application is good to use for successfully recover Exchange mailbox and to convert EDB data into PST file.

    Read More

  8. It is really very advanced and well programmed software that repairs and restores damaged EDB file to usable PST file within few clicks. You should try to use a free trial version of this software from here: - http://www.filesrecoverytool.com/exchange-edb-recovery.html

  9. This comment has been removed by the author.

  10. It's very informative, I tested this exchange server recovery tool ( www.exchangemailboxrecovery.co.uk ) that helps to recover permanently deleted to lost email including all items from exchange mailbox. This tool easily solve all issues related to exchange mailboxes and export all mailboxes from exchange to outlook pst files format.

  11. Exchange 2010 mailbox recovery software is the wonderful solution to recover Exchange mailbox to PST. This software allows you to repair damage EDB file and convert EDB file data into PST file without facing any problem. It easily restores all items from EDB file into new Outlook PST file.

    Read more- http://www.convert.edbtopst.info/freeware/

  12. EDB to PST Converter which can easily convert/extract all Exchange mailboxes from offline EDB files.The software can easily repair badly corrupted emails and export ll user mailboxes into individual PST files.

    Frequently tryout from here :- http://www.mannatsoftware.com/kernel-edb-to-pst-converter.html

  13. Nice article, i tried this utility from http://www.lepide.com/exchange-manager/ that recovers those mailboxes or emails which are permanently deleted or lost from exchange server and save recovered items to oulook pst files format. This tool to export mailboxes or required email items from offline edb files to accessible pst files format.

  14. Another EDB to PST Converter Software to Convert your corrupt exchanger edb to accessible outlook pst format, withe the help of EDB to PST software.This tool help to successfully removes all fix error and convert EDB data into PST, EML, MSG and HTML in just a few second.

    For more info visit on : http://www.tools4recovery.com/edb-to-pst-converter.html

  15. Don’t get worried due to corrupted or damaged Exchange server database. Just try Exchange Server Recovery Software which is one of the most preferred Exchange recovery Tool in these days. - See more at: http://www.mozesoft.com/exchange-mailbox-recovery.html

  16. Magnificent solution to repair EDB file and export EDB to PST is the EDB to PST software. Through this utility you are able to access EDB file data and convert entire data from EDB file into new Outlook PST file.

    Click for trial trail version : http://www.recoverygadgets.com/edb-to-pst-converter.html

  17. Exchange Mailbox Recovery Software is windows supported data recovery technology which gives the authority to recover single and multiple Exchange Mailboxes Data into Outlook .pst /HTML/EML and MSG with whole emails attachment/properties/appointment/calendar and journal etc. This tool has facility to recuperate Exchange data to PST from all new and updated Exchange versions. This application gives the permission that you can click email filtering option to export only particular selective emails from Exchange Mailboxes into PST Outlook b/w to dates “open date” to “end date”.

    Read More Information Of This Software So visit here :- http://www.enstella.com/edb-to-pst-conversion.html

  18. Exchange Server Recovery software to recover EDB file Exchange from damaged EDB files and extracts EDB mailboxes from EDB database and restore EDB file to PST file. With this software able to access your EDB emails into PST emails with all email items like sent items, received items, junks emails, draft items, contacts, tasks etc. - See more at: https://softcart.wordpress.com/exchange-mailbox-recovery/