MQ Engineering Group > MQSeries-1.34 > saveauth

Download:
MQSeries-1.34.tar.gz

Annotate this POD

CPAN RT

New  8
Open  4
View/Report Bugs
Source  

NAME ^

saveauth -- Save all authority settings for a queue manager

SYNOPSIS ^

saveauth QMgrName

DESCRIPTION ^

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'.

EXAMPLE ^

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: