Backups
Authorizations
X-API-KeystringRequired
Query parameters
pageinteger · min: 1Optional
page number
page_sizeinteger · min: 1Optional
items per page
orderstring · enumOptionalPossible values:
asc or desc
service_idstringOptional
filter by serviceId value
statusstringOptional
filter by status value
Responses
200
OK
application/json
400
Bad Request
application/json
404
Not Found
application/json
500
Internal Server Error
application/json
get
/skybackup/v1/backupsAuthorizations
X-API-KeystringRequired
Query parameters
pageinteger · min: 1Optional
page number
page_sizeinteger · min: 1Optional
items per page
service_idstring · min: 3Required
ServiceID Query
typestringOptional
full,incremental,binarylog or dump
orderstring · enumOptionalPossible values:
asc or desc
Responses
200
OK
application/json
400
Bad Request
application/json
500
Internal Server Error
application/json
get
/skybackup/v1/backups/schedulesAuthorizations
X-API-KeystringRequired
Body
backup_typestring · enumRequiredPossible values:
supported types of the backups are:
- 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.
- incremental - incremental backups update a previous backup with whatever changes to the data have occurred since the backup
- 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.
- dump - a backup that reproduces table structure and data, without copying the actual data files.
- snapshot - a backup that captures the state of the database persistent volume at a specific point in time.
schedulestring · enumRequiredPossible values:
Schedules supported:
- once - one time execution
- cron - Example for cron schedule '0 2 * * *' for more information about cron format: https://en.wikipedia.org/wiki/Cron
service_idstringRequiredExample:
unique id of the database service
dbxxxxxResponses
200
OK
application/json
400
Bad Request
application/json
500
Internal Server Error
application/json
post
/skybackup/v1/backups/schedulesAuthorizations
X-API-KeystringRequired
Path parameters
idstringRequired
Backup ID
Responses
200
OK
No content
400
Bad Request
application/json
404
Not Found
application/json
409
Conflict
application/json
500
Internal Server Error
application/json
delete
/skybackup/v1/backups/schedules/{id}No content
Authorizations
X-API-KeystringRequired
Path parameters
idstringRequired
Backup ID
Body
backup_typestring · enumOptionalPossible values:
supported types of the backups are:
- 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.
- incremental - incremental backups update a previous backup with whatever changes to the data have occurred since the backup
- 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.
- dump - a backup that reproduces table structure and data, without copying the actual data files.
- snapshot - a backup that captures the state of the database persistent volume at a specific point in time.
schedulestring · enumOptionalPossible values:
Schedules supported:
- once - one time execution
- cron - Example for cron schedule '0 2 * * *' for more information about cron format: https://en.wikipedia.org/wiki/Cron
suspendedbooleanOptional
determines if the backup schedule is suspended or not when a backup schedule is suspended no new backups will be created default value is false
Responses
200
OK
application/json
400
Bad Request
application/json
404
Not Found
application/json
500
Internal Server Error
application/json
patch
/skybackup/v1/backups/schedules/{id}Last updated
Was this helpful?

