Skip to content
Snippets Groups Projects
Verified Commit 841abfa9 authored by Arie Peterson's avatar Arie Peterson
Browse files

Set up nightly backup schedule if s3 backup storage is enabled

parent 24a45a41
No related branches found
No related tags found
Loading
......@@ -97,23 +97,22 @@ restic:
privileged: true
# Backup schedules to create.
# Eg:
# schedules:
# mybackup:
# schedule: "0 0 * * *"
# template:
# ttl: "240h"
# includedNamespaces:
# - foo
{% if backup.s3.enabled %}
schedules:
# This is just a name, can be anything.
nightly:
# Every night at 3:30.
schedule: "30 3 * * *"
template:
# Backups are stored for 60 days.
ttl: "60d"
includedNamespaces:
# We include all namespaces.
- '*'
{% else %}
# There is no point in setting a backup schedule as we haven't configured a
# storage location.
schedules: {}
{% endif %}
# Velero ConfigMaps.
# Eg:
# configMaps:
# restic-restore-action-config:
# labels:
# velero.io/plugin-config: ""
# velero.io/restic: RestoreItemAction
# data:
# image: velero/velero-restic-restore-helper:v1.4.0
configMaps: {}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment