Backing up and restoring messages

Updated: January 21, 2005

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2

Backing up and restoring messages

You can use the message backup and restore command-line utility, Mqbkup, provided with Message Queuing to protect message storage files, log files, transaction log files, and registry settings against computer failure. You must first create a folder to use for backup before using the utility. You run the utility from a command prompt by typing mqbkup.

The syntax of the utility is:

mqbkup {-b folderpath | -r folderpath | -c msmq_resource_name | -?}

where:

-b folderpath backs up the files to the specified folder,

-r folderpath restores the files from the specified folder,

-c msmq_resource_name specify the name of the clustered msmq resource

-? displays help for the utility.

Before restoring messages, you must close Control Panel and all Message Queuing applications or any application that holds open a registry key handle to the HKLM\Software\MSMQ\Parameters registry key. Such applications typically include the Computer Management console if the MSMQ snap-in is loaded, the MSMQ trigger service, and some third party applications.

noteNote
Closing the Control Panel is not an issue on Windows XP and above because these versions of Windows do not include an MSMQ Control Panel item.

ImportantImportant
This utility backs up recoverable and transactional messages; including those in the outgoing queues. It does not back up or restore express messages.

Certificate and cryptographic key information is not backed up using this utility.

After a restore operation, you must register a new user certificate. For information about how to register a certificate, see Register certificates for Message Queuing.

This utility stops and restarts the Message Queuing service.

Tags :


Page view tracker