Home » Exchange Server » Exchange 2010 Edge Transport Server Backup and Recovery

Exchange 2010 Edge Transport Server Backup and Recovery

The Exchange Server 2010 Edge Transport Server role is responsible for all incoming and outgoing internet email for an organization.

Typically deployed within a secure perimeter network, or DMZ, the Edge Transport Server is basically a smart host or SMTP relay server for the organization, and can protect from viruses, spam, and also perform other rule-based actions to control the flow of email in and out of the network.

What Needs to be Backed Up on Edge Transport Servers

To plan for backup and recovery of the Edge Transport server you first need to understand where the server stores its configuration and data.

Active Directory Lightweight Directory Service – each Edge Transport server runs its own instance of AD LDS, which is used to store a subset of information about recipients in the Exchange organization, as well as information about the connectors that are established between the Edge Transport server and the Hub Transport servers for mail flow.  The AD LDS database and log files are stored on the file system of the server.

Edge Configuration – the Edge Transport server configuration can be exported to an XML file for cloning between servers and for recovery purposes.  The Edge configuration file is stored on the file system of the server.  This does not include the Edge Subscription information that connects the Edge Transport server to Hub Transport servers.

System State – the system state contains information such as service startup and dependency settings in the registry, which is important if any settings have been modified from the defaults.  The System State is also important if extra third party applications or agents have been installed on the Edge Transport server, local security policies have been applied, administrative accounts or groups created or modified, and a range of other items that may be important in a recovery.

Other Files – other files such as transport queue databases and log files are also stored on the file system.

Planning the Edge Transport Server Backup

When you are planning the Edge Transport server backup strategy there are different approaches you can take depending on your requirements.

Backing up Everything

A full system backup of the server encompasses all of the required information for a recovery, however this takes longer to backup and consumes the most backup storage.

This makes it impractical if frequent backups are required throughout the day, for example in a high volume email environment the transport queue databases might be backed up every 5 minutes to reduce the risk of losing in-transit emails if the server crashed.

A full backup can also take longer to recover in some cases, however this is less of a concern if multiple Edge Transport servers are deployed.

Backing up the Minimum

A backup of just the Edge Transport configuration is the most efficient in terms of time frames and storage space, and can be run only when a configuration change has been made.

However the recovery time may be longer because a new host would need to be provisioned from scratch to import the config.

There may also be more manual intervention required because importing the configuration to a new server still requires the Edge Subscription to be set up again.  In addition, this backup strategy does not protect the transport queue databases, log files, or any third party applications and agents installed on the server.

Backing Up and Restoring Edge Transport Servers

For the purposes of this demonstration I've made a few changes to a default Edge Transport server install on Windows Server 2008 R2.

The default log file paths have been modified:

An Edge Subscription is in place:

.NET Framework 4 has been installed via Microsoft Update:

Exporting/Importing the Edge Configuration

The Edge Configuration can be exported and imported using a script provided with Exchange Server 2010.  The script is located in the Scripts folder of your Exchange Server 2010 installation folder, which by default would be:

C:Program FilesMicrosoftExchange ServerV14Scripts

On the Edge Transport server launch an Exchange Management Shell and run the script to export the Edge Configuration.

For this demonstration the server operating system has been manually reinstalled to simulate a recovery scenario, and the Exchange Server 2010 reinstalled with the Edge Transport server role.

Note: the Edge Transport server can be a domain member however it is not a valid role for using Setup /m:RecoverServer to restore a failed server. In some scenarios you may encounter an error that “The Exchange Server is in an inconsistent state” when trying to reinstall the server.  If you do then click here for the solution.

When the new Edge Transport server is ready you can import the Edge Configuration to it using a script that is once again located in your Exchange Server 2010 installation folder.

Launch the Exchange Management Shell, and then run the import script to validate that the configuration can be applied.  This checks for such things as valid file system directories to confirm that that they can be recreated when the configuration is imported.

Next, import the configuration file by switching the -isImport parameter to $true.

Note the warning that the Transport service requires a restart. This does not happen automatically, so run the following command from the Exchange Management Shell.

Although the relevant Connectors are added to the Edge Transport server when the Edge Configuration is imported, they are not correctly set up on both ends (ie on the AD Site/Hub Transport servers as well). To do this you will need to re-run the Edge Subscription process.

Create an Edge Subscription file on the Edge Transport server by running the following command in an Exchange Management Shell.

Copy the XML file to an Exchange 2010 server in the organization. Launch the Exchange Management Console and navigate to Organization Management/Hub Transport. Start the New Edge Subscription task.

Select the Active Directory Site you wish to create the subscription with, and then browse and select the XML file that you copied from the Edge Transport server.

Click New to complete the Edge Subscription wizard.

The Edge Transport server role has now been recovered by:

  1. Reinstalling the operating system and Exchange Server 2010
  2. Importing a backup of the Edge Configuration
  3. Re-establishing the Edge Subscription

By only backing up the exported Edge Configuration file this technique takes up the least backup time and storage, however the restoration is more effort (note that the use of virtualization, templates or other automated build processes would speed it up to varying degrees).

  • The customized log path settings were restored
  • The Edge Subscription was manually recreated
  • Additional applications were not recovered and need manual reinstallation

So depending on the server there will be additional effort to bring it back to full service, if only the Edge Configuration was ever backed up.

Full System Backup/Restore for Edge Transport Servers

For this demonstration I used Windows Server Backup to take a full system backup of the Edge Transport server to use for bare metal restore.

This backup takes longer than if you were only exporting and backing up the Edge Configuration on a regular basis.  However the restore process is simpler and possibly even faster than the previous method, because the full system is being restored, although this would depending on your backup infrastructure and whether the restore media was on hand or needed to be brought in from offsite.

Once the full system restore is complete the server is ready to go, including the Exchange Server 2010 installation and all other applications and configurations on the server.

Although the Edge Subscription is restored by this method, if you test it from the Hub Transport server you may find that it is temporarily broken.

You can usually fix this by simply restarting the EdgeSync service on the Hub Transport server.

The Edge Subscription should now test successfully.

The Edge Transport server role has now been recovered by performing a full system restore of the server.

  • The custom log path settings were restored
  • The Edge Subscription was maintained
  • The additional applications were also recovered

By taking full system backups of the Edge Transport server the restoration process was simplified, however the backups themselves take up more time and backup storage.


As you can see there are pros and cons to each backup strategy for the Edge Transport server role in Exchange Server 2010.  In most environments the full system backup/restore method works best as it simplifies almost every aspect of the process, with the only trade off being the extra time and storage capacity needed during backups.  The config export/import method tends to be more suited to migrating the Edge Transport server to new hardware, or adding additional Edge Transport servers into the environment.

Back to the full series on Exchange Server 2010 backup and recovery.

Paul is a Microsoft MVP for Office Servers and Services. He works as a consultant, writer, and trainer specializing in Office 365 and Exchange Server. Paul is a co-author of Office 365 for IT Pros and several other books, and is also a Pluralsight author.
Category: Exchange Server


  1. JS says:

    Hi Paul,

    I am getting following error when I am importing clone data from one Edge Server to another…..I exported config from Edge1 and copy it to Edge2…made the name change in config file to Edge2 and import verify works fine….but real config import is failing at following stage….

    Importing Edge configuration information Failed.
    Reason: You cannot call a method on a null-valued expression.
    Are you sure you want to perform this action?
    Removing Receive connector “EDGE02From Internet”.
    [Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is “Y”): a

    Are you sure you want to perform this action?
    Removing Send connector “To Internet”.
    [Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is “Y”): a
    Importing Edge configuration information Failed.
    Reason: You cannot call a method on a null-valued expression.



  2. Yesai Tchouldjian says:

    Hello Paul,

    I have a question. If we are introducing a second Edge Server, we want to Export the Config from the First Edge Server, then Import to Second Edge Server, then create the New Edge Subscription? Would we have to create the subscription, then export & import, and then Re-create the subscription to second server? I am very confused on this matter because I have receivied conflicting answers and cannot see which way is correct.
    I have followed the following TechNet article, http://technet.microsoft.com/en-us/library/aa996008(v=exchg.141).aspx
    but I cannot find an answer. Thanks again and great article.

  3. andrew says:

    Hi paul,

    Seeking for your help im on my lab simulating my new exchange server 2010 installed,and i have issue encounder in my edge transport server,i used 2012 server as primary os and i install,2010 edge transport on this os,my domain is 2008 r2 server,my issue is MMC has detected as error in snapin

Leave a Reply

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