Skip to content
Discussion options

You must be logged in to vote

It's possible, but Velero only does that in a special case.
https://github.com/vmware-tanzu/velero/blob/804d73c4f2349f1ca9bd3d6c751956e1d2021c01/pkg/restore/restore.go#L1241-L1247
This is the logic that Velero can restore the PV with the volume as it was backed up.
It requires the PV's ReclaimPolicy set to Retain, and the PVs are not backed up by filesystem backup or snapshot backup.

This can be done by CLI velero backup create --default-volumes-to-fs-backup=false --snapshot-volumes=false

Replies: 1 comment 2 replies

Comment options

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

@blackpiglet
Comment options

Answer selected by djjudas21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants