I have a .SAV and .VHD file from a backup. Since these files were created the revert to snapshot feature was used, by design this deleted everything since the snapshot was created. However I now need to access the data that was in the snapshot.
Is there any way of using the .sav and associated vhd file to restore the virtual machine?
After much exploration I have found that this is possible!
NB I don’t have any experience with XML so please excuse the terminology......also please backup any configuration files before making any of the changes suggested..
I could not find any references to this in the VirtualBox documentation or on any websites. In case anyone ever has the same problem here are the steps I went through to resolve the problem:
I was happy to see the changes were fairly simple. To restore the snapshot from the backup I:
Notice that the uuid is the same as the snapshot file name, if you need to find out what the uuid is just copy and paste the snapshot filename without the extension.
That worked for me. The machine booted up fine with the snapshot restored from backup and all the data back!
In order to restore a dead VirtualBox VM from its .sav file I did the following (5.1.28 on Windows 7):
(1) clone your old VM within the VBox GI
go into the new directory
(2) Get VM uuid
open your cloned .vbox file with your editor & copy the uuid from line starting with
(without the curly braces)
(2) to restore your vm with its latest .sav file
adopt this path to your environment:
Restart your VM