Storage set backup

Create or replace database storage volume backup schedule

Usage

coolify database storage set-backup <db_uuid> <storage_uuid>

Options

OptionTypeRequiredDefaultDescription
--disable-local-backupbooleanNofalseDisable local backup retention
--enabledbooleanNotrueEnable the schedule
--frequencystringYesCron frequency (required)
--retention-amount-locallyintegerNo7Local retention count
--retention-amount-s3integerNo7S3 retention count
--retention-days-locallyintegerNo0Local retention days
--retention-days-s3integerNo0S3 retention days
--retention-max-storage-locallyfloat64No0Local max storage
--retention-max-storage-s3float64No0S3 max storage
--s3-storage-uuidstringNoS3 storage UUID when --save-s3 is set
--save-s3booleanNofalseAlso save backups to S3
--stop-during-backupbooleanNofalseStop resource during backup
--timeoutintegerNo3600Backup timeout seconds

Get current help

coolify database storage set-backup --help

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

On this page