Skip to main content
Question

Automatically Backing Up Persistent Volumes in Veeam Backup for Kubernetes Without Specifying a VolumeSnapshotClass


Castlemodapk

How can I configure Veeam Backup for Kubernetes to automatically back up Persistent Volumes that are managed by a custom storage class, without specifying a VolumeSnapshotClass for each PVC?

2 comments

Chris.Childerhose
Forum|alt.badge.img+21
  • Veeam Legend, Veeam Vanguard
  • 8449 comments
  • November 11, 2024

@Madi.Cristil @safiya - Please move to Kubernetes Korner for better assistance.

 
 
 

jaiganeshjk
Forum|alt.badge.img+2
  • Experienced User
  • 274 comments
  • November 19, 2024

Hi ​@Castlemodapk Thanks for creating a topic here.

Would you be able to provide more details regarding the custom storageclass that we are looking at here ? Does that storage provisioner support CSI Snapshot through volumesnapshotclass ?

You don’t have to specify volumesnapshotclass for each PVC. Veeam Kasten looks at an annotation for the volumesnapshotclass per storage provisioner.

 

If you have multiple PVCs using the same storageclass with the same provisioner, All you have to do is annotate the volumesnapshotclass for that particular provisioner and that should be it. 

You don’t have to do anything for all the PVCs individually or explicitly. 

The annotation is to let Kasten know to use that VolumesnapshotClass for that particular provisioner. THere can be many volumesnapshotclass per provisioner and only one can be designated to be used by Kasten.


Comment