I have on vm and its running on a sanpshot.
After several months accidentally I have applied to this snapshot. Than how I can recover this data?
- First I verified the vdh and vhdx structure
- Take the full backup of the vm/folder
- Then I verified the avh/avhdx and vhd/vhdx relationship
- Shut down the vm
- Go to the settings of the vm and select hard disk which we going to merge the data
- Browse and select the parent this as the default hard disk
- Click on “open”
- Click on “apply” and contine(Don’t create checkpoint)
- Rename avhd/x file to vhd/vhdx
- Click on the vm and select edit disk on your right hand side
- Click on “next”
- Select the snapshot file(which we have renamed)
- Click on “Next” and select “Merge”
- Select the “To a new virtual hard disk” and click give a path to new disk and click on “Finish”(ensure that there is enough space in the disk to keep the virtual disk/s)
- Mount new vhd/x to vm and power on the vm
(Go to the settings of the vm >Select the hard disk > Click on inspect)
Note(Before doing any changes to your vm I’m recommend to take the full backup of vm/vms)