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
The recovery database allows the administrator to mount a restored database to the Exchange Server to restore the mailbox data. The end user cannot access it on Outlook, and only an Exchange administrator can perform actions on it.
Here is the recovery procedure –
- Create a new recovery database using the command.
- Restore the database and transaction log file using the Windows Server Backup tool mentioned in the first method.
- If the name of the restored database and the recovery database is different, then test the path of the recovery database to check if it is pointing to the correct database.
- Run the ESEUTIL tool to check the status of the database. If it is in a dirty shutdown state, then perform a soft recovery using the /r switch. After that, again run the ESEUTIL command and check the status. If it shows clean shutdown, go ahead, and mount the database to the Exchange.
- Now, restore the data from the recovery database to the original database.
- Monitor the restore request with the cmdlet.
- Finally, dismount and remove the recovery database.
New-MailboxDatabase -Server NPP2016V3 -Name RecoveryHRDB -Recovery -EdbFilePath E:\RecoveryHRDB\DB433.edb -LogFolderPath F:\RecoveryHRDB
C:\>New-MailboxRestoreRequest -Name “HR Recovery” -SourceDatabase RecoveryHRDB -SourceStoreMailbox “HRDB” -TargetMailbox “HR”
Run the same cmdlet to restore archive mailbox.
Get-MailboxRestoreRequest -Name “HR Recovery”
There is also a third method using a professional tool like RecoveryFix for Exchange Server Recovery, which does not need creating a recovery database. It uses the actual database and recovers the lost data.
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