Restoring queue manager data

Follow these steps to restore a backup of a queue manager's data.

Before you begin

Ensure that the queue manager is not running.

When restoring a backup of a queue manager in a cluster, see Recovering a cluster queue manager and Clustering: Availability, multi-instance, and disaster recovery for more information.

About this task

To restore a backup of a queue manager's data:
  1. Find the directories under which the queue manager places its data and its log files, by using the information in the configuration files.
  2. Empty the directories into which you are going to place the backed-up data.
  3. Copy the backed-up queue manager data and log files into the correct places.
  4. Update the configuration information files.

Check the resulting directory structure to ensure that you have all the required directories.

For more information about IBM® MQ directories and subdirectories, see Directory structure on Windows systems and Directory content on UNIX and Linux® systems.

Make sure that you have a log control file as well as the log files. Also check that the IBM MQ and queue manager configuration files are consistent so that IBM MQ can look for the restored data in the correct places.

For circular logging, back up the queue manager data and log file directories at the same time so that you can restore a consistent set of queue manager data and logs.

For linear logging, back up the queue manager data and log file directories at the same time. It is possible to restore only the queue manager data files if a corresponding complete sequence of log files is available.
Note: When you upgrade to IBM WebSphere® MQ 7.5 and later, ensure to take a backup of the .ini file and the registry entries. The queue manager information is stored in the .ini file and can be used to revert to a previous version of IBM MQ.

Results

If the data was backed up and restored correctly, the queue manager will now start.