Microsoft KB Archive/303949

= How to restore an information store database in a clustered Exchange environment =

Article ID: 303949

Article Last Modified on 10/25/2007

-

APPLIES TO


 * Microsoft Exchange Server 2003 Enterprise Edition
 * Microsoft Exchange Server 2003 Standard Edition
 * Microsoft Exchange 2000 Server Standard Edition
 * Microsoft Exchange Server 5.5 Standard Edition

-



This article was previously published under Q303949



Important This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry



IN THIS TASK

 * SUMMARY
 * Microsoft Exchange Server 2003
 * Microsoft Exchange 2000 Server
 * Microsoft Exchange Server 5.5
 * Restore from an offline backup
 * Method 1
 * Method 2
 * Restore from an online backup
 * Resetting the registry checkpoint
 * REFERENCES



SUMMARY
This article describes the procedures to restore a Microsoft Exchange information store database on a cluster server.

back to the top

Microsoft Exchange Server 2003
To restore a database on an Exchange 2003 Server computer that is installed on a cluster, use the same procedure that you use on a non-clustered server. To restore a database on an Exchange 2003 server, dismount the database that you want to restore, and then restore from backup. For additional information about how to restore an Exchange database from backup, click the following article number to view the article in the Microsoft Knowledge Base: For additional information about how to back up and restore an Exchange 2003 Server computer, click the following article numbers to view the articles in the Microsoft Knowledge Base:

258243 How to back up and restore an Exchange computer by using the Windows Backup program

296788 Offline backup and restoration procedures for Exchange

822896 Exchange Server 2003 data backup and volume shadow copy services

back to the top

Microsoft Exchange 2000 Server
You use the same procedure to restore a database on an Exchange 2000 Server computer that is installed on a cluster as you use on a non-clustered server. To restore an Exchange 2000 server, dismount the database that you want to restore, and then restore from backup.

For additional information about how to back up and restore an Exchange 2000 Server computer, click the following article numbers to view the articles in the Microsoft Knowledge Base:

258243 How to back up and restore an Exchange computer by using the Windows Backup program

296788 Offline backup and restoration procedures for Exchange

back to the top

Restore from an offline backup
There are two methods for performing an offline restore on an Exchange 5.5 cluster. This article describes a point-in-time restoration. In this scenario, no log files are &quot;replayed&quot; into the database. All of the data created after the backup is performed is lost.

back to the top

 Method 1  Start the Cluster Administrator program, click Groups, and then click Exchange Cluster. In the right pane, right-click Microsoft Exchange Information Store, and then click Take Offline. Do not stop the services by using the Services tool in Control Panel or by using the command line. Quit the Cluster Administrator program. Perform an offline backup of your current database files (Mdbdata folders). Move the contents of the Mdbdata folders to another location. Restore the backed-up database files (Priv.edb and Pub.edb) to the correct database folder. Do not restore any Edb*.log files.

At this point, the Priv.edb and Pub.edb files will be the only files in the database folders.</li> Set the _CLUSTER_NETWORK_NAME_ environment variable to the network name used by Exchange. To do this, type the following command, where  is the Exchange network name:

SET _CLUSTER_NETWORK_NAME_=

Note: The network name is case-sensitive. To determine the network name: <ol style="list-style-type: lower-alpha;"> Start the Cluster Administrator.</li> Expand the Exchange resource group, right-click the Exchange Network Name resource, and then click Properties.</li> Click the Parameters tab, and then view the entry in the Name box.</li></ol> </li> From the Exchsrvr\bin directory, run the isinteg -patch command. If the _CLUSTER_NETWORK_NAME_ environment variable is not set correctly, ISINTEG -PATCH will report the following error message:

The private store could not be updated. Reason: JET_errKeyDuplicate.

</li> Start the Exchange information store service by using the Services tool in Control Panel. When Exchange Server is completely online, verify that mail delivery is functioning correctly.</li> Stop the Exchange information store service by using the Services tool in Control Panel.</li> Start the Cluster Administrator, and then bring the Store resource back online.</li> After all of the services start, test the failover of the Exchange server. To do this, right-click the cluster resource group that contains the Exchange Resources, and then use the Move Group option.</li></ol>

back to the top

 Method 2 <ol> Start the Cluster Administrator program, click Groups, and then click Exchange Cluster.</li> In the right pane, right-click Microsoft Exchange Information Store, and then click Take Offline. Do not stop the services by using the Services tool in Control Panel or by using the command line.</li> Quit the Cluster Administrator program.</li> Perform an offline backup of your current databases (the Mdbdata folders).</li> Move the contents of the Mdbdata folders to another location.</li> Restore the backed-up database files (Priv.edb and Pub.edb) to the correct database folder. Do not restore any Edb*.log files.

At this point, the Priv.edb and Pub.edb files will be the only files in the database folders.</li> Set the _CLUSTER_NETWORK_NAME_ environment variable to the network name used by Exchange. To do this, type the following command, where  is the Exchange network name:

SET _CLUSTER_NETWORK_NAME_=

Note: The network name is case-sensitive. To determine the network name: <ol style="list-style-type: lower-alpha;"> <li>Start the Cluster Administrator.</li> <li>Expand the Exchange resource group, right-click the Exchange Network Name resource, and then click Properties.</li> <li>Click the Parameters tab, and then view the entry in the Name box.</li></ol> </li> <li>From the Exchsrvr\bin directory, run the isinteg -patch command. If the _CLUSTER_NETWORK_NAME_ environment variable is not set correctly, ISINTEG -PATCH will report the following error message:

The private store could not be updated. Reason: JET_errKeyDuplicate.

</li> <li>Reset the registry checkpoint for the Store resource. For information about how to do this, see the Resetting the Registry Checkpoint section of this article.</li> <li>Start the Cluster Administrator program, and then bring the Store resource back online. Do not use the Services tool in Control Panel or the command line to start the service.</li></ol>

back to the top

Restore from an online backup
Note The steps to restore the Exchange information store database may differ depending upon the backup program that you use.
 * 1) Make sure that the System Attendant cluster resource is online.
 * 2) Start the Cluster Administrator program, click Groups, and then click Exchange Cluster.
 * 3) In the right pane, right-click Microsoft Exchange Information Store, and then click Take Offline. Do not stop the services by using the Services tool in Control Panel or from a command line.
 * 4) Perform an offline backup of the current database files (the Mdbdata folders), even if there is corruption in the database.
 * 5) Start your backup program, and then select the information store that you want to restore.
 * 6) Click Restore, and then select the virtual server name of the Exchange Cluster Server as the destination.
 * 7) If you are restoring to a recovery server or to a reinstalled Exchange Server computer, click to select the Erase All Existing Data check box, and then click OK.
 * 8) Make sure that the Start services after restore check box is not selected.
 * 9) After the restore operation is complete, start the Cluster Administrator and make sure that the Exchange IP address and the Exchange Network Name resources are online.
 * 10) Reset the registry checkpoint for the Store resource. For information about how to do this, see the Resetting the Registry Checkpoint section of this article.
 * 11) Start the Cluster Administrator program, and then bring the Store resource back online. Do not use the Services tool in Control Panel or the command line to start the service.

back to the top

Resetting the registry checkpoint
To reset the registry checkpoint for a cluster resource, follow these steps.
 * 1) Start the Cluster Administrator program, and then select the correct service resource.
 * 2) On the File menu, click Properties, and then click the Registry Replication tab.
 * 3) Select the Root Registry key, and then click Modify.
 * 4) In the Edit dialog box, select the whole registry key, and then press CTRL+C to copy it.
 * 5) Click Cancel to close the Edit dialog box.
 * 6) Click Remove to delete the registry key, and then click Apply to save the changes.
 * 7) Click Add to re-add the key, and then press CTRL+V to paste the saved registry key.
 * 8) Click OK two times.

back to the top

<div class="references_section">