Backups
Everything about backups of MariaDB clusters.
Retrieves a list of all backups of the given MariaDB cluster.
Authorizations
Path parameters
clusterIdstringRequiredExample:
The unique ID of the cluster.
498ae72f-411f-11eb-9d07-046c59cc737e
Query parameters
limitinteger · min: 1 · max: 1000OptionalDefault:
The maximum number of elements to return. Use together with 'offset' for pagination.
100
Example: 100
offsetintegerOptionalDefault:
The first element to return. Use together with 'limit' for pagination.
0
Example: 200
Responses
200
Successful operation.
application/json
Responseall of
List of backups.
and
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
get
GET /clusters/{clusterId}/backups HTTP/1.1
Host: mariadb.de-fra.ionos.com
Authorization: YOUR_API_KEY
Accept: */*
{
"id": "498ae72f-411f-11eb-9d07-046c59cc737e",
"items": [
{
"id": "498ae72f-411f-11eb-9d07-046c59cc737e",
"properties": {
"clusterId": "498ae72f-411f-11eb-9d07-046c59cc737e",
"location": "de",
"earliestRecoveryTargetTime": "2021-10-23T01:21:10Z",
"size": 2052,
"baseBackups": [
{
"created": "2020-12-10T13:37:50+01:00",
"size": 543
}
]
}
}
],
"offset": 200,
"limit": 100,
"total": 200,
"_links": {
"prev": "<PREVIOUS-PAGE-URI>",
"self": "<THIS-PAGE-URI>",
"next": "<NEXT-PAGE-URI>"
}
}
Retrieves all lists of backups for all MariaDB clusters in this contract.
Authorizations
Query parameters
limitinteger · min: 1 · max: 1000OptionalDefault:
The maximum number of elements to return. Use together with 'offset' for pagination.
100
Example: 100
offsetintegerOptionalDefault:
The first element to return. Use together with 'limit' for pagination.
0
Example: 200
Responses
200
Successful operation.
application/json
Responseall of
List of backups.
and
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
get
GET /backups HTTP/1.1
Host: mariadb.de-fra.ionos.com
Authorization: YOUR_API_KEY
Accept: */*
{
"id": "498ae72f-411f-11eb-9d07-046c59cc737e",
"items": [
{
"id": "498ae72f-411f-11eb-9d07-046c59cc737e",
"properties": {
"clusterId": "498ae72f-411f-11eb-9d07-046c59cc737e",
"location": "de",
"earliestRecoveryTargetTime": "2021-10-23T01:21:10Z",
"size": 2052,
"baseBackups": [
{
"created": "2020-12-10T13:37:50+01:00",
"size": 543
}
]
}
}
],
"offset": 200,
"limit": 100,
"total": 200,
"_links": {
"prev": "<PREVIOUS-PAGE-URI>",
"self": "<THIS-PAGE-URI>",
"next": "<NEXT-PAGE-URI>"
}
}
Retrieve a MariaDB backup by ID. This value can be found when you GET the list of MariaDB backups.
Authorizations
Path parameters
backupIdstringRequiredExample:
The unique ID of the backup.
498ae72f-411f-11eb-9d07-046c59cc737e
Responses
200
Successful operation.
application/json
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
get
GET /backups/{backupId} HTTP/1.1
Host: mariadb.de-fra.ionos.com
Authorization: YOUR_API_KEY
Accept: */*
{
"id": "498ae72f-411f-11eb-9d07-046c59cc737e",
"properties": {
"clusterId": "498ae72f-411f-11eb-9d07-046c59cc737e",
"location": "de",
"earliestRecoveryTargetTime": "2021-10-23T01:21:10Z",
"size": 2052,
"baseBackups": [
{
"created": "2020-12-10T13:37:50+01:00",
"size": 543
}
]
}
}
Was this helpful?