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.
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.
Note: When you upgrade to a later version of IBM® MQ,
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
-
Find the directories under which the queue manager places its data and its log files, by using
the information in the configuration files.
-
Empty the directories into which you are going to place the backed-up data.
-
Copy the backed-up queue manager data and log files into the correct places.
Make sure that you 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 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.
-
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.
-
Check the resulting directory structure to ensure that you have all the required directories.
Results
If the data was backed up and restored correctly, the queue manager will now start.