|
|
@ -35,15 +35,17 @@ data: |
|
|
|
|
|
|
|
import collective.recipe.backup.main |
|
|
|
|
|
|
|
{{- $bkpLocation := .Values.velero.backup.enabled | ternary "/data" "/backup" -}} |
|
|
|
|
|
|
|
if __name__ == '__main__': |
|
|
|
sys.exit(collective.recipe.backup.main.backup_main( |
|
|
|
bin_dir='/plone/instance/bin', |
|
|
|
storages=[{'backup_location': '/backup/backups', |
|
|
|
'blob_backup_location': '/backup/blobstoragebackups', |
|
|
|
'blob_snapshot_location': '/backup/blobstoragesnapshots', |
|
|
|
storages=[{'backup_location': '{{ $bkpLocation }}/backups', |
|
|
|
'blob_backup_location': '{{ $bkpLocation }}/blobstoragebackups', |
|
|
|
'blob_snapshot_location': '{{ $bkpLocation }}/blobstoragesnapshots', |
|
|
|
'blobdir': '/data/blobstorage', |
|
|
|
'datafs': '/data/filestorage/Data.fs', |
|
|
|
'snapshot_location': '/backup/snapshotbackups', |
|
|
|
'snapshot_location': '{{ $bkpLocation }}/snapshotbackups', |
|
|
|
'storage': '1'}], |
|
|
|
keep={{ .Values.repozo.keep }}, |
|
|
|
keep_blob_days={{ .Values.repozo.keepblobdays }}, |
|
|
|