DESKTOP

Exchange Server 2010 : Performing Backup and Recovery for Non-Mailbox Server Roles

10/10/2010 9:59:12 AM
Every Exchange role depends on different services or databases, so they have special requirements for backup and recovery. Almost all of the configuration settings for Mailbox, Hub Transport, and Unified Messaging server roles are stored in Active Directory. As with previous versions of Exchange, Exchange 2010 includes the Setup /m:RecoverServer parameter for recovering lost servers. It is used to rebuild and re-create a lost server by using the settings and configuration information stored in Active Directory. This works on all server roles except Client Access Server role, which loses all customizations and Edge Transport role that cannot be used with the /m:RecoverServer switch.

Of course, you can restore only if an Active Directory domain controller is available. You must ensure that your disaster-recovery planning includes backing up and restoring Active Directory.

The Exchange Server environment includes additional information, such as the Offline Address Book, availability data that a local folder stores, and other configuration data. This information is rebuilt automatically when you rebuild the Exchange Server environment. However, if you configured custom settings such as custom audio prompts for your Unified Messaging server, you also need to consider backing up these settings. It is thus important to understand each Exchange roles' requirement to do a successful backup.

1. Client Access Server Backup and Recovery

The Client Access Server role stores the majority of its configuration settings in Active Directory but also has some configuration such as POP3 and IMAP4 or configurations of the EWS service stored in the file system found in the <Exchange_Installation_Path>\ClientAccess folder. Table 1 provides an overview of specific configuration files and how you should back them up.

Table 1. Client Access Server Data Backup Requirements
SERVER DATAHOW TO BACK UP
Server ConfigurationFull backup of all files on the local drives including the registry
CertificatesFull backup or export of certificates and private keys
RPC Client Access ServiceFile-system backup of <Exchange_Installation_Path>\ClientAccess\RPCProxy
Outlook Web App (OWA)File-system backup of <Exchange_Installation_Path>\ClientAccess\OWA
Exchange Control Panel (ECP)File-system backup of <Exchange_Installation_Path>\ClientAccess\ECP
Availability ServiceFile-system backup of <Exchange_Installation_Path>\ClientAccess\exchweb\ews
Autodiscover ServiceSystem-state or IIS metabase backup
ActiveSyncFile-system backup of <Exchange_Installation_Path>\ClientAccess\Sync and IIS metabase backup
POP3 and IMAP4File-system backup of <Exchange_Installation_Path>\ClientAccess\PopImap

To recover a Client Access Server, you can either recover a full backup or you can run Setup /m:RecoverServer to get the basic configuration information from the Active Directory and then restore or configure specific service settings and certificates.


Note: Client Access Server role customize settings are not recovered when you use the Setup /m:RecoverServer command to reinstall the server. As a best practice for this situation, Microsoft recommends installing a new Client Access Server with default settings, and then use a PowerShell script for any customizations you did on the Client Access Server for recovery.

2. Hub Transport Server Backup and Recovery

Hub Transport servers store most of their configuration information in Active Directory and provide protection for messages in transit with their shadow redundancy feature anyway. Thus the Hub Transport servers are not critical from the backup and restore perspective because you will only lose limited data.

The main data that is stored directly on a Hub Transport server that should be considered in a backup is the message tracking logs and (if used) the custom ESE database configuration file. However, in a good backup and restore concept every server should be considered with the same importance. Table 2 provides an overview of what areas you should consider for Hub Transport backup.

Table 2. Hub Transport Server Data Backup Requirements
SERVER DATAHOW TO BACK UP
Server ConfigurationFull backup of all files on the local drives including the registry
CertificatesFull backup or export of certificates and private keys
ESE database configurationBackup of EdgeTransport.exe.config file located in <Exchange_Installation_Path>\Bin
Message tracking logsFile-system backup of <Exchange_Installation_Path>\TransportRoles\Logs


Note: It is recommended that you do a full server backup including at least a file-system backup of the <Exchange_Installation_Path>\ folder to successfully back up a Hub Transport server.

To recover a Hub Transport server, follow these steps:

  1. Set up a server with the same name as the server that is recovered.

  2. Run Setup /m:RecoverServer to install the Exchange role and fetch the configuration information from Active Directory.

  3. Restore custom ESE configuration file and message tracking logs if required.

3. Unified Messaging Server Backup and Recovery

The Unified Messaging server role also does not store any user-related information on the server but includes only configuration information such as custom auto-attendant files, grammar configuration, and Outlook Voice Access files. Table 3 provides an overview of what areas you should consider for Unified Messaging backup.

Table 3. Unified Messaging Server Data Backup Requirements
SERVER DATAHOW TO BACK UP
Server ConfigurationFull backup of all files on the local drives including the registry
CertificatesFull backup or export of certificates and private keys (can be ignored because an UM server does not use any public certificates)
Custom audio promptsFile-system backup of <Exchange_Installation_Path>\UnifiedMessaging\Prompts
GAL grammarFile-system backup of <Exchange_Installation_Path>\UnifiedMessaging\Grammars


Note: To perform a backup that you can recover as quickly as possible, it is recommended that you do a full backup including at least a file-system backup of the <Exchange_Installation_Path>\UnifiedMessaging folder to successfully back up a Unified Messaging server.

To recover a Unified Messaging server, follow these steps:

  1. Set up a server with the same name as the server that is recovered.

  2. Run Setup /m:RecoverServer to install the Exchange role and fetch the configuration information from Active Directory.

  3. Restore custom prompts and audio files if required.

  4. Restore GAL grammar configuration files if required.

4. Edge Transport Server Backup and Recovery

Edge Transport servers that participate in an Edge Synchronization store most of their configuration data in the Exchange organization's Active Directory. This configuration data is synchronized via EdgeSync to the Edge Transport server's local AD LDS database. Only a few configuration settings that are not part of the EdgeSync process, such as local transport agents, need to be considered separately.

Similar to the Hub Transport server, the shadow redundancy feature includes automatic failover functionality for message sending and receiving. Thus the Hub Transport servers are not critical from the backup and restore perspective because you will only lose limited data. Table 4 provides an overview of what areas you should consider for Edge Transport backup.

Table 4. Edge Transport Server Data Backup Requirements
SERVER DATAHOW TO BACK UP
Server ConfigurationFull backup of all files on the local drives including the registry
CertificatesFull backup or export of certificates and private keys
Edge specific configuration/Content-filtering databaseUse the ExportEdgeConfig.ps1 script
Edge transport rulesUse the Export-TransportRuleCollection cmdlet
Message tracking logsFile-system backup of <Exchange_Installation_Path>\TransportRoles\Logs


Note: As a best practice, it is recommended that you run the ExportEdgeConfig.ps1 script to export the configuration to a local disk and then do backup of all files on the local drives including the registry to successfully back up an Edge Transport server.

To recover an Edge Transport server, follow these steps:

  1. Set up a server with the same name as the server that is recovered and install the Exchange Edge Transport role on it.

  2. Validate and import configuration using the ImportEdgeConfig.ps1 script.

  3. Import transport rules using the Import-TransportRuleCollection cmdlet.

  4. Run the EdgeSync process if the Edge Transport server was part of an Edge Synchronization before.

  5. Restore any message tracking log files if required.

Other  
  •  Exchange Server 2010 : Backup and Disaster Recovery Planning
  •  Changes to Backup and Restore in Exchange Server 2010
  •  Programming Windows Azure : Using the SDK and Development Storage
  •  Programming Windows Azure : Building a Storage Client
  •  Working with the REST API
  •  Excel Programmer : Fix Misteakes
  •  Excel Programmer : Change Recorded Code
  •  Excel Programmer : Record and Read Code
  •  Configuring Server Roles in Windows 2008 : New Roles in 2008
  •  Windows Server 2003 : Creating and Configuring Application Directory Partitions
  •  Windows Server 2003 : Configuring Forest and Domain Functional Levels
  •  Windows Server 2003 : Installing and Configuring Domain Controllers
  •  Manage Server Core
  •  Configure Server Core Postinstallation
  •  Install Server Core
  •  Determine Your Need for Server Core
  •  Install Windows Server 2008
  •  Windows Server 2008 : Configure NAP
  •  Incorporate Server Core Changes in Windows Server 2008 R2
  •  Decide What Edition of Windows Server 2008 to Install
  •  
    Video
    Top 10
    Securing Your Silverlight Application
    SQL Server 2008 : Advanced Stored Procedure Programming and Optimization - Nested Stored Procedures
    Adding an Application Bar to a Windows Phone 7 Application (part 3) - Adding an Application Bar Using Managed Code
    Plan The Perfect Shoot (Part 2)
    Managing Stored Passwords in Vista
    Programming Hashing Algorithms (part 2) - Instantiating the Algorithm
    The key to security
    Windows 7 : Using Windows Live Calendar (part 3) - Scheduling Appointments and Meetings & Viewing Agendas and Creating To-Do Lists
    Vengeance Game Keyboard Of Corsair - Mechanical Masterpieces Give You Control (Part 2)
    Algorithms for Compiler Design
    Most View
    Programming Microsoft SQL Server 2005: Using the Data Mining Wizard and Data Mining Designer (part 1) - Creating a Mining Structure
    Windows Server 2008: Active Directory Infrastructure - Deploying Read-Only Domain Controllers (RODCs)
    Introducing Windows Phone 7 Photo Features (part 2) - Using a Chooser to Open Photos & Saving Photos to the Phone
    Asus N56VM
    Gigabyte G1.Sniper M3 - Compact Gaming Board
    Is Small Beautiful, Or Is Bigger Better For Ios Devices?
    IIS 7.0 : Performance and Tuning - Hard Disks
    SQL Server 2008 : Retrieving and Transforming XML Data
    Programming the Mobile Web : HTML 5 (part 3) - Offline Operation
    PlayStation Vita - The most powerful portable console yet
    Exchange Server 2010 : Perform Essential Database Management (part 2) - Manage the Transaction Log Files
    SQL Server 2008 : Transact-SQL Programming - The max Specifier
    H8-1090D Desktop PC - Elite Class
    Using SQL Server 2005 Integration Services : Programming Integration Services (part 4) - Connecting the Source and Destination Adapters with a Path
    Database Availability Group Replication in Exchange Server 2010 : Understanding Database Availability Groups
    Designing and Configuring Unified Messaging in Exchange Server 2010 : Unified Messaging Installation (part 1)
    What's Your Strategy For Today’s Server Room Challenges?
    Building Your First Windows Phone 7 Application (part 3) - Writing Your First Windows Phone Code
    Design and Deploy High Availability for Exchange 2007 : Design Hub Transport High Availability
    Backing Up and Restoring a SharePoint Environment : Using the Recycle Bin for Recovery