shrutireddy
shrutireddy

Reputation: 11

Backup of Queue manager (saveqmgr or dmpmqcfg)

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

Answers (3)

Roger
Roger

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

Morag Hughson
Morag Hughson

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.

MO71 QMgr Export configuration

Upvotes: 1

Morag Hughson
Morag Hughson

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

Related Questions