Saving and restoring Queue Manager

≯℡__Kan透↙ 提交于 2020-01-02 14:55:18

问题


I need to install a fresh copy of Websphere MQ Server on a Windows machine.

However, the queue manager and other details need to be migrated from the Websphere MQ Server which is in place on another system.

Of what I could gather from my excavations from the internet is that there exists a support pac(MS03) from IBM which provides with the functionality. The executable being saveqmgr.exe for MQ versions upto 7.0 and dmpmqcfg for MQ 7.1 on Windows platform.

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

Also,after getting the required information in a file how do I use runmqsc command to restore all the definitions?

Thanks in advance!


回答1:


The following command can be used to backup the queue manager config 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 config 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 config using runmqsc: runmqsc QUEUE_MANAGER < BACKUP_FILE

For the above QUEUE_MANAGER is the name of the queue manager you want to backup/restore and BACKUP_FILE is the name of the text file containing the backup.



来源:https://stackoverflow.com/questions/16412440/saving-and-restoring-queue-manager

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!