For the complete documentation index, see llms.txt. This page is also available as Markdown.

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.

Authentication

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:

In case restore completed:

Last updated

Was this helpful?