Restore Listing Examples
List existing MariaDB Cloud restore operations via the SkySQL Backup API: GET /skybackup/v1/restores returns scheduled and completed restores with status and metadata.
Go to the MariaDB Cloud API Key management page and generate an API key. Export the value from the token field to an environment variable $API_KEYexport API_KEY='... key data ...'
Use it on subsequent request, e.g: bash curl --request
GET 'https://api.skysql.com/skybackup/v1/backups/schedules' \
--header "X-API-Key: ${API_KEY}"In order to get all Restores scheduled in the past you need to make api call:
curl --location 'https://api.skysql.com/skybackup/v1/restores' \
--header 'Accept: application/json' \--header 'X-API-Key: ${API_KEY}'Get Restore by ID
curl --location 'https://api.skysql.com/skybackup/v1/restores/<ID>' \
--header 'Accept: application/json' \
--header 'X-API-Key: ${API_KEY}'ID : the MariaDB Cloud Restore ID.
To get the restore id, check the above sample call listing all
Typical response of those two APIs should look like:
In case restore is in progress:
[
{
"id": 12,
"service_id": "dbtgf28216706",
"bucket": "gs://sky-syst0000-backup-us-84e9d84ecf265a/orgpxw1x",
"key": "eda3b72460c8c0d9d61a7f01b6a22e32:dbtgf28216706:tx-filip-mdb-ms-0",
"type": "physical",
"status": "Running",
"message": "server is not-ready"
}
]In case restore completed:
This page is: Copyright © 2026 MariaDB. All rights reserved.
Last updated
Was this helpful?

