Restore Hyper-V VM + Checkpoints From Backup

Pascal 21 Reputation points
2022-08-06T23:09:12.803+00:00

Hi there,

I need to restore a virtual machine with Checkpoints from backup - I deleted the snapshot and since determined I need it.

I thought this would be a simple case of restoring the vhdx, avhdx files and snapshots folder in ProgramData while the Virtual Machine Management service is stopped but this hasn't done the the trick and the checkpoint still doesn't show in Hyper-V Manager.

OS is Windows 10 Professional w/Hyper-V

Thanks in advance!

Windows for business | Windows Client for IT Pros | Storage high availability | Virtualization and Hyper-V
0 comments No comments
{count} votes

Accepted answer
  1. No Body 71 Reputation points
    2022-08-09T14:57:04.923+00:00

    You can always restore a VM from the files, if you have all of them. Worst case you don't need the VM configuration file, you would simply create a new VM and select the most recent (by file date) AVHD/AVHDX file as the hard drive. Note, however, that the VM will work but if you don't have the VM config, the checkpoints will not be individually listed. So importing, as you did, solves that problem, provided that you still have the VMCX file.
    For that reason it's best to take a backup of the VM before deleting important checkpoints or changing VM settings. You could do this by exporting, which creates a full copy each time, or for very little money get a professional backup tool that backs up the VMs automatically with dedupe to save space and time. Another thing to keep in mind is that checkpoints increase the potential for VM corruption. They are awesome for development and testing purposes, but they are not recommended on production VMs.


1 additional answer

Sort by: Most helpful
  1. Pascal 21 Reputation points
    2022-08-07T00:35:41.797+00:00

    Update: Managed to fix by deleting VM and associated files, then performing an import on Hyper-V manager which brought back the VM along with its checkpoints.

    Downside is that even reverting to checkpoint the VM still has the issue I was trying to fix, so it was all for nothing, but that's another whole problem for me to solve...

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.