After activation a backup will occur automatically according to the Policy operation RPO and Schedule. A backup can also be triggered whenever required using the Trigger Handler.
To perform the trigger a number of trigger properties are required. First the triggers are retrieved, then the trigger properties are sent using the “triggerbackup.json” file.
If a backup is successfully triggered the response will contain a list of Job IDs.
List
Triggers
curl --insecure --cookie demosession "https://demomaster/API/7.1/master/TriggerHandler/objects/Triggers"
List Triggers
Response
{ "pageInfo": { "end": true, "totalCount": 1 }, "trigger": [ { "dataOriginNodeId": "demomaster@BZ-334922-442788-343Z2Z-YYZ744[0-1-1]", "dataOriginNodeInstance": 167, "dataflowId": "da2afe41-a936-4879-8cba-ed37aa421b26", "dataflowName": "demodataflow", "destinationNodeId": "RepositoryHP@00-25FAAB-3B94CF-459595-78584C[1-1-8D]", "destinationNodeInstance": 166, "id": "0", "moverType": "eMOVER_BATCH", "operationId": 1, "operationName": "Backup", "operationType": "eOPERATION_BACKUP", "policyId": "141eb1403015408aa3e6a77e2ae1ab22", "policyName": "demopolicy", "sourceNodeId": "demomaster@BZ-334922-442788-343Z2Z-YYZ744[0-1-1]", "sourceNodeInstance": 167, "syncGroup": "" } ] }
Trigger
backup
curl --insecure --cookie demosession "https://demomaster/API/7.1/master/TriggerHandler/services/Triggers/action s/triggeroperation/invoke" --data @triggerbackup.json --header "Content- Type: application/json" --request PUT
Trigger backup
Response
{ "job": [ { "id": "{b9987ce9-4b35-4398-aefe-49b9acb29877}" } ] }
Contents of
‘triggerbackup.json’
{ "dataOriginNodeId": "demomaster@BZ-334922-442788-343Z2Z-YYZ744[0-1-1]", "dataOriginNodeInstance": 167, "dataflowId": "da2afe41-a936-4879-8cba-ed37aa421b26", "dataflowName": "demodataflow", "destinationNodeId": "RepositoryHP@00-25FAAB-3B94CF-459595-78584C[1-1-8D]", "destinationNodeInstance": 166, "id": "0", "moverType": "eMOVER_BATCH", "operationId": 1, "operationName": "Backup", "operationType": "eOPERATION_BACKUP", "policyId": "141eb1403015408aa3e6a77e2ae1ab22", "policyName": "demopolicy", "sourceNodeId": "demomaster@BZ-334922-442788-343Z2Z-YYZ744[0-1-1]", "sourceNodeInstance": 167, "syncGroup": "" }