Create Backup​
POST
/databases/{uuid}/backups
Create a new scheduled backup configuration for a database
Authorizations​
bearerAuth
Go to Keys & Tokens / API tokens and create a new token. Use the token as the bearer token.
Type
HTTP (bearer)
Parameters​
Path Parameters
uuid*
UUID of the database.
Type
Requiredstring
Request Body​
application/json
JSON
{
"frequency": "string",
"enabled": true,
"save_s3": false,
"s3_storage_uuid": "string",
"databases_to_backup": "string",
"dump_all": false,
"backup_now": true,
"database_backup_retention_amount_locally": 0,
"database_backup_retention_days_locally": 0,
"database_backup_retention_max_storage_locally": 0,
"database_backup_retention_amount_s3": 0,
"database_backup_retention_days_s3": 0,
"database_backup_retention_max_storage_s3": 0
}
Responses​
Backup configuration created successfully
application/json
JSON
{
"uuid": "550e8400-e29b-41d4-a716-446655440000",
"message": "Backup configuration created successfully."
}
