Child pages
  • Get List of Servers Assigned to Backup Server Zone
Skip to end of metadata
Go to start of metadata

To get the list of servers assigned to the backup server zone, use the following request:

GET /settings/backup_server_zones/:backup_server_zone_id/backup_servers.xml
GET /settings/backup_server_zones/:backup_server_zone_id/backup_servers.json

JSON Request example

curl -i -X GET -u user:userpass http://onapp.test/settings/backup_server_zones/:backup_server_zone_id/backup_servers.json -H 'Accept: application/json' -H 'Content-type: application/json' 

XML Request example

curl -i -X GET -u user:userpass http://onapp.test/settings/backup_server_zones/:backup_server_zone_id/backup_servers.xml -H 'Accept: application/xml' -H 'Content-type: application/xml'

XML Output example

<?xml version="1.0" encoding="UTF-8"?>
<backup_servers type="array">
<created_at type="datetime">2012-02-10T15:14:53Z</created_at>
<updated_at type="datetime">2012-02-10T15:31:13Z</updated_at>
<backup_server_group_id type="integer">55</backup_server_group_id>
<id type="integer">25</id>
<enabled type="boolean">true</enabled>
<backups type="array"/>
<capacity type="integer">40</capacity>

Explanation of the data returned:

backup_servers –the array of backup servers assigned to this zone with the following details:

label – backup server label

created at – the date in the [YYYY][MM][DD]T[hh][mm][ss]Z format

updated at – the date in the [YYYY][MM][DD]T[hh][mm][ss]Z format

backup_server_group_id – the ID of the backup server zone the backup server belongs to

id – the backup server ID

enabled – backup server parameter; if "enabled" = true, the backup server is enabled; if enabled=false, the backup server is disabled.

backups – the list of backups stored at the backup server

capacity – the backup server capacity

ip_address – the backup server IP

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