Thursday, January 9, 2014

Step by Step Exchange 2013 Database Recovery

Step by Step Exchange 2013 Database Recovery
Step 1: Provide the folder path location to the backup team where the database and log file needs to restore. Note: Make sure you have enough free disk space on the restored location
Step 2: Verify the database health status after the restoration of database file. Run the following command to verify the status
eseutil.exe /mh E:\Recovery\RDB.edb | select-string "State:", "Log Required"
Step 3: If the database is Clean Shutdown move to next step. In case if it is dirty shutdown perform the soft recovery and if it fails move to hard recovery
Step 4: Create Recovery database using the following commands
New-MailboxDatabase -Recovery RDB01 -Server MBX01 -EdbFilePath E:\Recovery\RDB.edb
Step 5: Verify the database is in mounted state
Get-MailboxDatabase RDB01 -status | fl Name, Mounted
Step 6 : Mount the database
Mount-Database RDB01 –Verbose
Step 7 : Verify the database mounted status
Get-MailboxDatabase RDB01 -status | fl Name, Mounted
Step 8: Verify the mailbox statistics of the restored database
To find all mailbox in the recovery database - Get-mailboxstatistics -database RDB01
To find specific mailbox w.r.t to user account or GUID - Get-MailboxStatistics -Database RecoveryDB | ?{$_.DisplayName -like 'Raji*'} | fl DisplayName,MailboxGuid,DisconnectDate
Step 9: Restoring them using the following Exchange PowerShell command based upon your requirement
  • Restoring the complete user mailbox
New-mailboxrestorerequest –sourcedatabase “RDB01” –sourcestoremailbox “Rajis” –targetmailbox “Rajis@mail.com"
  • Restoring the mailbox using guid

New-MailboxRestoreRequest -SourceDatabase “RDB01” -SourceStoreMailbox 4a1d2118-b8cc-456c-9fd9-cd9af1f549d0 -TargetMailbox Raji
  • Restoring the source mailbox to different user mailbox
New-MailboxRestoreRequest -SourceDatabase “RDB01” -SourceStoreMailbox 'Raji' -TargetMailbox Subramanian -TargetRootFolder Restore -AllowLegacyDNMismatch
  • Restoring the mailbox email in a seperate folder (Restore) on the user mailbox

New-MailboxRestoreRequest -SourceDatabase “RDB01” -SourceStoreMailbox 'Raji' -TargetMailbox 'Raji' -TargetRootFolder Restore -IncludeFolders '#Inbox#/#Test#/*' -AllowLegacyDNMismatch
Step 10: Check the status of mailbox restoration when completed check in the user mailbox on all restored emails.
Get-MailboxRestoreRequest
Step 11: Remove the completed mailbox restore using the following PowerShell command
Get-MailboxRestoreRequest -status Completed | Remove-MailboxRestoreRequest
Reference URL
http://technet.microsoft.com/en-us/library/dd876954%28v=exchg.150%29.aspx 
http://technet.microsoft.com/en-us/library/ee332321(v=exchg.150).aspx
http://technet.microsoft.com/en-us/library/ee332351%28v=exchg.150%29.aspx

2 comments:

  1. Thanks for the step by step procedure to restore Exchange 2013 Server database. There are also some third party Exchange database recovery applications available in the market which helps the users to repair and recover the damaged database quickly and in just few steps. These tools has been developed with easy to use GUI and do not require technical skills to operate. One such tool that worked in our case is here: http://www.edbtopst-converter.com/exchange-recovery.html

    Hope this tool will also work who are unable to perform recovery with the help of above said steps by

    ReplyDelete
  2. Nice, thanks for the topic related to how to recover public folder items in exchange 2013. i tried the exchange server recovery tool ( https://softcart.wordpress.com/exchange-mailbox-recovery/ ) to troubleshoot the public corruption issue and stored Deleted Items from Public Folders, this tool recover corrupt or inaccessible exchange server database.

    ReplyDelete

The blog is written to the share the knowledge mainly on Microsoft Exchange Server and other Microsoft product that experienced on day-to-day life.