Test Backup
Requirements
Test Backup and Restore
Install test application:
k apply -f testapp/app.yamlWrite test data:
kubectl -n csi-app exec -ti csi-nginx -- bash -c 'echo -n "FOOBARBAZ" >> /mnt/longhorndisk/foobar'Do a backup:
velero backup create csi-b1 --include-namespaces csi-app --waitSimulate disaster:
k delete ns csi-appApply backup:
velero restore create --from-backup csi-b1 --waitLast updated on 10/6/2023