Restoring queue manager configuration
Follow these steps to restore a backup of a queue manager's configuration.
To restore a backup of a queue manager's configuration:
- Ensure that the queue manager is running. Note that the queue manager may have been recreated if damage to the data and logs is unrecoverable by other means.
- Depending on your platform, execute one of the following commands:
- On AIX®, HP-UX, Linux®,
Solaris, or Windows: Execute runmqsc against the queue
manager, use standard input redirection to restore the definitions from a script file generated by
the Dump MQ Configuration (dmpmqcfg) command, for example:
runmqsc MYQMGR < /mq/backups/MYQMGR.mqsc
- On IBM® i: Execute
STRMQMMQSC against the queue manager, use SRCMBR and
SRCFILE to restore the definitions from the physical file member generated by the
Dump MQ Configuration (DMPMQMCFG) command, for example:
STRMQMMQSC MQMNAME(MYQMGR) SRCFILE(QMQMSAMP/QMQSC) SRCMBR(MYQMGR)
- On AIX®, HP-UX, Linux®,
Solaris, or Windows: Execute runmqsc against the queue
manager, use standard input redirection to restore the definitions from a script file generated by
the Dump MQ Configuration (dmpmqcfg) command, for example: