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: excludedResources:
{{- toYaml . | nindent 8 }} {{- toYaml . | nindent 8 }}
{{- end }} {{- end }}
snapshotVolumes: false
# every monthly backup is good for the next 3 months (~90 days) # every monthly backup is good for the next 3 months (~90 days)
ttl: 2190h0m0s ttl: 2190h0m0s
{{- if .Values.velero.backup.useSnapshotBackup }}
defaultVolumesToFsBackup: false
snapshotVolumes: true
snapshotMoveData: {{ .Values.velero.backup.snapshotMoveData }}
{{- else }}
defaultVolumesToFsBackup: true defaultVolumesToFsBackup: true
snapshotVolumes: false
{{- end }}
hooks: hooks:
resources: resources:
- name: repozo - name: repozo

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

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

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

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

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

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

Loading…
Cancel
Save