Backup and restore with VirtualBox

There is a newbie VirtualBox here. I took a snapshot of the virtual machine using this command line:

VBoxManage snapshot VMName take BackupName 

Then I used this to check:

 VBoxManage showvminfo VMName 

and I saw that a snapshot was created with the name BackupName. I did not find the “current” snapshot of BackupName, I found the filename.sav file in the SnapShots folder.

My intention was to create a snapshot of this virtual machine, copy it to another host machine and restore it there. Since I couldn’t find the “snapshot” of BackupName, so I copied the sav file to the new host and used this command:

 VBoxManage adoptsate filename.sav 

But that did not work. Can someone help me copy this “snapshot” and restore it to the new host. Many thanks

+8
virtual-machine virtualbox restore snapshot
source share
1 answer

First, get the list of virtual machines installed on your host at the command prompt:

 vboxmanage list vms 

Output result

 "UbuntuVM" {77743eca-e338-471c-b824-60c5c5c22b6f} "Windows XP SP3" {3818afc4-189d-4441-8f35-07284c930a4b} "Windows XP SP3 Clone" {79b40316-225a-43a1-9ddf-22a51c280d4e} 

Find the one you want to export to another host and export to a file called Ubuntu.ova as follows:

 vboxmanage export UbuntuVM -o Ubuntu.ova 
+11
source share

All Articles