Backup jobs

Create a backup job

POST
/cloud/project/{uuid}/cluster/backup-jobs/

Creates a scheduled backup job for the listed VMs. The start time is assigned automatically between 00:00 and 06:00 (Europe/Warsaw). Each VM can be in one job only, and the number of jobs per project is limited.

Authorization

bearerAuth
AuthorizationBearer <token>

API key created in the portal (Settings → API Keys). Send as Authorization: Bearer <key>.

In: header

Path Parameters

uuid*string

Project UUID.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Backup job to create.

Response Body

application/json

curl -X POST "https://example.com/cloud/project/string/cluster/backup-jobs/" \  -H "Content-Type: application/json" \  -d '{    "weekdays": [      "mon"    ],    "vmids": [      1    ]  }'
{  "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",  "comment": "string",  "enabled": true,  "weekdays": [    "mon"  ],  "schedule_slot": "string",  "retention": {    "keep_last": 0,    "keep_hourly": 0,    "keep_daily": 0,    "keep_weekly": 0,    "keep_monthly": 0,    "keep_yearly": 0  },  "vmids": [    0  ]}