For a default install, MQ stores all of the queue manager(s) information in the following directory:
- For Windows, the directory is: C:\ProgramData\IBM\MQ\qmgrs\{QMgrName}\
- For Unix/Linux, the directory is: /var/mqm/qmgrs/{QMgrName}/
If you only have 1 queue manager then it's pretty straight-forward. For more than 1 queue manager, you just repeat the following steps for each queue manager.
Here's what I do before I do a major upgrade for Linux, Unix or Windows. i.e. 9.2 -> 9.3
- Log onto the server as an authorized MQ user
- Run the dmpmqcfg command against each queue manager (it must be running) and dump everything to a file
- Stop all queue managers on the server (before taking a backup)
- Go to the "qmgrs" directory. i.e. C:\ProgramData\IBM\MQ\qmgrs\
- For Windows, zip/compress each queue manager directory. i.e. Queue Manager name of MQA1
zip -r -o MQA1_backup_20240105.zip MQA1\*.*
- For Unix/Linux, tar then compress each queue manager directory. i.e. i.e. Queue Manager name of MQA1
tar -cvf MQA1_backup_20240105.tar MQA1/*
zip -r -o MQA1_backup_20240105.tar.zip MQA1_backup_20240105.tar
Since, you are on a very old release of IBM MQ, you should read the Migration Paths in the MQ Knowledge Center.
https://www.ibm.com/docs/en/ibm-mq/latest?topic=mq-migration-paths
From the Knowledge Center, since you are using MQ v8.0.0.5, you can go directly to MQ v9.3. Make sure you install the latest release of MQ which is 9.3.0.15 for LTS and 9.3.4.1 for CD. Your company is not proactive in keeping up with the latest release of MQ, therefore, I would not install MQ CD release.
Hope that helps.
------------------------------
Roger Lacroix
CTO
Capitalware Inc.
London ON Canada
https://capitalware.com------------------------------
Original Message:
Sent: Fri January 05, 2024 08:30 AM
From: Jianfu Wang
Subject: MQ Upgrade to 9.3.4.0 on Window Server
My first question is how to back up the whole existing MQ 8.0.0.5. Including Queue managers, channels definitions and so on so forth.
Current version installation is as the below.
InstPath: C:\Program Files\IBM\WebSphere MQ |
DataPath: C:\ProgramData\IBM\MQ |
FilePath REG_SZ C:\Program Files\IBM\WebSphere MQ |
Thank you very much.