Backups
A backup is a copy of a VM's disk, kept outside its host. Shako backs up each VM every night if its disk changed.
Endpoints
| Method | Path | Returns |
|---|---|---|
GET | /v1/tenants/{tenant}/vms/{name}/backups | 200 with the backups object. |
POST | /v1/tenants/{tenant}/vms/{name}/backups | 201 with the backup job object. |
POST | /v1/tenants/{tenant}/vms/{name}/backups/{id}/restore | 200 with the backup job object. |
DELETE | /v1/tenants/{tenant}/vms/{name}/backups | 200 with the names of the path and "deleted": true. |
Objects
- The backups object: The backups of a VM and its last jobs.
- The backup job object: A backup or a restore of one VM.