Category - Email Migration

Tips to Recover Mailboxes Database in Exchange Server 2016

Sunil Sharma

Sunil Sharma

May 17, 2019

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:

  1. Start the Windows Server Backup and go to the Actions tab. Here, you click the option ‘Recover.’
  2. Choose the source of the backup. If the backup is present in the same volume, then select This Server (ServerName).
  3. Choose the backup which you want to restore.
  4. 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.
  5. In the next page, select ‘Exchange.’
  6. In the Recovery options, there are two options; choose ‘Recover to the original location.’
  7. The tool will provide a summary of your choice. Confirm it.
  8. 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 –

  1. Create a new recovery database using the command.
  2. New-MailboxDatabase -Server NPP2016V3 -Name RecoveryHRDB -Recovery -EdbFilePath E:\RecoveryHRDB\DB433.edb -LogFolderPath F:\RecoveryHRDB

  3. Restore the database and transaction log file using the Windows Server Backup tool mentioned in the first method.
  4. 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.
  5. 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.
  6. Now, restore the data from the recovery database to the original database.
  7. C:\>New-MailboxRestoreRequest -Name “HR Recovery” -SourceDatabase RecoveryHRDB -SourceStoreMailbox “HRDB” -TargetMailbox “HR”

    Run the same cmdlet to restore archive mailbox.

  8. Monitor the restore request with the cmdlet.
  9. Get-MailboxRestoreRequest -Name “HR Recovery”

  10. Finally, dismount and remove the recovery database.
  11. Dismount-Database RecoveryHRDB

    and

    Remove-MailboxDatabase RecoveryHRDB

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.

  1. Run the software and click the Add Source icon.
  2. Select the first option of Offline EDB file. Click Next.
  3. Browse the EDB file and click Next.
  4. Choose the scan mode among standard and deep scan. Click Next.
  5. The tool has scanned and recovered the data. Click Finish.
  6. Choose the version of Exchange Server. Click OK.
  7. 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.
  8. Select the option of ‘Create new PST file’ and click Next.
  9. Browse the saving location of PST file and provide a name to the PST file also. Click Next.
  10. The tool adds the PST file and clicks the Finish button.
  11. Select the messages from the source mailbox, right-click it, and select Copy message(s).
  12. Go to destination PST file, right-click it and select the Paste Message option.
  13. After migrating the messages, the tool gives the migration report. Click Cancel.
  14. The message is now present in the PST file.

After transferring the files, you can access the PST file in Outlook.

Conclusion

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.

Leave a Reply

        Your email address will not be published. Required fields are marked *

        Exchange Server Related Posts
        Browse by Category