{"id":1231,"date":"2013-04-04T22:38:40","date_gmt":"2013-04-04T22:38:40","guid":{"rendered":"http:\/\/microsoftgeek.com\/?p=1231"},"modified":"2013-04-04T22:38:40","modified_gmt":"2013-04-04T22:38:40","slug":"exchange-2010-hub-transport-server-backup-and-recovery","status":"publish","type":"post","link":"https:\/\/microsoftgeek.com\/?p=1231","title":{"rendered":"Exchange 2010 Hub Transport Server Backup and Recovery"},"content":{"rendered":"<p>&nbsp;<\/p>\n<div>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"hubtransport\" alt=\"\" src=\"http:\/\/exchangeserverpro.com\/wp-content\/uploads\/2010\/08\/hubtransprot.png\" width=\"174\" height=\"207\" \/><\/p>\n<p>The Exchange Server 2010 Hub Transport Server role is responsible for all email flow within the organization. \u00a0Every email between two recipients, whether they are both internal mailboxes or one is an external mailbox, will traverse \u00a0at least one Hub Transport server. \u00a0This even includes emails between two mailboxes stored on the same database.<\/p>\n<p>In addition to the delivery of email the Hub Transport server also applies transport rules, performs journaling, and can optionally provide message hygiene services as well.<\/p>\n<h2>What Needs to be Backed Up on Hub Transport Servers?<\/h2>\n<p>To plan for backup and recovery of the Hub Transport server you first need to understand where the server stores its configuration and data.<\/p>\n<p><strong>Active Directory<\/strong>\u00a0\u2013 most of the Hub Transport server configuration information is stored in Active Directory. \u00a0However there are a few exceptions to that.<\/p>\n<p><strong>System State<\/strong>\u00a0\u2013 the system state contains information such as SSL certificates installed on the server, and service startup and dependency settings in the registry, which will be important if they have been modified from the defaults. \u00a0The system state will also include information about any other applications or agents installed on the Hub Transport server, such as antivirus and anti-spam products.<\/p>\n<p><strong>File System<\/strong>\u00a0\u2013 the file system contains the transport queues and some of their ESE settings, log files such as message tracking logs and protocol logs, and customizations made to the local transport configuration. \u00a0The file system will also include the program files for any additional applications or agents installed on the server.<\/p>\n<h2>Planning the Hub Transport Server Backup<\/h2>\n<p>When you are planning the Hub Transport server backup strategy there are different approaches you can take depending on your requirements.<\/p>\n<h3>Backing up Everything<\/h3>\n<p>A full system backup of the server, along with a working Active Directory, encompasses all of the required information for a recovery. \u00a0However this backup takes the longest and will consume the most backup storage.<\/p>\n<p>If a server failed and needed to be recovered from a full backup any undelivered messages still in the transport queue would be lost. \u00a0But it is impractical to backup the entire server multiple times a day just to protect the transport queue databases from data loss.<\/p>\n<p>Depending on the Exchange environment and the backup infrastructure in place a full server recovery may take longer than simply rebuilding the server from scratch.<\/p>\n<h3>Backing up the Minimum<\/h3>\n<p>To save on backup storage and minimize the backup\u00a0time frame\u00a0the minimum data on the Hub Transport server can be backed up. \u00a0For most environments this would mean only backing up the transport queue databases and the log files on the file system.<\/p>\n<p>Because these would be relatively fast to back up this type of backup could be performed multiple times per day to minimize the risk of losing undelivered messages. \u00a0This concern would mostly apply to high volume email environments where the transport queues are regularly backlogged. \u00a0Of course in those cases some attention should be paid to whatever performance bottleneck is causing the backlog, if it is something within the control of that organization to fix.<\/p>\n<h3>Backing up Nothing<\/h3>\n<p>A perfectly feasible backup strategy for the Hub Transport server is to back up nothing at all. \u00a0This would be practical if:<\/p>\n<ul>\n<li>there are multiple, redundant Hub Transport servers deployed<\/li>\n<li>the transport queues are not frequently backlogged<\/li>\n<li>the organization does not wish to retain any log files from the Hub Transport servers<\/li>\n<\/ul>\n<p>If all those conditions are true then it may not be necessary to back up the Hub Transport servers at all.<\/p>\n<h2>Backing Up and Restoring Hub Transport Servers<\/h2>\n<p>For the purposes of this demonstration I\u2019ve configured a Hub Transport server with an additional Receive Connector.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"relayconnector\" alt=\"\" src=\"http:\/\/exchangeserverpro.com\/wp-content\/uploads\/2010\/08\/relayconnector.png\" width=\"436\" height=\"179\" \/><\/p>\n<p>Message tracking logs are also enabled.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"messagetracking\" alt=\"\" src=\"http:\/\/exchangeserverpro.com\/wp-content\/uploads\/2010\/08\/messagetracking.png\" width=\"407\" height=\"102\" \/><\/p>\n<h3>Recovering a Hub Transport Server<\/h3>\n<p>As mentioned earlier most of the critical Hub Transport server configuration is stored in Active Directory. \u00a0When a Hub Transport server has failed you can recover the server using the following process.<\/p>\n<ol>\n<li>Install a new server to host the Hub Transport server role<\/li>\n<li>Configure the server with the same name and IP address as the failed server, and join it to the domain<\/li>\n<li>Install the\u00a0Exchange Server 2010 pre-requisites<\/li>\n<li>Perform an installation of Exchange Server 2010 using Recovery Mode<\/li>\n<\/ol>\n<p>To run setup in Recovery Mode use the following command to launch Exchange Server 2010 set from an elevated command prompt.<\/p>\n<pre>C:\\Admin\\Exchange 2010&gt;setup \/m:recoverserver<\/pre>\n<p>Setup performs a server recovery instead of a normal installation.<\/p>\n<pre>Welcome to Microsoft Exchange Server 2010 Unattended Setup\r\n\r\nBy continuing the installation process, you agree to the license terms of\r\nMicrosoft Exchange Server 2010. If you don't accept these license terms,\r\nplease cancel the installation. To review these license terms, please go to\r\n\r\nhttp:\/\/go.microsoft.com\/fwlink\/?LinkId=150127&clcid=0x409\/\r\n\r\n...............\r\nNo key presses were detected.  Setup will continue.\r\nPreparing Exchange Setup\r\n\r\n    Copying Setup Files              ......................... COMPLETED\r\n\r\nThe following server roles will be recovered\r\n    Hub Transport Role\r\n    Management Tools\r\n\r\nPerforming Microsoft Exchange Server Prerequisite Check\r\n\r\n    Hub Transport Role Checks        ......................... COMPLETED\r\n This computer requires the 2007 Office System Converter: Microsoft Filter Pack.\r\n Please install the software from http:\/\/go.microsoft.com\/fwlink\/?LinkId=123380.\r\n\r\nConfiguring Microsoft Exchange Server\r\n\r\n    Preparing Setup                  ......................... COMPLETED\r\n    Stopping Services                ......................... COMPLETED\r\n    Copying Exchange Files           ......................... COMPLETED\r\n    Restoring Services               ......................... COMPLETED\r\n    Hub Transport Server Role        ......................... COMPLETED\r\n    Exchange Management Tools        ......................... COMPLETED\r\n    Finalizing Setup.                ......................... COMPLETED\r\n\r\nThe Microsoft Exchange Server setup operation completed successfully.\r\nSetup has made changes to operating system settings that require a reboot to tak\r\ne effect. Please reboot this server prior to placing it into production.<\/pre>\n<p>Restart the server as prompted. \u00a0When the server has finished restarting you can verify that configurations such as the additional Receive Connector and the message tracking log configuration have been recovered with the server.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"relayconnector\" alt=\"\" src=\"http:\/\/exchangeserverpro.com\/wp-content\/uploads\/2010\/08\/relayconnector.png\" width=\"436\" height=\"179\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"messagetracking\" alt=\"\" src=\"http:\/\/exchangeserverpro.com\/wp-content\/uploads\/2010\/08\/messagetracking.png\" width=\"407\" height=\"102\" \/><\/p>\n<p>However the log files themselves are not restored during a Recovery Mode install of Exchange Server 2010.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"messagetrackingempty\" alt=\"\" src=\"http:\/\/exchangeserverpro.com\/wp-content\/uploads\/2010\/08\/messagetrackingempty.png\" width=\"556\" height=\"208\" \/><\/p>\n<p>Neither are additional applications or agents that were previously installed ont he server. \u00a0For the Hub Transport server one notable item would the Microsoft Office Filter Pack.<\/p>\n<p>Therefore the server is not fully recovered until all of those items, along with any further customizations to the server, have been manually applied.<\/p>\n<h3>Full System Backup\/Restore for Hub Transport Servers<\/h3>\n<p>For this demonstration I used Windows Server Backup to take a full system backup of the Hub Transport server to use for bare metal restore.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"fullbackup\" alt=\"\" src=\"http:\/\/exchangeserverpro.com\/wp-content\/uploads\/2010\/08\/fullbackup1.png\" width=\"581\" height=\"350\" \/><\/p>\n<p>This backup can take a while depending on your backup infrastructure and the amount of data involved. \u00a0However it simplifies the restore process because it restores the full system including log files, customizations, and additional applications.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"fullrestore\" alt=\"\" src=\"http:\/\/exchangeserverpro.com\/wp-content\/uploads\/2010\/08\/fullrestore1.png\" width=\"468\" height=\"197\" \/><\/p>\n<p>The full restore brings the server back to an operational state ready for production, however it is a point in time recovery and will not include log file entries or mail items that were still in the transport queue since that point in time.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"messagetrackingrestored\" alt=\"\" src=\"http:\/\/exchangeserverpro.com\/wp-content\/uploads\/2010\/08\/messagetrackingrestored.png\" width=\"438\" height=\"222\" \/><\/p>\n<h2>Recovering Hub Transport Servers with Minimal Backups<\/h2>\n<p>When the minimal backup strategy is used in conjunction with server recovery it allows you to make use of an effective hybrid approach to Hub Transport server recovery.<\/p>\n<p>In this approach you combine the two techniques:<\/p>\n<ul>\n<li>fast, frequent backups of the transport queues and message tracking log files at regular intervals throughout the day<\/li>\n<li>restoration using Recovery Mode with and the latest backup files<\/li>\n<\/ul>\n<p>To do this you run Exchange Server 2010 setup in Recovery Mode as demonstrated earlier but with an additional command line switch.<\/p>\n<pre>C:\\Admin\\Exchange 2010&gt;setup \/m:RecoverServer \/DoNotStartTransport<\/pre>\n<p>The\u00a0<strong>\/DoNotStartTransport<\/strong>\u00a0switch stops setup from starting the Microsoft Exchange Transport service when it finishes installation.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"transportservice\" alt=\"\" src=\"http:\/\/exchangeserverpro.com\/wp-content\/uploads\/2010\/08\/transportservice.png\" width=\"429\" height=\"84\" \/><\/p>\n<p>This allows you the opportunity to restore the most recent transport queue database and message tracking log files onto the server before it is put back into production use.<\/p>\n<p>With this recovery model you will still need to reinstall additional applications or agents as with the previous Recovery Mode technique.<\/p>\n<h2>Summary<\/h2>\n<p>As you can see there are pros and cons to each backup strategy for the Hub Transport server role in Exchange Server 2010. \u00a0For many organizations the full system backup\/restore will be the simplest choice, though it will consume the most backup storage and takes longer to back up. \u00a0For high volume environments or those with strict auditing and retention requirements the frequent backups of the transport queue database and log files may be the preferred approach instead.<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; The Exchange Server 2010 Hub Transport Server role is responsible for all email flow within the organization. \u00a0Every email between two recipients, whether they are both internal mailboxes or one is an external mailbox, will traverse \u00a0at least one Hub Transport server. \u00a0This even includes emails between two mailboxes stored on the same database. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[22],"tags":[],"class_list":["post-1231","post","type-post","status-publish","format-standard","hentry","category-exchange-2010"],"_links":{"self":[{"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/posts\/1231","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1231"}],"version-history":[{"count":1,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/posts\/1231\/revisions"}],"predecessor-version":[{"id":1232,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/posts\/1231\/revisions\/1232"}],"wp:attachment":[{"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1231"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1231"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1231"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}