Restoring queue manager data

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


Before you begin

Before starting the backup, ensure that the queue manager is not running.

Note: When you upgrade to IBM® WebSphere MQ Version 7.5 and later, make sure that you 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.


Procedure

  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. Make sure that we have a log control file as well as the log files.

    For circular logging, back up the queue manager data and log file directories at the same time so that we 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.

  4. Update the configuration information files. 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.
  5. Check the resulting directory structure to ensure that we 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.


Results

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