Closed reitermarkus closed 20 hours ago
The annotationbackup.velero.io/backup-volumes-excludes
is used for file system backup: https://velero.io/docs/v1.14/file-system-backup/#using-the-opt-out-approach
For native snapshot, please define a resource policy to skip the volume: https://velero.io/docs/v1.14/resource-filtering/#resource-policies
@ywk253100, thanks, resource policy was what I was missing.
What steps did you take and what happened:
Created a backup. It completed successfully, but shows the following warning for an NFS PV:
All pods which are using this volume also have the corresponding
backup.velero.io/backup-volumes-excludes
annotation.What did you expect to happen:
No warning, since there is no NFS snapshotter and the volume is excluded from backups.
Anything else you would like to add:
Related to https://github.com/vmware-tanzu/velero/issues/7672.
Volume definition:
Environment:
velero version
): v1.13.2velero client config get features
):kubectl version
): v1.29.6/etc/os-release
):Vote on this issue!
This is an invitation to the Velero community to vote on issues, you can see the project's top voted issues listed here.
Use the "reaction smiley face" up to the right of this comment to vote.