Querying backup policy
Querying backup policy request
curl --cookie cookies --request GET https://<IP-address-of-SPS>/api/configuration/policies/backup_policies/99275192754364c2b1bd04 |
Querying backup policy response
{ |
"body": { |
"include_node_id_in_path": true, |
"name": "backup_rsync", |
"notification_event": { |
"file_count_limit": 10240, |
"send_filelist": true, |
"type": "none" |
}, |
"start_times": [ |
"8:00" |
], |
"target": { |
"auth_key": { |
"key": "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX", |
"meta": { |
"href": "/api/configuration/private_keys/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX" |
} |
}, |
"host_key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAYQCsU80IBrJbOlqCi03qZK+FtgS783VKE1TVZBtDQlsXJ9FXu6KNBvqvSAjcXiWY+izqn+P14UVRY1vOdz7WwLIWOUoTKHfPMqv3bdjwM4Bhd26POWSFyDf46yx1YzvMwgc=", |
"path": "/data/backup", |
"port": 1122, |
"server": { |
"selection": "ip", |
"value": "192.168.122.1" |
}, |
"type": "rsync", |
"username": "user1" |
} |
}, |
"key": "99275192754364c2b1bd04" |
} |