Microsoft Exchange Server 2003 – Recovery Options

Introduction to Exchange 2003 Server – Recovery Options

Horror of horrors, you lose Exchange data.  Perhaps it’s because of hardware failure, or maybe a natural disaster, in any event the email is lost.  So now it’s game on and the ‘recovery ball’ is snapped into your hands.  Just as a quarterback reads his pass routes, so you work your way through a progression of recovery options.

Topics for Exchange 2003 – Recovery Options

 ♠

0) Initial Evaluation

Investigate the scope of the problem, what Exchange 2003 data must be recovered?  A piece of email, a whole Storage Group or a public folder.  Do you need to restore the Windows 2003 System State?  Is there any hardware which must be replaced? 

Disaster Recovery tip.  Check what can be replicated from other serversCheck what can be replicated from other servers.  For example, Active Directory information or Public folder replicas.

Let us assume that the problem is greater than just restoring a deleted item, or reconnecting a mailbox.  The solution requires either the repair of the existing server, or building a new server.  Before attempting a repair, ask yourself, ‘Should I backup the Exchange 2003 server as it now?’

1) Recover to the same Exchange 2003 server

Some people buy a whole new tap assembly when all they need is a new washer.  Don’t rebuild a whole server if you only need to restore one mailstore.

Restoring a backup copy of a mailstore database to the same server would be my first recovery choice.  I see this method as being the quickest and easiest way of recovering a mailstore database.  Even if you have lost the whole Storage Group, you could restore it from the backup tapes.  The key to this restore method succeeding is, that apart from the Exchange databases, there is nothing else wrong with the Windows 2003 Server.

Exchange Monitor from SolarWindsGuy Recommends: The SolarWinds Exchange Monitor

Here is a free tool to monitor your Exchange Server.  Download and install the utility, then inspect your mail queues, monitor the Exchange server’s memory, confirm there is enough disk space and check the CPU utilization.

This is the real deal – there is no catch.  SolarWinds provides this fully-functioning freebie, as part of their commitment to supporting the network management community.

Free Download of SolarWinds Exchange Monitor

1a) Restore the Windows Server 2003 system state

If there is a hardware problem, or a stop error with the underlying Windows Server 2003, then your tactic is to carryout a System State restore.  Naturally, you would replace any damaged hardware first.  This is what a system state backup contains:

  • The Windows Server 2003 registry
  • Windows Server 2003 boot files
  • Windows Server 2003 protected operating system files
  • The Windows Server 2003 IIS metabase
  • COM+ Class registration database
  • Certificate Services database (if the server is a certificate server)
  • Active Directory directory service (if the server is a domain controller)
  • The SYSVOL directory (if the server is a domain controller)
  • Domain Name Service (DNS) zone information (if the server is running DNS)
  • Cluster service resource registry checkpoints and the quorum disk resource data (if the server is running the Cluster service)

 

Note:  System State Backups are only good for 60 days because of tombstoning.   See more on tombstoneLifetime.

Disaster Recovery tip.  Check what can be replicated from other serversRemember that you could start the Windows 2003 Server in Safe Mode, or failing that from the Recovery Console.

2) Rebuild a new server

In this scenario the original server has been stolen or damaged beyond repair.  For example a ‘blue screen of death’, with accompanying stop error.  Your solution now is to build the server from scratch starting with Windows Server 2003.

The key steps for this strategy are to install Windows Server 2003 with a new name and in its own workgroup.  Rely on restoring the system state to give the server the correct NetBIOS name and Active Directory membership.

If the decision is close whether to restore the original server from backup, or whether to build a new server, favour a fresh build as you get cleaner versions of Exchange and Windows 2003.

/DisasterRecovery /diasterrecovery Exchange 2003 Disaster Recovery switch

Once the new Windows Server 2003 is up and running, install Exchange 2003 with a special switch. Setup /DisasterRecovery tells the operating system not to mount the Exchange 2003 stores on boot-up.  The idea is that you will then restore the databases from backup.  Without this switch Exchange 2003 would mount the database and they would be live which could make the problem worse if you were trying to recover a server from backup.  The DisasterRecovery switch is equivalent of ticking the ‘Do not mount the store at start-up’ check box on the Database tab of the store properties.

The other benefit of /DisasterRecovery is that it interrogates Active Directory for information about the Exchange Organization.

Note: There is a double rr in this switch DisasterRecovery.

/createunattend

For those who are highly organized, you could use the createunattend switch and persuade setup to generate an .ini file.  The benefit of this file is that it makes for a quicker install with few annoying prompts for information.  The idea is that when you install Exchange 2003 with the /DisasterRecovery switch, append the ini file, for example: /disasterrecovery /unattendfile c: \setup.ini.

This unattend file is text based so if you need to fine tune the values, then you can edit it with notepad.  However, if the new server and original machines are identical there should be no need to alter the setup.ini file.

Note: Make sure that you are in the folder containing Exchange Server 2003’s setup.exe.  The full syntax would be:
setup.exe /disasterrecovery /unattendfile c:\ setup.ini

2a) Standby Server

If you can persuade the financial director to spend the money then a standby server is a great solution.  Not only will it give you the fastest Exchange 2003 recovery, but it will also allow you to test restores to prove that they will recover from a disaster.

Guy Recommends:  SolarWinds’ Free Bulk Mailbox Import ToolFree Download Bulk Mailbox Import Tool

Import users from a spreadsheet, complete with their mailbox.  Just provide a list of the users with the fields in the top row, and save as .csv file.  Then launch this FREE utility, match your Exchange fields with AD’s attributes, click and import the users.  Optionally, you can provide the name of the OU where the new mailboxes will be born.

There are also two bonus tools in the free download, and all 3 have been approved by Microsoft:

  1. Bulk-import new users and mailboxes into Active Directory.
  2. Seek and zap unwanted user accounts.
  3. Find inactive computers.

Download your FREE bulk mailbox import tool.

Summary

If you need to recover a mailbox database work your way through a progression:  Mailbox Recovery, Repair the existing server, rebuild a new server then restore from tape.  Twist your financial director’s arm and buy a standby server – it will give both of you peace of mind.

See Also