Browse Source

Implemented CSI Snapshot backup with Data Movement

master
parent
commit
78a51e4010
  1. 8
      charts/portalmodelo/v0.5.0/templates/velero-schedule-monthly.yaml
  2. 8
      charts/portalmodelo/v0.5.0/templates/velero-schedule-weekdays.yaml
  3. 8
      charts/portalmodelo/v0.5.0/templates/velero-schedule-weekly.yaml
  4. 2
      charts/portalmodelo/v0.5.0/values.yaml

8
charts/portalmodelo/v0.5.0/templates/velero-schedule-monthly.yaml

@ -14,10 +14,16 @@ spec:
excludedResources:
{{- toYaml . | nindent 8 }}
{{- end }}
snapshotVolumes: false
# every monthly backup is good for the next 3 months (~90 days)
ttl: 2190h0m0s
{{- if .Values.velero.backup.useSnapshotBackup }}
defaultVolumesToFsBackup: false
snapshotVolumes: true
snapshotMoveData: {{ .Values.velero.backup.snapshotMoveData }}
{{- else }}
defaultVolumesToFsBackup: true
snapshotVolumes: false
{{- end }}
hooks:
resources:
- name: repozo

8
charts/portalmodelo/v0.5.0/templates/velero-schedule-weekdays.yaml

@ -14,10 +14,16 @@ spec:
excludedResources:
{{- toYaml . | nindent 8 }}
{{- end }}
snapshotVolumes: false
# every weekday backup is good for the next week (7 days)
ttl: 168h0m0s
{{- if .Values.velero.backup.useSnapshotBackup }}
defaultVolumesToFsBackup: false
snapshotVolumes: true
snapshotMoveData: {{ .Values.velero.backup.snapshotMoveData }}
{{- else }}
defaultVolumesToFsBackup: true
snapshotVolumes: false
{{- end }}
hooks:
resources:
- name: repozo

8
charts/portalmodelo/v0.5.0/templates/velero-schedule-weekly.yaml

@ -14,10 +14,16 @@ spec:
excludedResources:
{{- toYaml . | nindent 8 }}
{{- end }}
snapshotVolumes: false
# every sunday backup is good for 30 days (aprox. 1 month)
ttl: 744h0m0s
{{- if .Values.velero.backup.useSnapshotBackup }}
defaultVolumesToFsBackup: false
snapshotVolumes: true
snapshotMoveData: {{ .Values.velero.backup.snapshotMoveData }}
{{- else }}
defaultVolumesToFsBackup: true
snapshotVolumes: false
{{- end }}
hooks:
resources:
- name: repozo

2
charts/portalmodelo/v0.5.0/values.yaml

@ -25,6 +25,8 @@ velero:
backup:
enabled: false
# cert-manager objects are usually blocked during backup
useSnapshotBackup: false
snapshotMoveData: false
excludedResources:
- certificates.cert-manager.io
- orders.acme.cert-manager.io

Loading…
Cancel
Save