Back up now

Start a backup of the VM now. The VM keeps running.

POST /v1/tenants/{tenant}/vms/{name}/backups

curl -X POST "https://api.shako.dev/v1/tenants/acme/vms/web1/backups" \
  -H "Authorization: Bearer $SHAKO_API_KEY"

201 (excerpt)

{
  "id": 31,
  "kind": "backup",
  "step": "queued",
  "started_at": 1793494800
}

Authenticate with Authorization: Bearer <API key> on https://api.shako.dev. Role: contributor or owner.

Path parameters

tenantstringrequired
The tenant's name, from GET /v1/tenants.
namestringrequired
The VM's name.

Response

201 with the backup job object.

Behavior

The answer is the job at its start. GET .../backups shows how it goes. This backup replaces the last manual backup.

The errors. All the endpoints of Backups.