Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exclude pv from backup #561

Open
alexsteeel opened this issue Nov 17, 2023 · 2 comments
Open

Exclude pv from backup #561

alexsteeel opened this issue Nov 17, 2023 · 2 comments

Comments

@alexsteeel
Copy link

Describe the problem/challenge you have

I can't exclude pv from backup.
Label velero.io/exclude-from-backup=true on PV does not working (Resource filtering).
Similar issue with detailed description is velero still backup a pv with exclude label #5507.

Describe the solution you'd like

Add the ability to exclude pod volume from backup using an annotation backup.velero.io/backup-volumes-excludes= like in restic Using the opt-out approach

@KlavsKlavsen
Copy link

It seems this is a bug. if we trigger same backup - from cli (instead of schedule triggering it) - then it does indeed use the label - and excludes those PVs - vmware-tanzu/velero#5507 (comment)

@FredNass
Copy link

FredNass commented Jul 23, 2024

I think it's a documentation bug.

The Backup reference documentation should state that the label will only exclude the K8s Kind from being backed (data still being backed up) and that one should use annotations to exclude PVs data from being backed up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants