Files

2.8 KiB
Raw Permalink Blame History

Skip to content

Return to top

Update

==============================================================================================

PATCH

/databases/{uuid}/backups/{scheduled_backup_uuid}

Update a specific backup configuration for a given database, identified by its UUID and the backup ID

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

string

Required

scheduled_backup_uuid*

UUID of the backup configuration.

Type

string

Required

Request Body


application/json

SchemaJSON

JSON

{

"save_s3": true,

"s3_storage_uuid": "string",

"backup_now": true,

"enabled": true,

"databases_to_backup": "string",

"dump_all": true,

"frequency": "string",

"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,

"timeout": 3600

}

Responses


200400401404422

Database backup configuration updated

PATCH

/databases/{uuid}/backups/{scheduled_backup_uuid}

Playground


Authorization

bearerAuth

Variables

Key

Value

uuid*

scheduled_backup_uuid*

Body

Try it out

Samples


Powered by VitePress OpenAPI