Saving and restoring a queue manager

I need to install a new copy of WebSphere MQ Server on a Windows machine.

However, the queue manager and other data must be migrated from WebSphere MQ Server, which is in place on another system.

From my excavations from the Internet, I was able to gather information that there is support for pac (MS03) from IBM, which provides functionality. The executable file saveqmgr.exefor versions MQ to 7.0 and dmpmqcfg for MQ 7.1 on the Windows platform.

My question is: what should be the command that should be run to protect the details of the queue manager?

In addition, after receiving the necessary information in the file, how can I use the command runmqscto restore all definitions?

Thanks in advance!

+2
source share
1 answer

The following command can be used to backup the queue manager configuration using saveqmgr (MS03 Support Pac) to a file: saveqmgr -m QUEUE_MANAGER -f BACKUP_FILE

The following command can be used to backup the queue manager configuration using dmpmqcfg in version 7.1 and higher to a file: dmpmqcfg -m QUEUE_MANAGER > BACKUP_FILE

The following command can be used to restore the queue manager configuration using runmqsc: runmqsc QUEUE_MANAGER < BACKUP_FILE

For the above QUEUE_MANAGER, the name of the queue manager for which you want to back up / restore, and BACKUP_FILEis the name of the text file containing the backup.

+7
source

Source: https://habr.com/ru/post/1699661/


All Articles