Restores
Everything about PostgreSQL restores.
Triggers an in-place restore of the given PostgreSQL.
Authorizations
Path parameters
clusterIdstringRequiredExample:
The unique ID of the cluster.
498ae72f-411f-11eb-9d07-046c59cc737e
Body
The restore request.
backupIdstringRequiredExample:
The unique ID of the backup you want to restore.
dcd31531-3ac8-11eb-9feb-046c59cc737e
recoveryTargetTimestring · date-timeOptionalExample:
If this value is supplied as ISO 8601 timestamp, the backup will be replayed up until the given timestamp. If empty, the backup will be applied completely.
2020-12-10T13:37:50+01:00
Responses
202
Successful operation.
default
Any erroneous status code: 400 (parse error), 401 (auth error),
402 (trial access), 403 (insufficient permissions), 404 (not found),
405 (unsupported HTTP method), 415 (unsupported content type,
422 (validation error), 429 (request rate limit exceeded),
500 (server error), 503 (maintenance)
application/json
post
POST /databases/postgresql/clusters/{clusterId}/restore HTTP/1.1
Host: api.ionos.com
Authorization: Basic username:password
Content-Type: application/json
Accept: */*
Content-Length: 100
{
"backupId": "dcd31531-3ac8-11eb-9feb-046c59cc737e",
"recoveryTargetTime": "2020-12-10T13:37:50+01:00"
}
No content
Was this helpful?