Skip to content

Even after applying the annotation velero.io/exclude-from-backup=true on the PVCs and PVs velero is still backing up those PVs #8619

Closed Answered by sseago
ayushrockzzz asked this question in Community support Q&A
Discussion options

You must be logged in to vote

Hmm. Looking back at the initial description:
"I have applied the velero.io/exclude-from-backup=true annotation on both PVCs and PVs to exclude them from Velero backups. However, Velero continues to back up the associated PVs, which is not the expected behavior."
I'm noticing two things:

  1. The bug fix was to fix a regression in 1.15.0 where if exclude-from-backup was only on PVCs and not PVs, the PVs still got backed up -- there was no regression if it was on both PVs and PVCs
  2. exclude-from-backup should be a label, not an annotation: https://velero.io/docs/v1.4/resource-filtering/#veleroioexclude-from-backuptrue

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
1 reply
@ayushrockzzz
Comment options

Comment options

You must be logged in to vote
4 replies
@ayushrockzzz
Comment options

@ayushrockzzz
Comment options

@sseago
Comment options

Answer selected by ayushrockzzz
@ayushrockzzz
Comment options

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