Create Cloud Boot Backup Server

To create a backup server where users will be able to store backups and templats, send the following request:

POST /settings/backup_servers.xml
POST /settings/backup_servers.json

Before creating a Cloud Boot backup server, you have to create new KVM compute resource with an IP address from the dynamic range.

XML Request example

curl -i -X POST -u user:userpass http://onapp.test/settings/backup_servers.xml -d '<backup_server><label>az_val</label><enabled>1</enabled><capacity>40</capacity><backup>true</backup><ip_address></ip_address><backup_ip_address></backup_ip_address></backup_server>' -H 'Accept: application/xml' -H 'Content-type: application/xml'

JSON Request example

curl -i -X POST -u user:userpass http://onapp.test/settings/backup_servers.json -d '{"backup_server":{"label":"az_val", "enabled":"1", "capacity":"40", "ip_address":"","backup_ip_address":""}}' -H 'Accept: application/json' -H 'Content-type: application/json'


label* – backup server label

ip_address* – IP address of a KVM compute resource

backup – set true to create a Cloud Boot backup server

backup_server_ip_address – provisioning network IP address

capacity* – set the backup server capacity

enabled – set the "enabled" as 1 if you want the backup server to be enabled, or 0 if you want it to be disabled. If you skip the enabled parameter, the backup server will be disabled by default.

PLEASE NOTE: You should configure some local or remote attached storage for persistent backups on the provisioning/backup server.

XML Output example

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