Method | URI | Description |
---|---|---|
POST | /v2/{tenant_id}/servers/{server_id}/action | Backs up a server instance. |
Normal response codes: 202
This table shows the URI parameters for the create server backup request:
Name | Type | Description |
---|---|---|
| String | The ID for the tenant or account in a multi-tenancy cloud. |
| UUID | The UUID for the server of interest to you. |
Example 3.19. Create server backup: JSON request
{ "createBackup": { "name": "Backup 1", "backup_type": "daily", "rotation": 1 } }
Example 3.20. Create server backup: XML request
<?xml version="1.0" encoding="UTF-8"?> <createBackup> <name>Backup 1</name> <backup_type>daily</backup_type> <rotation>1</rotation> </createBackup>
This operation does not require a request body.