Restore
Everything about restoring MariaDB clusters from a backup.
Restore a MariaDB cluster from a backup.
Conditions:
The backup must belong to the MariaDB cluster to be restored.
The cluster must be in the state "AVAILABLE".
Authorizations
Path parameters
clusterIdstringRequiredExample:
The unique ID of the cluster.
498ae72f-411f-11eb-9d07-046c59cc737e
Body
Request payload to restore a cluster from a backup.
backupIdstringRequiredExample:
The unique ID of the resource.
498ae72f-411f-11eb-9d07-046c59cc737e
recoveryTargetTimestring · date-timeOptionalExample:
The timestamp to which the cluster should be restored. If empty, the backup will be applied to the latest timestamp.
This value must be supplied as ISO 8601 timestamp, the backup will be replayed up until the given timestamp. If empty, the backup will be applied completely.
Must be within the earliestRecoveryTargetTime and now.
The earliestRecoveryTargetTime can be looked up in the backup object.
2020-12-10T13:37:50+01:00
Responses
202
Successful operation.
400
Parse error.
application/json
401
Authentication error.
application/json
403
Unauthorized.
application/json
404
Not Found.
application/json
405
Unsupported HTTP method.
application/json
415
Unsupported content type.
application/json
422
Validation error.
application/json
429
Request rate limit exceeded.
application/json
500
Server error.
application/json
503
Maintenance.
application/json
post
POST /clusters/{clusterId}/restore HTTP/1.1
Host: mariadb.de-fra.ionos.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 100
{
"backupId": "498ae72f-411f-11eb-9d07-046c59cc737e",
"recoveryTargetTime": "2020-12-10T13:37:50+01:00"
}
No content
Was this helpful?