Reference

blossom backup:setting:update

Configure database exports or Volume backups

Usage

blossom backup:setting:update [--volume VOLUME] [--cache_instance CACHE_INSTANCE] [--database DATABASE] [--database_instance DATABASE_INSTANCE] [--data DATA]

Flags

Flag Description
--volume Persistent Service Volume id for backup settings
--cache_instance Cache instance id for backup settings
--database Database id for export settings
--database_instance Database instance id for backup settings
--data, -d YAML or JSON data, a path to a data file, or an HTTP(S) URL

Configure daily PostgreSQL exports, or backups for a Persistent Service Volume.

Choose Backup Storage for a Volume. Backups run without stopping the Service:

blossom backup:setting:update --volume volume-100 --data schedule.yml

schedule.yml:

backup_setting:
  backup_storage_id: backup_storage-100
  enabled: true

Backups run during the Account maintenance window. Set enabled: false to stop the schedule while keeping saved backups and the manual backup action. retention is the number of successful backups to keep, at least seven. Incremental parents remain while retained backups need them.

For PostgreSQL exports:

blossom backup:setting:update --database database-100 --data '{backup_setting: {enabled: true}}'