View on
MetaCPAN is shutting down
For details read Perl NOC. After June 25th this page will redirect to
MQ Engineering Group > MQSeries-1.30 > saveauth


Annotate this POD


New  8
Open  3
View/Report Bugs
Source   Latest Release: MQSeries-1.34


saveauth -- Save all authority settings for a queue manager


saveauth QMgrName


This script will read all authority settings for all queue manager objects, then write out 'setmqaut' commands that can be used to restore these settings. This can be useful as part of a backup strategy.

The script supports the queue manager, process names, namelists and queues. Temporary queues will be skipped.

The script needs to be run by a userid that has both inquire authority for the queue manager and filesystem read permission for the authority files. Typically, the userid used will be 'mqm'.


In order to create 'setmqaut' commands for all objects on queue manager 'TEST' and write the commands to the file 'saved.txt', run:

  saveauth TEST > saved.txt
syntax highlighting: