Read time 3 min
Exchange administrators always need to be prepared against server crashes and data loss situations, though Exchange is far more secure because of Database Availability Groups(DAGs). There are different recovery methods by which administrators can recover a server even after crashes. Due to the integration with Active Directory, it is possible to rebuild the configuration of the Exchange from Active Directory. Also, many professional tools can be used to recover the lost Exchange data to different locations in different formats.
Recover the lost Exchange Server
Active Directory is the place where all the Exchange Server settings are stored. So, it is possible to rebuild the configuration of the Exchange environment from Active Directory. Here is how you can do this:
- Reset a Computer Account:
To do this, you must be a member of Domain Admin, Enterprise Admin, or Account Operators. Use the following method to reset the computer account:
- Follow Start>>Control-Panel >> Administrative Tools >> Active Directory Users and Computers.
- Click Computers.
- Go to Details and click Reset Account.
- After installing the OS on the new server, give it the same name as that of the lost server.
NOTE – It is essential to name the new server as the older one. Otherwise, it will not work correctly.
- Add the sever to the domain of the lost server.
- Install all the prerequisites for Exchange Server 2016.
- Start the command prompt after login on to the Exchange Server, and run the following command –
Setup /m:RecoverServer /IAcceptExchangeServerLicenseTerms
- Finally, configure the server as per your requirements and restart.
- To verify the reocvery, check if the Microsoft Exchange Server services are running in the Windows Services tool.
Note: Follow the same procedure for Exchange 2013 and 2010 also. For Exchange 2010, you need to run the following command –Setup /m:RecoverServer
Recover a DAG member Server
The method mentioned above is used to retrieve a lost Exchange Server which is not a member of a Database Availability Group (DAG). There is a different method to recover a DAG member server:
- To recover any replay lag from mailbox database copy, run the following command –
Get-MailboxDatabase MyExchangeDatabase | Format-List *lag*
- To remove any mailbox database copy, run the following command –
Remove-MailboxDatabaseCopy MyExchangeDatabase \MBX1
- To remove the configuration of a failed server from DAG, run the following command –
Remove-DatabaseAvailabilityGroupServer -Identity DAG1 -MailboxServer MBX1
- Go to Active Directory and reset the computer account.
- Run the following command with using the original setup media –
- To add the recovered server to DAG, run the following command –
Add-DatabaseAvailabilityGroupServer -Identity DAG1 -MailboxServer MBX1
- To know the status of the retrieved DAG server, use the following command –
Get-MailboxDatabaseCopyStatus -Server < MyExchangeDatabase >
Recover data from corrupt EDB files
After you have rebuilt the Exchange Server, it becomes essential to recover the lost Exchange data too. Exchange database information can be recovered from an offline EDB file. Thus, you can recover your important emails, contacts, and notes. For this, you can take the assistance of Kernel for Exchange Server Recovery tool. This EDB Recovery tool helps to recover complete Exchange mailbox data and save EDB to PST, Live Exchange, and Office 365 quickly.
Check Video to Know the Process of Exchange Recovery