Update a specific backup configuration for a given database, identified by its UUID and the backup ID
Authorization
bearerAuth Go to Keys & Tokens / API tokens and create a new token. Use the token as the bearer token.
In: header
Path Parameters
UUID of the database.
UUID of the backup configuration.
Request Body
application/json
Database backup configuration data
TypeScript Definitions
Use the request body type in TypeScript.
Whether data is saved in s3 or not
S3 storage UUID
Whether to take a backup now or not
Whether the backup is enabled or not
Comma separated list of databases to backup
Whether all databases are dumped or not
Frequency of the backup
Retention amount of the backup locally
Retention days of the backup locally
Max storage of the backup locally
Retention amount of the backup in s3
Retention days of the backup in s3
Max storage of the backup in S3
Response Body
application/json
application/json
application/json
application/json
curl -X PATCH "https://app.coolify.io/api/v1/databases/string/backups/string" \ -H "Content-Type: application/json" \ -d '{}'{ "message": "Invalid token."}{ "message": "Unauthenticated."}{ "message": "Resource not found."}{ "message": "Validation error.", "errors": { "name": [ "The name field is required." ], "api_url": [ "The api url field is required.", "The api url format is invalid." ] }}