Child pages
  • Add Backup Server Zone
Skip to end of metadata
Go to start of metadata

To create a backup server zone, use the following request:

POST /settings/backup_server_zones.xml
POST /settings/backup_server_zones.json

XML Request example

curl -i -X POST -u user:userpass http://onapp.test/settings/backup_server_zones.xml -d '<backup_server_group><label>az_val_xml</label><location_group_id>1</location_group_id></backup_server_group>' -H 'Accept: application/xml' -H 'Content-type: application/xml' 

JSON Request example

curl -i -X POST -u user:userpass http://onapp.test/settings/backup_server_zones.json -d '{"backup_server_group":{"label":"az_val_json","location_group_id":"1"}}' -H 'Accept: application/json' -H 'Content-type: application/json'

Where:

label *– specify a new label of the backup server zone 

location_group_id - ID of a location group you wish to assign the backup server zone to

Page history

v. 3.1:

  • Added the location_group_id parameter

 

#trackbackRdf ($trackbackUtils.getContentIdentifier($page) $page.title $trackbackUtils.getPingUrl($page))
  • No labels