Create Database Backup Schedule
coolify_create_database_backupSchedule automated database backups using cron expressions, with configurable S3 storage, retention policies, and dump options.
Instructions
Create a scheduled backup for a database. frequency is a cron expression (e.g. '0 2 * * *').
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reveal | No | Reveal redacted secret values in the response (default false; the call is audited) | |
| enabled | No | Whether the schedule is active | |
| save_s3 | No | Also upload backups to S3 | |
| dump_all | No | Dump all databases on the server | |
| instance | Yes | REQUIRED — which Coolify instance to mutate: 'prod' (Hetzner VPS) or 'dev' (local OrbStack VM). No default: state the target explicitly so a write never lands on prod by accident. | |
| frequency | Yes | Cron expression, e.g. '0 2 * * *' | |
| database_uuid | Yes | Database UUID | |
| s3_storage_uuid | No | S3 storage UUID (required if save_s3) | |
| databases_to_backup | No | Comma-separated DB names to back up (engine-specific) | |
| database_backup_retention_days_s3 | No | ||
| database_backup_retention_amount_s3 | No | ||
| database_backup_retention_days_locally | No | ||
| database_backup_retention_amount_locally | No |