kubevirt / kubevirt-velero-plugin

Plugin to Velero which automates backing up and restoring KubeVirt/CDI objects
Apache License 2.0
29 stars 28 forks source link

Adding freeze operations for vm #266

Closed BAMSHK closed 1 week ago

BAMSHK commented 1 month ago

When backing up a virtual machine, if the VM is in a running state, will there be an increase in the use of 'freeze' operations in the future to ensure the consistency of the backed-up data?

ShellyKa13 commented 1 week ago

@BAMSHK This is already in place. You can see on VMs an annotation of Velero stating which process should happen before vm backup. The hook calls the freeze by calling this script: https://github.com/kubevirt/kubevirt/blob/main/cmd/virt-freezer/main.go