The schedule needs to have snapshot-move-data as well. The the default(auto) does not seem work.

This commit is contained in:
Mikael Frykholm 2025-04-10 07:48:09 +02:00
parent 4e2ca3a4f7
commit 4de56d13f5
Signed by: mifr
GPG key ID: 1467F9D69135C236

View file

@ -119,7 +119,7 @@ Save into a file called credentials-velero to be used during the install:
aws_secret_access_key=12312312312312312312312213123
velero install --features=EnableCSI --use-node-agent --provider aws --plugins velero/velero-plugin-for-aws:v1.2.1 --bucket velero --secret-file ./credentials-velero --use-volume-snapshots=true --backup-location-config region=sto3,s3ForcePathStyle="true",s3Url=https://s3.sto3.safedc.net --snapshot-location-config region=sto3 --wait
velero schedule create prod-schedule --schedule="0 3 * * *"
velero schedule create prod-schedule --schedule="0 3 * * *" --snapshot-move-data=true
velero backup create rut-prod --snapshot-move-data --default-volumes-to-fs-backup=false --from-schedule prod-schedule
### Kubernetes logs and instrospection