Restore a backup
Restores a successful backup over the service's current data (database or volume). Current data is replaced and cannot be recovered unless backed up first. The service name must be repeated to confirm.
Needs backups.restore on the service (a grant on its project covers it). Available to MCP clients and the assistant, after a person approves the call.
seylo_session<token>application/json- body
serviceId*stringPanel-issued id.
^[a-z0-9]{16}$runId*stringPanel-issued id.
^[a-z0-9]{16}$confirmName*stringMust equal the service's name.
backupFirst?booleanSuccess.
application/json- response
id*stringPanel-issued id.
^[a-z0-9]{16}$kind*string|stringserviceId*stringPanel-issued id.
^[a-z0-9]{16}$policyId*|nulldestinationId*|nulltarget*string|stringvolumeId*|nullsourceRunId*|nullstatus*string|string|stringobjectKey*string|nullsizeBytes*|nullerror*string|nulldeletedAt*|nullstartedAt*stringdate-timefinishedAt*|nullcurl -X POST 'https://example.com/api/v1/backups.restore' \ -H 'Content-Type: application/json' \ -d '{ "serviceId": "string", "runId": "string", "confirmName": "string"}'{ "id": "string", "kind": "backup", "serviceId": "string", "policyId": "string", "destinationId": "string", "target": "database", "volumeId": "string", "sourceRunId": "string", "status": "running", "objectKey": "string", "sizeBytes": 0, "error": "string", "deletedAt": "2019-08-24T14:15:22Z", "startedAt": "2019-08-24T14:15:22Z", "finishedAt": "2019-08-24T14:15:22Z"}List backup runs GET
Lists a service's backup and restore runs, newest first, 50 per page. Pass the last run's startedAt as before for the next page. Needs `backups.view` on the service (a grant on its project covers it). Available to MCP clients and the assistant.
Back up now POST
Starts a backup right away: of a schedule (policyId), or a one-off of the database or a volume to a destination. Returns the run; follow it with backups.listRuns or the live service topic. Needs `backups.run` on the service (a grant on its project covers it). Available to MCP clients and the assistant.