Backup create
Create a new scheduled backup configuration
Usage
coolify database backup create <database_uuid>Options
| Option | Type | Required | Default | Description |
|---|---|---|---|---|
--databases-to-backup | string | No | — | Comma-separated list of databases to backup |
--disable-local-backup | boolean | No | false | Disable local backup storage |
--dump-all | boolean | No | false | Dump all databases |
--enabled | boolean | No | false | Enable backup schedule |
--frequency | string | No | — | Backup frequency (cron expression, e.g., '0 0 * * *' for daily) |
--retention-amount-locally | integer | No | 0 | Number of backups to retain locally |
--retention-amount-s3 | integer | No | 0 | Number of backups to retain in S3 |
--retention-days-locally | integer | No | 0 | Days to retain backups locally |
--retention-days-s3 | integer | No | 0 | Days to retain backups in S3 |
--retention-max-storage-locally | string | No | — | Max storage for local backups (e.g., '1GB', '500MB') |
--retention-max-storage-s3 | string | No | — | Max storage for S3 backups (e.g., '1GB', '500MB') |
--s3-storage-uuid | string | No | — | S3 storage UUID |
--save-s3 | boolean | No | false | Save backups to S3 |
--timeout | integer | No | 0 | Backup timeout in seconds |
Get current help
coolify database backup create --helpThe installed CLI help reflects the exact options available in your CLI version.
