Hyper-V checkpoints do not removed after veeam backup

A.HAN 1 Reputation point
2022-01-11T19:21:25.66+00:00

Hello community,
Hope you all are doing well

I am facing a problem here in my Hyper-V server,we all know that after the VMs checkpoints created by the Veeam backup job are deleted after the job completion, my problem is that these checkpoints are not deleted after any job in some VMs, so after each daily incremental job they increased by 1, now I have about 5 checkpoints in each VM of those are facing the problem, and this is an issue for me it will be too much space taken after some weeks.

I am using Veeam Backup and Replication 11

So could anyone please help me to solve this problem?
I would really appreciate it.

Thank you all,

Hyper-V
Hyper-V
A Windows technology providing a hypervisor-based virtualization solution enabling customers to consolidate workloads onto a single server.
2,530 questions
0 comments No comments
{count} votes

5 answers

Sort by: Most helpful
  1. Limitless Technology 39,336 Reputation points
    2022-01-12T21:29:31.62+00:00

    Hello anonymous user-4139

    This issue appears to be intermittent as the dates don’t indicate a predictable continuous increase such as daily or weekly. If you are using on or off host proxy processing for Hyper-V you could try the following:

    Check your Veeam logs for each date during the backup, the logs should indicate some form of access error or file lock. If the access error or file log appears to have nothing to do with why you can’t delete the checkpoints then I would attempt their removal via PowerShell. At best it will resolve it and combined with the above the problem is resolved, at worst it gives you an actual error as to why they cannot be deleted.

    Get-VMSnapshot -ComputerName "MyHyperVHost" -VMName "VMWithLingeringBackupCheckpoint"

    This shows you the checkpoint information (note it does not show you the XXX-AutoRecovery.avhdx” as a checkpoint.
    And then we simply run Remove-VMSnapshot

    Remove the lingerging backup checkpoint like you would a normal one
    Get-VMSnapshot -ComputerName "MyHyperVHost" -VMName "VMWithLingeringBackupCheckpoint" | Remove-VMSnapshot

    Hope this helps with your query!


    --If the reply is helpful, please Upvote and Accept as answer--

    2 people found this answer helpful.

  2. Michal Tomasek 11 Reputation points
    2022-11-12T06:52:38.857+00:00

    Get-VMSnapshot -ComputerName "MyHyperVHost" | Remove-VMSnapshot -name "veeam*"

    Removes all veeam snapshots on all VMs.

    Better to run in foreach as it is IO intense disk operarion which could kill your disks IO

    1 person found this answer helpful.
    0 comments No comments

  3. Daniel Klobnak 256 Reputation points
    2022-11-16T22:58:54.85+00:00

    I have a similar issue - I noticed four snapshots that have randomly been created over the last few months - but always related to a Veeam backup - which are recovery due to Veeam.
    I have seen both remove-vmsnapshot and merge-vhd
    in discussions
    thoughts as to best approach? Thank you.


  4. Daniel Klobnak 256 Reputation points
    2022-11-23T20:05:55.723+00:00

    worked like a charm. Thanks.

    0 comments No comments

  5. LW 0 Reputation points
    2023-02-17T17:43:43.95+00:00

    I ran into the same issue. Orphaned checkpoints named AVHDX not in the checkpoint inventory.

    I was ready to plan for downtime.

    Plan A was to shutdown the VM. Power it back up in hopes the merge process will start.

    Plan B was to merge the HDDs into a new VM.

    HOWEVER, doing a LIVE MIGRATION to another host fixed it. All of the AVHDX are now gone. I'm waiting to see if the backups screw this up again.

    I was surprised but my thinking in doing a Live Migration was to align the VM with the HOST and OWNER of the storage. I thought it would yield a better experience if I ended performing plan B.

    Try live migration to another HOST, can't hurt if you have a cluster.