Reputation: 11
Can any one tell me how to exclude system objects while taking backup of queue manager using save queue manager and dump queue manager commands?
Upvotes: 0
Views: 1781
Reputation: 7506
Personally, I think it is a bad idea to exclude SYSTEM.* objects. You might have particular values used for SYSTEM.DEFAULT.MODEL.QUEUE, SYSTEM.DEF.SVRCONN, etc... that may be important when rebuilding a queue manager.
You could write a simple shell script or batch file to copy all objects to a new MQSC file but exclude ones like SYSTEM.ADMIN.*, SYSTEM.AUTH.DATA.QUEUE, etc...
Upvotes: 1
Reputation: 7619
Another tool that you can used instead of saveqmgr
or dmpmqcfg
which can exclude SYSTEM.*
objects when making a backup of all your queue manager object definitions is MO71.
Upvotes: 1
Reputation: 7619
No easy way to tell dmpmqcfg
to exclude the SYSTEM.*
objects. You could issue the command multiple times to include all your other object prefixes, but it would be easier to simple delete the SYSTEM.*
objects from the output produced.
Upvotes: 0