I had a laptop with a VM on VirtualBox. The VM had some 5 snapshots. I had
to format the laptop for some reason. So I just copied the VM directory. Now
I want to import it into my newly installed VirtualBox.
I am able to attach the harddisk to a new VM which gives me the last snapshot. Now I want to import my snapshots into it. I have a .vbox file which seems to have information about the snapshots in some XML format. Please help.
Did this in the terminal:
VBoxManage registervm /path/to/filename.vbox
This imported the VM complete with snapshots. :)