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:
  1. 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.
  2. Depending on your platform, execute one of the following commands:
    1. [Windows][UNIX][Linux]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
      
    2. [IBMi]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)