Backing up and restoring MFT resource monitors
You can back up the resource monitors that you want to have available for future use by exporting their definitions to an XML file that you can then import to create a new resource monitor from the backup.
About this task
You might need to back up the resource monitors that you have previously defined so that you can re-use their definitions in the future, for example to re-create the resource monitors in a different infrastructure or if a resource monitor needs to be re-created because of queue manager issues.
You can back up a single resource manager definition by using either the fteCreateMonitor command or the fteListMonitors command with the -ox parameter. In both cases, the resource manager definition is backed up by exporting it to an XML file. You can then use the -ix parameter of the fteCreateMonitor command to create a new resource manager by importing the definition from the XML file.
With the -ox parameter, you can back up only one resource monitor definition at a time.
From IBM® MQ 9.1, the -od parameter is added to the fteListMonitors command. By specifying this parameter, you can back up more than one resource monitor at a time by exporting their definitions in bulk to a specified directory. Each resource monitor definition is saved to a separate XML file with a name in the format agent name.monitor name.xml.
The -od parameter is particularly useful if you have a large number of resource monitors that you want to back up because you need to run the fteListMonitors -od command once only, instead of having to run the fteListMonitors -ox command separately for each resource definition, or use a separate script to run the fteListMonitors -ox command for each resource monitor.