Creating a secure backup by using the REST interface
You can create a secure backup of the IBM® MQ Appliance by using the REST interface on the appliance.
About this task
A secure backup creates files that contains the configuration of the appliance. The backup files are secured by a user certificate. The backup includes details of MQ users, but does not include queue manager configurations or data, or high availability or disaster recovery configuration details. For more details, see Secure backup.
When you use the REST interface for this purpose, you send HTTP requests to the REST interface port and receive JSON-formatted responses with a payload and indication of success or failure. You can incorporate requests into programs and so automate interaction with the appliance.
Procedure
Use the HTTP POST method with the resource
/mgmt/actionqueue/default,
specifying a request payload with the following format:
{
"SecureBackup": {
"cert": {
"value": "certificate"
},
"destination": "destination"
}
}
Where:- certificate
- String
- destination
- String