Recovering a Failed Exchange 2013 Server

Exchange Server recovery is most critical task for Exchange Admin, we need to prepare for any type of disaster recovery

Usually  when there is natural disaster or flood on your current datacenter site you may lose all the servers. So it really important thing to have recovery plan from any kind of situation to recover our servers.

In this blog I’m recovering a lost exchange server 2013 on different hardware,

Exchange 2013 server can be recover by using the Setup /m:RecoverServer switch which rebuilds the Exchange server with the same name by using object information from Active directory.

We need to check the installation path of Exchange Server if we have installed it on different location then we need to use /Targetdir switch to specify the location

Open the ADSIT EDIT tool

Example:

Navigate to the following location: CN=Ex-15,CN=Servers,CN=First Administrative Group,CN=Administrative Groups,CN=First Organization,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=test,CN=Com

98

97

Checked the MSExchInstall Path

In my case its default location C:\Program Files\Microsoft\Exchange Server\V15

The following task you need to perform for recovery exchange server

  • First we need to reset the computer account from AD
  • Deploy new operating system with windows updates
  • Assign same ip address
  • Join to domain with the same name as before
  • Assign same drive letters on the server
  • Install pre-requisites which is required
  • We will use Setup      /m:RecoverServer mode installation

 

99

100

Reseted the Computer Account

We are done with the new operating system with all the Pre-requisites installed on new server

Lets start recovery mode Setup

Setup /m:RecoverServer /IAcceptExchangeServerLicenseTerms

101

Reboot the server

You can login to https://ex-15.test.com/ECP

There you are done with your disaster recovery  🙂

Advertisements

2 thoughts on “Recovering a Failed Exchange 2013 Server

  1. This worked for me. Thank you. But i have one issue, while prerequisites check it has failed because no DB path. I have manually created the path mentioned on the error message.

    DB folders and DB file.

    100% completed.

    Error: Microsoft Windows [Version 6.3.9600]
    (c) 2013 Microsoft Corporation. All rights reserved.

    C:\Users\Administrator.ESWAR7>d:

    D:\>cd D:\Exch 2013

    D:\Exch 2013>Setup /m:RecoverServer /IAcceptExchangeServerLicenseTerm

    Welcome to Microsoft Exchange Server 2013 Unattended Setup
    You need to accept the license terms to install Microsoft Exchange Server 2013.
    To read the license agreement, visit http://go.microsoft.com/fwlink/p/?LinkId=15
    0127. To accept the license agreement, add the /IAcceptExchangeServerLicenseTerm
    s parameter to the command you’re running. For more information, run setup /?.

    D:\Exch 2013>Setup /m:RecoverServer /IAcceptExchangeServerLicenseTerms

    Welcome to Microsoft Exchange Server 2013 Unattended Setup
    Copying Files…
    File copy complete. Setup will now collect additional information needed for
    installation.
    Languages
    Mailbox role: Transport service
    Mailbox role: Client Access service
    Mailbox role: Unified Messaging service
    Mailbox role: Mailbox service
    Management tools
    Client Access role: Client Access Front End service
    Client Access role: Front End Transport service

    Performing Microsoft Exchange Server Prerequisite Check

    Configuring Prerequisites COMPLETED
    Prerequisite Analysis FAILED
    Disaster recovery setup needs access to the log drive ‘C:\Program Files\Mic
    rosoft\Exchange Server\V15\Mailbox\Mailbox Database 1089082068’ to continue.
    For more information, visit: http://technet.microsoft.com/library(EXCHG.150
    )/ms.exch.setupreadiness.MailboxLogDriveDoesNotExist.aspx

    Disaster recovery setup needs access to the mailbox database drive ‘C:\Prog
    ram Files\Microsoft\Exchange Server\V15\Mailbox\Mailbox Database 1089082068\Mail
    box Database 1089082068.edb’ to continue.
    For more information, visit: http://technet.microsoft.com/library(EXCHG.150
    )/ms.exch.setupreadiness.MailboxEDBDriveDoesNotExist.aspx

    The Exchange Server setup operation didn’t complete. More details can be found
    in ExchangeSetup.log located in the :\ExchangeSetupLogs folder.

    D:\Exch 2013>Setup /m:RecoverServer /IAcceptExchangeServerLicenseTerms

    Welcome to Microsoft Exchange Server 2013 Unattended Setup
    Copying Files…
    File copy complete. Setup will now collect additional information needed for
    installation.
    Languages
    Mailbox role: Transport service
    Mailbox role: Client Access service
    Mailbox role: Unified Messaging service
    Mailbox role: Mailbox service
    Management tools
    Client Access role: Client Access Front End service
    Client Access role: Front End Transport service

    Performing Microsoft Exchange Server Prerequisite Check

    Configuring Prerequisites COMPLETED
    Prerequisite Analysis FAILED
    Disaster recovery setup needs access to the mailbox database drive ‘C:\Prog
    ram Files\Microsoft\Exchange Server\V15\Mailbox\Mailbox Database 1089082068\Mail
    box Database 1089082068.edb’ to continue.
    For more information, visit: http://technet.microsoft.com/library(EXCHG.150
    )/ms.exch.setupreadiness.MailboxEDBDriveDoesNotExist.aspx

    The Exchange Server setup operation didn’t complete. More details can be found
    in ExchangeSetup.log located in the :\ExchangeSetupLogs folder.

    \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\

    “After creating manually C:\Program Files\Microsoft\Exchange Server\V15\Mailbox\Mailbox Database 1089082068\Mailbox Database 1089082068.edb” it worked…

    /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

    D:\Exch 2013>Setup /m:RecoverServer /IAcceptExchangeServerLicenseTerms

    Welcome to Microsoft Exchange Server 2013 Unattended Setup
    Copying Files…
    File copy complete. Setup will now collect additional information needed for
    installation.
    Languages
    Mailbox role: Transport service
    Mailbox role: Client Access service
    Mailbox role: Unified Messaging service
    Mailbox role: Mailbox service
    Management tools
    Client Access role: Client Access Front End service
    Client Access role: Front End Transport service

    Performing Microsoft Exchange Server Prerequisite Check

    Configuring Prerequisites COMPLETED
    Prerequisite Analysis COMPLETED

    Configuring Microsoft Exchange Server

    Preparing Setup COMPLETED
    Stopping Services COMPLETED
    Copying Exchange Files COMPLETED
    Language Files COMPLETED
    Restoring Services COMPLETED
    Language Configuration COMPLETED
    Mailbox role: Transport service COMPLETED
    Mailbox role: Client Access service COMPLETED
    Mailbox role: Unified Messaging service COMPLETED
    Mailbox role: Mailbox service COMPLETED
    Exchange Management Tools COMPLETED
    Client Access role: Client Access Front End service COMPLETED
    Client Access role: Front End Transport service COMPLETED
    Finalizing Setup 61%

    Reply
  2. Thanks for sharing such a useful method for restoring the inaccessible exchange 2013 mailboxes. But I would like to mention that manual recovery can sometimes lead to some data loss and moreover, you need to put your more efforts and time in performing the manual recovery task. So, in order to avoid such data loss situation and to save time and efforts, I always prefer using third party Exchange 2013 recovery Software. In my case, I tried Stellar Phoenix Mailbox Exchange Recovery Software and successfully restored exchange 2013 inaccessible mailboxes in quick time without facing any data loss. You can find more info at http://www.stellarinfo.com/edb-exchange-server-recovery.htm

    Reply

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s