DOCS / CONFIGURATION

backup settings

Backup schedules and retention.

Keys

KeyTypeDefaultDescription
schedulestring0 3 * * *Cron expression for nightly backups
retentionduration30dTime before moving to the archive
cross_regionstring(none)Region to copy backups to
encryptbooleantrueEncrypt backups with FeatherLock

Example

backup:
  schedule: 0 3 * * *
  retention: 30d
  # cross_region: (none)
  encrypt: true

Values set here apply to every environment unless overridden in a coop.production.yolk file. Read and write values from the terminal with cluck config, and validate the whole file with cluck doctor.

NoteYolkML has no tabs, no anchors, and no surprises. Indent with two spaces, and the file will behave.