Commit inicial - estructura base del proyecto
This commit is contained in:
@@ -0,0 +1,133 @@
|
||||
[Skip to content](https://coolify.io/docs/api-reference/api/operations/update-database-backup#VPContent)
|
||||
|
||||
Return to top
|
||||
|
||||
Update[](https://coolify.io/docs/api-reference/api/operations/update-database-backup#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[](https://coolify.io/docs/api-reference/api/operations/update-database-backup#authorizations)
|
||||
|
||||
--------------------------------------------------------------------------------------------------------------
|
||||
|
||||
bearerAuth
|
||||
|
||||
Go to `Keys & Tokens` / `API tokens` and create a new token. Use the token as the bearer token.
|
||||
|
||||
Type
|
||||
|
||||
HTTP (bearer)
|
||||
|
||||
Parameters[](https://coolify.io/docs/api-reference/api/operations/update-database-backup#parameters)
|
||||
|
||||
------------------------------------------------------------------------------------------------------
|
||||
|
||||
### Path Parameters
|
||||
|
||||
uuid\*
|
||||
|
||||
UUID of the database.
|
||||
|
||||
Type
|
||||
|
||||
string
|
||||
|
||||
Required
|
||||
|
||||
scheduled\_backup\_uuid\*
|
||||
|
||||
UUID of the backup configuration.
|
||||
|
||||
Type
|
||||
|
||||
string
|
||||
|
||||
Required
|
||||
|
||||
Request Body[](https://coolify.io/docs/api-reference/api/operations/update-database-backup#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[](https://coolify.io/docs/api-reference/api/operations/update-database-backup#responses)
|
||||
|
||||
----------------------------------------------------------------------------------------------------
|
||||
|
||||
200400401404422
|
||||
|
||||
Database backup configuration updated
|
||||
|
||||
PATCH
|
||||
|
||||
/databases/{uuid}/backups/{scheduled\_backup\_uuid}
|
||||
|
||||
Playground[](https://coolify.io/docs/api-reference/api/operations/update-database-backup#playground)
|
||||
|
||||
------------------------------------------------------------------------------------------------------
|
||||
|
||||
Authorization
|
||||
|
||||
bearerAuth
|
||||
|
||||
Variables
|
||||
|
||||
Key
|
||||
|
||||
Value
|
||||
|
||||
uuid\*
|
||||
|
||||
scheduled\_backup\_uuid\*
|
||||
|
||||
Body
|
||||
|
||||
Try it out
|
||||
|
||||
Samples[](https://coolify.io/docs/api-reference/api/operations/update-database-backup#samples)
|
||||
|
||||
------------------------------------------------------------------------------------------------
|
||||
|
||||
Powered by [VitePress OpenAPI](https://github.com/enzonotario/vitepress-openapi)
|
||||
Reference in New Issue
Block a user