Corruption in an Exchange database is bad news for your business. It stops you from doing email communication with your employees and clients and affects business productivity. That’s why an Exchange administrator uses different tactics to protect the data from corruption and also to retrieve the data in case of corruption. In the present write up, we will go through some necessary recovery procedure useful for Exchange Server 2016.
Recover mailbox database using Exchange backup
Exchange administrators usually use Windows Server Backup to take the backup of Exchange data, and you can retrieve the data up to the last successful backup.
In this situation, you should be aware that the lost data which was created after taking the backup will not be recovered, but you can use the transaction log files to rollback the committed transaction and get the complete data. But if the transaction log files are also missing, then you can only recover the data up to the last backup. It means you will bear some data loss.
Before starting the recovery, the first check when did the Windows Server Backup utility took the last backup.
Run the cmdlet –
Get-MailboxDatabase -Server NPP2016V3 -Status | f1 Name, LastFullBackup
It will bring the name of the database and its last backup timing details. For example,
Name : DB432432
Last Full Backup : 2/3/2017 3:52:22 PM
Now you can start the recovery procedure by following the steps:
- Start the Windows Server Backup and go to the Actions tab. Here, you click the option ‘Recover.’
- Choose the source of the backup. If the backup is present in the same volume, then select This Server (ServerName).
- Choose the backup which you want to restore.
- There will be multiple restore types which you can choose, like File and Folders, Volumes, Hyper-V, System State, and applications. Choose ‘Applications’ and go ahead.
- In the next page, select ‘Exchange.’
- In the Recovery options, there are two options; choose ‘Recover to the original location.’
- The tool will provide a summary of your choice. Confirm it.
- The recovery begins. After completing the successful recovery, the database will be automatically mounted and available to use. You can check the missing data in the Outlook.
Recover Exchange database using the Recovery database
A seasoned Exchange Administrator is aware of the importance of the Recovery Database. It is a special kind of mailbox database that lets you extract data from a restored database in the recovery operation. The Recovery Database recovers the data from the backup or a copy of the database.
After you have created a recovery database, you can use a backup application to restore the data in the restored mailbox or copy the database and its log files directly to the recovery database. After that, you can use the New-MailboxRestoreRequest to run the restore procedure.
Here is the step-by-step process to recover the data using a recovery database
- Copy a recovery database and its log files or restore a database and its log files to a location that is suitable for the recovery database.
- You need to bring the database to a clean shutdown state and that is possible through the ESEUTIL tool. Run the command;
- Now, create a recovery database, provide it a name, but get the name and path of the database file for the EdbFilePath parameter, and the location of the recovered log files.
- Restart Microsoft Exchange Information Store Service.
- Mount the Recovery database to Exchange Server.
- Verify that the recovery database has the mailboxes that you need to restore.
- At a routine interval check the progress of restore request.
- After successful completion of restore job, you can remove it
Eseutil /R Database32932 /l F:\Databases\Database59343 /d F:\Databases\ Database59343
New-MailboxDatabase -Recovery -Name RecoveryDatabaseName -Server Matt -EdbFilePath “E:\Databases\Database59343\Database59343.EDB” -LogFolderPath “E:\Databases\RecoveryDatabase”
Get-MailboxStatistics -Database RecoveryDatabaseName | Format-Table Name,MailboxGUID –AutoSizeCreate a new mailbox restore request.
New-MaiboxRestoreRequest -SourceDatabase Database59343 -SourceStoreMailbox “Matt Goodman” -TargetMailbox Matt@contoso.com –TargetIsArchive
Get-MailboxRestoreRequest -Status Completed | Remove-MailboxRestoreRequest
If you do not want to go for the lengthy process of creating a recovery database and then running a restore request, then you should opt for the Recoveryfix for Exchange Server recovery tool and save you time and energy for the recovery process.
Recoveryfix for Exchange Server Recovery
Here is the process for recovering data using Recoveryfix for Exchange Server Recovery.
- Run the software and click the Add Source icon.
- Select the first option of Offline EDB file. Click Next.
- Browse the EDB file and click Next.
- Choose the scan mode among standard and deep scan. Click Next.
- The tool has scanned and recovered the data. Click Finish.
- Choose the version of Exchange Server. Click OK.
- The EDB file content is present in the source list. You can check its folders and see the preview of each material. Finally, click the Add Destination icon.
- Select the option of ‘Create new PST file’ and click Next.
- Browse the saving location of PST file and provide a name to the PST file also. Click Next.
- The tool adds the PST file and clicks the Finish button.
- Select the messages from the source mailbox, right-click it, and select Copy message(s).
- Go to destination PST file, right-click it and select the Paste Message option.
- After migrating the messages, the tool gives the migration report. Click Cancel.
- The message is now present in the PST file.
After transferring the files, you can access the PST file in Outlook.
In the case of corruption in Exchange Server database, the manual methods do not provide any guarantee to recover the complete data, but Recoveryfix for Exchange Server Recovery removes every issue and bring the data back to you completely.
Read Related Blog
- How to Export a Disconnected Exchange Mailbox to Outlook PST?
- How to Recover Lost and Deleted Public Folders From Exchange?
- Recover and Restore a Mailbox From Exchange Server 2010