Backups
Create, restore, and delete server and instance backups
Backups
Backups are point-in-time snapshots of servers and instances. They can be restored to create new resources.
List Backups
Server Backups
GET /v1/servers/:id/backupsReturns backups for a bare metal server.
Instance Backups
GET /v1/instances/:instanceId/backupsReturns backups for a virtual machine instance.
Create Backup
Server Backup
POST /v1/servers/:id/backupsRequest body:
{
"data": {
"type": "backups",
"attributes": {
"name": "backup-before-upgrade"
}
}
}Instance Backup
POST /v1/instances/:instanceId/backupsRequest body:
{
"data": {
"type": "backups",
"attributes": {
"name": "backup-before-upgrade"
}
}
}Restore Backup
POST /v1/backups/:id/restoreCreates a new server or instance from a backup. The source resource type determines what is created:
- Server backups → new bare metal server
- Instance backups → new virtual machine instance
The original backup is archived after restore.
Delete Backup
DELETE /v1/backups/:idReturns 204 No Content. Backup is archived and no longer available for restore.
Backup Attributes
| Field | Type | Description |
|---|---|---|
id | string | Unique backup identifier |
instanceId | string? | Associated instance ID (VMs) |
serverId | string? | Associated server ID (bare metal) |
projectId | string | Project ID |
name | string | Backup name |
sizeGb | integer? | Backup size in GB |
status | string | creating, ready, failed, archived |
createdAt | string | ISO 8601 creation timestamp |
updatedAt | string | ISO 8601 update timestamp |
Backup Status Values
| Value | Description |
|---|---|
creating | Backup is being created |
ready | Backup is available for restore |
failed | Backup creation failed |
archived | Backup has been restored or deleted |