Skip to content
Coritan Docs

Client API: Cloud Compute: Backups

The 5 Client API operations for backups.

View as Markdown

Part of Cloud Compute.

Method Path Summary
GET /api/v1/client/vps/{uuid}/backups List backups for this instance
POST /api/v1/client/vps/{uuid}/backups Create a new backup of this instance
GET /api/v1/client/vps/{uuid}/backups/automatic The instance's automatic backups, for its Backups tab
DELETE /api/v1/client/vps/{uuid}/backups/{backup_id} Delete a backup
POST /api/v1/client/vps/{uuid}/backups/{backup_id}/restore Restore from a backup

List backups for this instance

Section titled List backups for this instance

GET /api/v1/client/vps/{uuid}/backups

List backups for this instance.

Authentication: an access token, sent as Authorization: Bearer <token>.

Name In Type Required
uuid path string yes
Status Meaning
200 Success.
422 The request is not valid. detail lists each problem.

Create a new backup of this instance

Section titled Create a new backup of this instance

POST /api/v1/client/vps/{uuid}/backups

Create a new backup of this instance.

Authentication: an access token, sent as Authorization: Bearer <token>.

Name In Type Required
uuid path string yes

application/json

Field Type Required
note string or null no
mode string no
compress string no
Status Meaning
200 Success.
422 The request is not valid. detail lists each problem.

The instance's automatic backups, for its Backups tab

Section titled The instance's automatic backups, for its Backups tab

GET /api/v1/client/vps/{uuid}/backups/automatic

The instance's automatic backups, for its Backups tab.

{available, frequency, keep, latest_backup_at, next_run_at, last_run_at, last_error, automatic_backup_ids, backups, service_id}: available is whether its automatic backups add-on is on, frequency weekly or daily, keep how many automatic backups it keeps, and backups every backup being taken or kept, newest first, each with its origin (auto or manual). Platform only: a brand sells its own catalogue.

Authentication: an access token, sent as Authorization: Bearer <token>.

Name In Type Required
uuid path string yes
Status Meaning
200 Success.
422 The request is not valid. detail lists each problem.

DELETE /api/v1/client/vps/{uuid}/backups/{backup_id}

Delete a backup.

Authentication: an access token, sent as Authorization: Bearer <token>.

Name In Type Required
uuid path string yes
backup_id path integer yes
Status Meaning
200 Success.
422 The request is not valid. detail lists each problem.

POST /api/v1/client/vps/{uuid}/backups/{backup_id}/restore

Restore from a backup. This will restart the VPS.

Authentication: an access token, sent as Authorization: Bearer <token>.

Name In Type Required
uuid path string yes
backup_id path integer yes
Status Meaning
200 Success.
422 The request is not valid. detail lists each problem.