Home › Knowledge base › Hyper-V checkpoint left behind after backup
Hyper-V checkpoint left behind after backup
- Article
- KB-1079
- Category
- Hypervisors
- Applies to
- Hyper-V; agent before 4.6.0
Symptoms
Hyper-V Manager shows a checkpoint named Cyphonix Backup - (date) on one or more virtual machines when no backup is running. The VM's differencing disk (.avhdx) grows. Later backups of that VM may fail or run as full backups.
Cause
The agent creates a checkpoint at the start of a job and removes it at the end. In agents before 4.6.0, if a job was cancelled, or the agent service or host was restarted mid-job, the checkpoint was not always removed.
Resolution
Update to 4.6.0 or later. From 4.6.0 the agent records the checkpoints it creates and removes any left over at service start and at the beginning of each job.
To remove an existing leftover checkpoint by hand, make sure no backup is running, then in PowerShell on the host:
Get-VMSnapshot -VMName "SRV-APP-01" | Where-Object Name -like "Cyphonix Backup*" | Remove-VMSnapshot
Hyper-V then merges the differencing disk into its parent. Merging happens in the background while the VM runs and can take a long time for a large differencing disk. It needs free space on the volume roughly equal to the size of the .avhdx.
Do not delete .avhdx files directly. Doing so loses every change made to the VM since the checkpoint was taken.
If the volume is nearly full
Merging may not be able to complete. Free space on the volume first, or move the VM's storage to another volume with Move › Move the virtual machine's storage, which merges as part of the move.