# Backups

## Get Backups

> Get Backups

```json
{"openapi":"3.1.1","info":{"title":"MariaDB Cloud DBaaS API","version":"1.0"},"servers":[{"url":"https://api.skysql.com/"}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"apiKey","name":"X-API-Key","in":"header"}},"schemas":{"v1.PagedBackupsResponse":{"type":"object","properties":{"backups":{"description":"Backups results","type":"array","items":{"$ref":"#/components/schemas/v1.Backup"}},"backups_count":{"description":"BackupsCount holds count of the backups","type":"integer"},"pages_count":{"description":"PagesCount counter of all pages","type":"integer"}}},"v1.Backup":{"description":"holds a related data for the given backup","type":"object","properties":{"binlog_file":{"description":"name of the binary log file","type":"string"},"binlog_gtid_position":{"description":"looks up the position in the current binlog, and returns a string representation of the corresponding GTID position","type":"string"},"binlog_position":{"description":"position inside the binary log file","type":"string"},"cloud_provider":{"description":"represents the cloud provider Enum=gcp;aws;onprem","type":"string","enum":["gcp","aws","onpred"]},"disk_size":{"description":"required disk size in order to restore this backup in human readable format","type":"string"},"disk_size_bytes":{"description":"disk size in order to restore this backup in bytes","type":"integer"},"end_time":{"description":"execution end time of the backup","type":"string"},"id":{"description":"unique id of the backup","type":"string"},"is_external_storage":{"description":"determines if the backup is stored in external storage","type":"boolean"},"method":{"description":"binary tool or implementation used to create a backup","type":"string"},"point_in_time":{"description":"timestamp represents date and time value in 'CCYY-MM-DD hh:mm:ss' format","type":"string"},"reference_full_backup":{"description":"reference to the full backup","type":"string"},"server_pod":{"description":"name of the database pod from which the backup is created","type":"string"},"service_id":{"description":"unique id of the database service","type":"string"},"service_name":{"description":"name of the database service","type":"string"},"start_time":{"description":"execution start time of the backup","type":"string"},"status":{"description":"status of the backup execution","type":"string"},"storage_bytes":{"description":"represents size of the backup in bytes","type":"integer"},"type":{"description":"supported types of the backups are:\n* full - Full backups create a complete backup of the database server in an remote bucket directory. The time the backup takes depends on the size of the databases you're backing up.\n* incremental - incremental backups update a previous backup with whatever changes to the data have occurred since the backup\n* binarylog - backups the binary log, which contains a record of all changes to the databases, both data and structure. It consists of a set of closed binary log files.\n* dump - a backup that reproduces table structure and data, without copying the actual data files.\n* snapshot - a backup that captures the state of the database persistent volume at a specific point in time.","type":"string"}}},"web.ErrorResponse":{"type":"object","properties":{"code":{"type":"integer"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/web.ErrorDetails"}},"exception":{"type":"string"},"path":{"type":"string"},"timestamp":{"type":"integer"},"trace_id":{"type":"string"}}},"web.ErrorDetails":{"type":"object","properties":{"error":{"type":"string"},"message":{"type":"string"}}}}},"paths":{"/skybackup/v1/backups":{"get":{"description":"Get Backups","tags":["Backups"],"summary":"Get Backups","operationId":"get-all-backups","parameters":[{"schema":{"type":"integer","minimum":1},"description":"page number","name":"page","in":"query"},{"schema":{"type":"integer","minimum":1},"description":"items per page","name":"page_size","in":"query"},{"schema":{"type":"string","enum":["desc","asc"]},"description":"asc or desc","name":"order","in":"query"},{"schema":{"type":"string"},"description":"filter by serviceId value","name":"service_id","in":"query"},{"schema":{"type":"string"},"description":"filter by status value","name":"status","in":"query"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v1.PagedBackupsResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/web.ErrorResponse"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/web.ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/web.ErrorResponse"}}}}}}}}}
```

## Get all Backups Schedules

> Get all Backups Schedules

```json
{"openapi":"3.1.1","info":{"title":"MariaDB Cloud DBaaS API","version":"1.0"},"servers":[{"url":"https://api.skysql.com/"}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"apiKey","name":"X-API-Key","in":"header"}},"schemas":{"v1.PagedBackupSchedulesResponse":{"type":"object","properties":{"pages_count":{"description":"PagesCount counter of all pages","type":"integer"},"schedules":{"description":"Backups Schedules results","type":"array","items":{"$ref":"#/components/schemas/v1.BackupScheduleResponse"}},"schedules_count":{"description":"SchedulesCount holds count of the backups schedules","type":"integer"}}},"v1.BackupScheduleResponse":{"type":"object","properties":{"cloud_provider":{"description":"represents the cloud provider Enum=gcp;aws;onprem","type":"string","enum":["gcp","aws","onpred"]},"created_at":{"description":"CreatedAt represents the time when the schedule was created","type":"string"},"id":{"description":"id of the operation","type":"integer"},"labels":{"description":"Labels holds metadata about the schedule labels","type":"object","additionalProperties":{}},"message":{"description":"Message holds details about the backup","type":"string"},"schedule":{"description":"Schedules supported:\n* once - one time execution\n* cron - Example: '0 2 * * *' from more information about cron format: https://en.wikipedia.org/wiki/Cron","type":"string","enum":["once","cron"]},"scheduled_at":{"description":"ScheduledAt represents schedule time of the backup","type":"string"},"service_id":{"description":"service id of the database","type":"string"},"service_name":{"description":"name of the database service","type":"string"},"status":{"description":"status of the backup","type":"string"},"suspended":{"description":"Suspended determines if the backup schedule is suspended or not\nwhen a backup schedule is suspended no new backups will be created\ndefault value is false","type":"boolean"},"type":{"description":"Type of the backup","type":"string"},"updated_at":{"description":"UpdatedAt represents the time when the schedule was updated","type":"string"}}},"web.ErrorResponse":{"type":"object","properties":{"code":{"type":"integer"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/web.ErrorDetails"}},"exception":{"type":"string"},"path":{"type":"string"},"timestamp":{"type":"integer"},"trace_id":{"type":"string"}}},"web.ErrorDetails":{"type":"object","properties":{"error":{"type":"string"},"message":{"type":"string"}}}}},"paths":{"/skybackup/v1/backups/schedules":{"get":{"description":"Get all Backups Schedules","tags":["Backups"],"summary":"Get all Backups Schedules","operationId":"get-all-backups-schedules","parameters":[{"schema":{"type":"integer","minimum":1},"description":"page number","name":"page","in":"query"},{"schema":{"type":"integer","minimum":1},"description":"items per page","name":"page_size","in":"query"},{"schema":{"type":"string","minLength":3},"description":"ServiceID Query","name":"service_id","in":"query","required":true},{"schema":{"type":"string"},"description":"full,incremental,binarylog or dump","name":"type","in":"query"},{"schema":{"type":"string","enum":["desc","asc"]},"description":"asc or desc","name":"order","in":"query"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v1.PagedBackupSchedulesResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/web.ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/web.ErrorResponse"}}}}}}}}}
```

## Create Backup Schedule

> Create Backup Schedule

````json
{"openapi":"3.1.1","info":{"title":"MariaDB Cloud DBaaS API","version":"1.0"},"servers":[{"url":"https://api.skysql.com/"}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"apiKey","name":"X-API-Key","in":"header"}},"schemas":{"v1.BackupScheduleResponse":{"type":"object","properties":{"cloud_provider":{"description":"represents the cloud provider Enum=gcp;aws;onprem","type":"string","enum":["gcp","aws","onpred"]},"created_at":{"description":"CreatedAt represents the time when the schedule was created","type":"string"},"id":{"description":"id of the operation","type":"integer"},"labels":{"description":"Labels holds metadata about the schedule labels","type":"object","additionalProperties":{}},"message":{"description":"Message holds details about the backup","type":"string"},"schedule":{"description":"Schedules supported:\n* once - one time execution\n* cron - Example: '0 2 * * *' from more information about cron format: https://en.wikipedia.org/wiki/Cron","type":"string","enum":["once","cron"]},"scheduled_at":{"description":"ScheduledAt represents schedule time of the backup","type":"string"},"service_id":{"description":"service id of the database","type":"string"},"service_name":{"description":"name of the database service","type":"string"},"status":{"description":"status of the backup","type":"string"},"suspended":{"description":"Suspended determines if the backup schedule is suspended or not\nwhen a backup schedule is suspended no new backups will be created\ndefault value is false","type":"boolean"},"type":{"description":"Type of the backup","type":"string"},"updated_at":{"description":"UpdatedAt represents the time when the schedule was updated","type":"string"}}},"web.ErrorResponse":{"type":"object","properties":{"code":{"type":"integer"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/web.ErrorDetails"}},"exception":{"type":"string"},"path":{"type":"string"},"timestamp":{"type":"integer"},"trace_id":{"type":"string"}}},"web.ErrorDetails":{"type":"object","properties":{"error":{"type":"string"},"message":{"type":"string"}}},"v1.BackupScheduleRequest":{"type":"object","required":["backup_type","schedule","service_id"],"properties":{"backup_type":{"description":"supported types of the backups are:\n* full - Full backups create a complete backup of the database server in an remote bucket directory. The time the backup takes depends on the size of the databases you're backing up.\n* incremental - incremental backups update a previous backup with whatever changes to the data have occurred since the backup\n* binarylog - backups the binary log, which contains a record of all changes to the databases, both data and structure. It consists of a set of closed binary log files.\n* dump - a backup that reproduces table structure and data, without copying the actual data files.\n* snapshot - a backup that captures the state of the database persistent volume at a specific point in time.","type":"string","enum":["full","incremental","binarylog","dump","snapshot"]},"external_storage":{"description":"external backup storage","$ref":"#/components/schemas/v1.ExternalBackupStorage"},"schedule":{"description":"Schedules supported:\n* once - one time execution\n* cron - Example for cron schedule '0 2 * * *' for more information about cron format: https://en.wikipedia.org/wiki/Cron","type":"string","enum":["once","0 2 * * *"]},"service_id":{"description":"unique id of the database service","type":"string"}}},"v1.ExternalBackupStorage":{"type":"object","required":["bucket"],"properties":{"bucket":{"description":"Bucket for external storage","$ref":"#/components/schemas/v1.ExternalBackupStorageBucket"}}},"v1.ExternalBackupStorageBucket":{"type":"object","required":["path"],"properties":{"credentials":{"description":"Credentials to access external storage bucket. base64 encoded\nExamples\n* Encode GCP Credentials with Base64\n\n ```\n echo '{\n  \"type\": \"service_account\",\n  \"project_id\": \"XXXXXXX\",\n  \"private_key_id\": \"XXXXXXX\",\n  \"private_key\": \"-----BEGIN PRIVATE KEY-----\\nXXXXXXX\\n-----END PRIVATE KEY-----\\n\",\n  \"client_email\": \"XXXXXXXXXXXXXXXXXXXXXXXXXXXX.iam.gserviceaccount.com\",\n  \"client_id\": \"XXXXXXX\",\n  \"auth_uri\": \"https://accounts.google.com/o/oauth2/auth\",\n  \"token_uri\": \"https://oauth2.googleapis.com/token\",\n  \"auth_provider_x509_cert_url\": \"https://www.googleapis.com/oauth2/v1/certs\",\n  \"client_x509_cert_url\": \"https://www.googleapis.com/robot/v1/metadata/x509/XXXXXXXXXXXXXX.iam.gserviceaccount.com\",\n  \"universe_domain\": \"googleapis.com\"\n }' | base64\n```\n\n* Encode AWS Credentials with Base64\n\n``` echo '[default]\\naws_access_key_id = XXXXX\\naws_secret_access_key = XXXX\\nregion = XXX' | base64 ```","type":"array","items":{"type":"integer"}},"path":{"description":"Bucket path to external storage","type":"string"}}}}},"paths":{"/skybackup/v1/backups/schedules":{"post":{"description":"Create Backup Schedule","tags":["Backups"],"summary":"Create Backup Schedule","operationId":"create-backup-schedule","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v1.BackupScheduleResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/web.ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/web.ErrorResponse"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/v1.BackupScheduleRequest"}}},"description":"Create Backup","required":true}}}}}
````

## Get Backup schedule

> Get Backup schedule

```json
{"openapi":"3.1.1","info":{"title":"MariaDB Cloud DBaaS API","version":"1.0"},"servers":[{"url":"https://api.skysql.com/"}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"apiKey","name":"X-API-Key","in":"header"}},"schemas":{"v1.BackupScheduleResponse":{"type":"object","properties":{"cloud_provider":{"description":"represents the cloud provider Enum=gcp;aws;onprem","type":"string","enum":["gcp","aws","onpred"]},"created_at":{"description":"CreatedAt represents the time when the schedule was created","type":"string"},"id":{"description":"id of the operation","type":"integer"},"labels":{"description":"Labels holds metadata about the schedule labels","type":"object","additionalProperties":{}},"message":{"description":"Message holds details about the backup","type":"string"},"schedule":{"description":"Schedules supported:\n* once - one time execution\n* cron - Example: '0 2 * * *' from more information about cron format: https://en.wikipedia.org/wiki/Cron","type":"string","enum":["once","cron"]},"scheduled_at":{"description":"ScheduledAt represents schedule time of the backup","type":"string"},"service_id":{"description":"service id of the database","type":"string"},"service_name":{"description":"name of the database service","type":"string"},"status":{"description":"status of the backup","type":"string"},"suspended":{"description":"Suspended determines if the backup schedule is suspended or not\nwhen a backup schedule is suspended no new backups will be created\ndefault value is false","type":"boolean"},"type":{"description":"Type of the backup","type":"string"},"updated_at":{"description":"UpdatedAt represents the time when the schedule was updated","type":"string"}}},"web.ErrorResponse":{"type":"object","properties":{"code":{"type":"integer"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/web.ErrorDetails"}},"exception":{"type":"string"},"path":{"type":"string"},"timestamp":{"type":"integer"},"trace_id":{"type":"string"}}},"web.ErrorDetails":{"type":"object","properties":{"error":{"type":"string"},"message":{"type":"string"}}}}},"paths":{"/skybackup/v1/backups/schedules/{id}":{"get":{"description":"Get Backup schedule","tags":["Backups"],"summary":"Get Backup schedule","operationId":"get-backup-schedule","parameters":[{"schema":{"type":"string"},"description":"Backup ID","name":"id","in":"path","required":true}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v1.BackupScheduleResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/web.ErrorResponse"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/web.ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/web.ErrorResponse"}}}}}}}}}
```

## Delete Backup Schedule

> Delete Backup Schedule

```json
{"openapi":"3.1.1","info":{"title":"MariaDB Cloud DBaaS API","version":"1.0"},"servers":[{"url":"https://api.skysql.com/"}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"apiKey","name":"X-API-Key","in":"header"}},"schemas":{"web.ErrorResponse":{"type":"object","properties":{"code":{"type":"integer"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/web.ErrorDetails"}},"exception":{"type":"string"},"path":{"type":"string"},"timestamp":{"type":"integer"},"trace_id":{"type":"string"}}},"web.ErrorDetails":{"type":"object","properties":{"error":{"type":"string"},"message":{"type":"string"}}}}},"paths":{"/skybackup/v1/backups/schedules/{id}":{"delete":{"description":"Delete Backup Schedule","tags":["Backups"],"summary":"Delete Backup Schedule","operationId":"delete-backup-schedule","parameters":[{"schema":{"type":"string"},"description":"Backup ID","name":"id","in":"path","required":true}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/web.ErrorResponse"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/web.ErrorResponse"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/web.ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/web.ErrorResponse"}}}}}}}}}
```

## Update Backup Schedules details

> Update Backup Schedules details

```json
{"openapi":"3.1.1","info":{"title":"MariaDB Cloud DBaaS API","version":"1.0"},"servers":[{"url":"https://api.skysql.com/"}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"apiKey","name":"X-API-Key","in":"header"}},"schemas":{"v1.BackupScheduleResponse":{"type":"object","properties":{"cloud_provider":{"description":"represents the cloud provider Enum=gcp;aws;onprem","type":"string","enum":["gcp","aws","onpred"]},"created_at":{"description":"CreatedAt represents the time when the schedule was created","type":"string"},"id":{"description":"id of the operation","type":"integer"},"labels":{"description":"Labels holds metadata about the schedule labels","type":"object","additionalProperties":{}},"message":{"description":"Message holds details about the backup","type":"string"},"schedule":{"description":"Schedules supported:\n* once - one time execution\n* cron - Example: '0 2 * * *' from more information about cron format: https://en.wikipedia.org/wiki/Cron","type":"string","enum":["once","cron"]},"scheduled_at":{"description":"ScheduledAt represents schedule time of the backup","type":"string"},"service_id":{"description":"service id of the database","type":"string"},"service_name":{"description":"name of the database service","type":"string"},"status":{"description":"status of the backup","type":"string"},"suspended":{"description":"Suspended determines if the backup schedule is suspended or not\nwhen a backup schedule is suspended no new backups will be created\ndefault value is false","type":"boolean"},"type":{"description":"Type of the backup","type":"string"},"updated_at":{"description":"UpdatedAt represents the time when the schedule was updated","type":"string"}}},"web.ErrorResponse":{"type":"object","properties":{"code":{"type":"integer"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/web.ErrorDetails"}},"exception":{"type":"string"},"path":{"type":"string"},"timestamp":{"type":"integer"},"trace_id":{"type":"string"}}},"web.ErrorDetails":{"type":"object","properties":{"error":{"type":"string"},"message":{"type":"string"}}},"v1.UpdateBackupScheduleRequest":{"type":"object","properties":{"backup_type":{"description":"supported types of the backups are:\n* full - Full backups create a complete backup of the database server in an remote bucket directory. The time the backup takes depends on the size of the databases you're backing up.\n* incremental - incremental backups update a previous backup with whatever changes to the data have occurred since the backup\n* binarylog - backups the binary log, which contains a record of all changes to the databases, both data and structure. It consists of a set of closed binary log files.\n* dump - a backup that reproduces table structure and data, without copying the actual data files.\n* snapshot - a backup that captures the state of the database persistent volume at a specific point in time.","type":"string","enum":["full","incremental","binarylog","dump","snapshot"]},"schedule":{"description":"Schedules supported:\n* once - one time execution\n* cron - Example for cron schedule '0 2 * * *' for more information about cron format: https://en.wikipedia.org/wiki/Cron","type":"string","enum":["once","cron"]},"suspended":{"description":"determines if the backup schedule is suspended or not\nwhen a backup schedule is suspended no new backups will be created\ndefault value is false","type":"boolean"}}}}},"paths":{"/skybackup/v1/backups/schedules/{id}":{"patch":{"description":"Update Backup Schedules details","tags":["Backups"],"summary":"Update Backup Schedules details","operationId":"update-backup-schedules","parameters":[{"schema":{"type":"string"},"description":"Backup ID","name":"id","in":"path","required":true}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v1.BackupScheduleResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/web.ErrorResponse"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/web.ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/web.ErrorResponse"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/v1.UpdateBackupScheduleRequest"}}},"description":"Update Backup Schedule Request","required":true}}}}}
```

## Get All Backups per service

> Get All Backups per service

```json
{"openapi":"3.1.1","info":{"title":"MariaDB Cloud DBaaS API","version":"1.0"},"servers":[{"url":"https://api.skysql.com/"}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"apiKey","name":"X-API-Key","in":"header"}},"schemas":{"v1.Backup":{"description":"holds a related data for the given backup","type":"object","properties":{"binlog_file":{"description":"name of the binary log file","type":"string"},"binlog_gtid_position":{"description":"looks up the position in the current binlog, and returns a string representation of the corresponding GTID position","type":"string"},"binlog_position":{"description":"position inside the binary log file","type":"string"},"cloud_provider":{"description":"represents the cloud provider Enum=gcp;aws;onprem","type":"string","enum":["gcp","aws","onpred"]},"disk_size":{"description":"required disk size in order to restore this backup in human readable format","type":"string"},"disk_size_bytes":{"description":"disk size in order to restore this backup in bytes","type":"integer"},"end_time":{"description":"execution end time of the backup","type":"string"},"id":{"description":"unique id of the backup","type":"string"},"is_external_storage":{"description":"determines if the backup is stored in external storage","type":"boolean"},"method":{"description":"binary tool or implementation used to create a backup","type":"string"},"point_in_time":{"description":"timestamp represents date and time value in 'CCYY-MM-DD hh:mm:ss' format","type":"string"},"reference_full_backup":{"description":"reference to the full backup","type":"string"},"server_pod":{"description":"name of the database pod from which the backup is created","type":"string"},"service_id":{"description":"unique id of the database service","type":"string"},"service_name":{"description":"name of the database service","type":"string"},"start_time":{"description":"execution start time of the backup","type":"string"},"status":{"description":"status of the backup execution","type":"string"},"storage_bytes":{"description":"represents size of the backup in bytes","type":"integer"},"type":{"description":"supported types of the backups are:\n* full - Full backups create a complete backup of the database server in an remote bucket directory. The time the backup takes depends on the size of the databases you're backing up.\n* incremental - incremental backups update a previous backup with whatever changes to the data have occurred since the backup\n* binarylog - backups the binary log, which contains a record of all changes to the databases, both data and structure. It consists of a set of closed binary log files.\n* dump - a backup that reproduces table structure and data, without copying the actual data files.\n* snapshot - a backup that captures the state of the database persistent volume at a specific point in time.","type":"string"}}},"web.ErrorResponse":{"type":"object","properties":{"code":{"type":"integer"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/web.ErrorDetails"}},"exception":{"type":"string"},"path":{"type":"string"},"timestamp":{"type":"integer"},"trace_id":{"type":"string"}}},"web.ErrorDetails":{"type":"object","properties":{"error":{"type":"string"},"message":{"type":"string"}}}}},"paths":{"/skybackup/v1/backups/{service_id}":{"get":{"description":"Get All Backups per service","tags":["Backups"],"summary":"Get All Backups per service","operationId":"get-backup","parameters":[{"schema":{"type":"string","minLength":5},"description":"Service ID","name":"service_id","in":"path","required":true}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v1.Backup"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/web.ErrorResponse"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/web.ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/web.ErrorResponse"}}}}}}}}}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://mariadb.com/docs/mariadb-cloud/reference/mariadb-cloud-api-reference-guide/backups.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
