Backup create

Create a new scheduled backup configuration

Usage

coolify database backup create <database_uuid>

Options

OptionTypeRequiredDefaultDescription
--databases-to-backupstringNoComma-separated list of databases to backup
--disable-local-backupbooleanNofalseDisable local backup storage
--dump-allbooleanNofalseDump all databases
--enabledbooleanNofalseEnable backup schedule
--frequencystringNoBackup frequency (cron expression, e.g., '0 0 * * *' for daily)
--retention-amount-locallyintegerNo0Number of backups to retain locally
--retention-amount-s3integerNo0Number of backups to retain in S3
--retention-days-locallyintegerNo0Days to retain backups locally
--retention-days-s3integerNo0Days to retain backups in S3
--retention-max-storage-locallystringNoMax storage for local backups (e.g., '1GB', '500MB')
--retention-max-storage-s3stringNoMax storage for S3 backups (e.g., '1GB', '500MB')
--s3-storage-uuidstringNoS3 storage UUID
--save-s3booleanNofalseSave backups to S3
--timeoutintegerNo0Backup timeout in seconds

Get current help

coolify database backup create --help

The installed CLI help reflects the exact options available in your CLI version.

On this page