You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
See issue #6450, sometimes, users want to filter volumes by volume types(i.e., configMap volumes, emptyDir volumes) from various backup types (i.e., file system backup, volume/CSI snapshot).
Looks like there is no existing way for uses to do this easily, if so, we may need to add this in Velero filter mechanisms.
The text was updated successfully, but these errors were encountered:
We may consider add a new condition in the volume policy to let user optionally skip hostPath, emptyDir by checking the keys of entries in .spec.volumes of pods.
below is one example of a backup of one pod with awsElasticBlockStore type of PV, and skipped being backed up.
time="2023-09-22T03:38:51Z" level=info msg="Summary for skipped PVs: [{\"name\":\"pvc-d3163b24-6b28-4a57-8419-c9bbb568fdd8\",\"reasons\":[{\"approach\":\"any\",\"reason\":\"skipped due to resource policy \"},{\"approach\":\"volumeSnapshot\",\"reason\":\"matched action is 'skip' in chosen resource policies\"}]}]" backup=velero/b6 logSource="pkg/backup/backup.go:434"
See issue #6450, sometimes, users want to filter volumes by volume types(i.e., configMap volumes, emptyDir volumes) from various backup types (i.e., file system backup, volume/CSI snapshot).
Looks like there is no existing way for uses to do this easily, if so, we may need to add this in Velero filter mechanisms.
The text was updated successfully, but these errors were encountered: