Restore From Your Own Bucket
Authentication
GET 'https://api.skysql.com/skybackup/v1/backups/schedules' \
--header "X-API-Key: ${API_KEY}"
curl --location 'https://api.skysql.com/skybackup/v1/restores' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'X-API-Key: ${API_KEY}' \
--data '{
"service_id": "<SERVICE_ID>",
"id": "<ID>",
"external_source": {
"bucket": "<GCS_URI> оr <S3_URI> ",
"method": "<BACKUP_METHOD>",
"credentials": "<GCP_SERVICE_ACCOUNT_BASE64> or AWS_ACCOUNT_ACCESS_KEY_BASE64"
}
}'Last updated
Was this helpful?

