Skip to content

backup

Backups for a consumer’s volumes and databases. A provider schedules them against a repository.

apps.myapp.main.needs.backup.schedule = "0 3 * * *";
  • providernull or (podule provider reference (apps.<type>.<instance> or impl.<contract>.<name>))

    Overrides providers.backup for this need.

    Default
    null
  • repository.keystring

    Key inside the Secret.

  • repository.namestring

    Kubernetes Secret object name.

  • repository.namespacenull or string

    Namespace of the Secret. Defaults to the namespace of the consumer that reads it.

    Default
    null
  • retainnull or string

    Retention, in the syntax of the backup provider.

    Default
    null
  • schedulenull or string

    Backup schedule in cron syntax. The provider chooses a default when unset.

    Default
    null
  • repositorynull or (submodule)

    Bound secretRef for the backup repository. Written by the backup provider.

    Default
    null

None.