| Verb | URI | Description | |||||
| POST | /servers/id/backup_schedule |
Enable/update the backup schedule for the specified server | |||||
Normal Response Code(s): 204
Error Response Code(s): cloudServersFault (400, 500), serviceUnavailable (503), unauthorized (401), badRequest (400), badMediaType(415), itemNotFound (404), buildInProgress (409), serverCapacityUnavailable (503), backupOrResizeInProgress(409), overLimit (413)
This operation creates a new backup schedule or updates an existing backup schedule for the specified server. Backup schedules will occur only when the enabled attribute is set to true. The weekly and daily attributes can be used to set or to disable individual backup schedules.
Example 4.43. Backup Schedule Update Request: XML
<?xml version="1.0" encoding="UTF-8"?>
<backupSchedule
xmlns="http://docs.rackspacecloud.com/servers/api/v1.0"
enabled="true" weekly="THURSDAY" daily="H_0400_0600" />
Example 4.44. Backup Schedule Update Request: JSON
{
"backupSchedule" : {
"enabled" : true,
"weekly" : "THURSDAY",
"daily" : "H_0400_0600"
}
}
This operation does not return a response body.
