SUMMARY
A good disaster recovery plan for Microsoft Message Queue Server (MSMQ) should include backing up the MSMQ Server configuration information that is stored in the registry. This document should be used in conjunction with the following Microsoft Knowledge Base articles:
191535 HOWTO: Restoring MQIS from SQL Backup
191536 INFO: Backing Up the MQIS Database
For MSMQ Primary Site Controllers (PSCs), it is necessary to back up important registry key information as well as backing up the Message Queue Information Store (MQIS) database. In case of a catastrophic failure, Enterprise and Site configurations can be restored using a saved copy of the MQIS database and the following registry key:
HKEY\LOCALMACHINE\SOFTWARE\Microsoft\MSMQ\Parameters\MachineCache
How you recover an MSMQ Server is determined by what state the computer is in at time of recovery. For instance, if the computer was reformatted and the operating system was re-installed and you need to recover a previous MSMQ Server Service and its configuration, then restoring the necessary registry keys and MQIS database is required in order to retain the local MSMQ Server Service configuration prior to the computer's failure. If the computer was not reformatted and the underlying operating system is intact and MSMQ Server Services need to be reinstalled, some of the previous configuration might already be intact. For instance, MQ dlls have been deleted and the MSMQ Service is no longer valid but the MQIS database and Registry entries are intact. In this case, reinstalling MSMQ Server Services might be simpler because recovery of back up versions of the MQIS and Registry Keys is not necessary.
This document details how to back up and restore the necessary registry keys that MSMQ Primary Site Controllers require. Although there are many registry entries for MSMQ, only the following is required for restoration:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSMQ\Parameters\MachineCache
For PSCs, it is important to make a backup copy of the SiteID information in the registry. This procedure should be done occasionally, and the registry key backup file kept in a safe location along with the backup copy of the MQIS database. This procedure only needs to be completed for PSCs. BSCs do not retain a SiteID.
IMPORTANT NOTE:
It is very important that these procedures be tested in your environment prior to an emergency. Although Microsoft has thoroughly tested this procedure, each configuration is different and other factors might impact reliability.