Skip to content

How to exclude specific CSI volumes from backup? #8230

Discussion options

You must be logged in to vote

backup.velero.io/backup-volumes-excludes wouldn't help you -- that is intended to opt out of fs-backup (when that's the default) and use snapshots instead.

You might be able to use volume policies (applying the skip policy) if the available filters are able to narrow down to just the PostgresQL volumes, although I don't know if that's enough to uniquely describe the volumes of interest in your case. Here's the doc for that:
https://velero.io/docs/main/resource-filtering/#resource-policies

Replies: 2 comments 7 replies

Comment options

You must be logged in to vote
5 replies
@Zalfsten
Comment options

@Zalfsten
Comment options

@Zalfsten
Comment options

@Zalfsten
Comment options

@sseago
Comment options

Answer selected by Zalfsten
Comment options

You must be logged in to vote
2 replies
@Zalfsten
Comment options

@mame-leadec
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