Backing up queue manager configuration
Backing up queue manager configuration can help you to rebuild a queue manager from its definitions.
To take a backup copy of a queue manager's configuration:
- Ensure that the queue manager is running.
- On AIX®, HP-UX, Linux®, Solaris, or Windows: Execute the Dump MQ Configuration command (dmpmqcfg) using the default formatting option of (-f mqsc) MQSC and all attributes (-a), use standard output redirection to store the definitions into a file, for example:
dmpmqcfg -m MYQMGR -a > /mq/backups/MYQMGR.mqsc
- On IBM® i: Execute the Dump MQ Configuration command (DMPMQMCFG) using the default formatting option of OUTPUT(*MQSC) and EXPATTR(*ALL), use the TOFILE and TOMBR to store the definitions into a physical file member, for example:
DMPMQMCFG MQMNAME(MYQMGR) OUTPUT(*MQSC) EXPATTR(*ALL) TOFILE(QMQMSAMP/QMQSC) TOMBR(MYQMGRDEF)
- On AIX®, HP-UX, Linux®, Solaris, or Windows: Execute the Dump MQ Configuration command (dmpmqcfg) using the default formatting option of (-f mqsc) MQSC and all attributes (-a), use standard output redirection to store the definitions into a file, for example: