Home Debian How to Export and Import VirtualBox Virtual Machines

How to Export and Import VirtualBox Virtual Machines

Exporting and Importing feature is available in all the virtualization software you use. This feature will be very useful when you want to copy and launch a configured VM from one machine to another machine.

This feature is very useful for me, as I have a lot of virtual machines running on VirtualBox for testing and writing articles, and for VM level protection I can take snapshots and protect my VM.

But if my Host machine crashes then I have to configure all the VM from scratch. It is a tedious task for me. So once I fully configure any VM I export it and save a copy in my external disk so when I lose the image I can import the image into VirtualBox.

Exporting and Importing Virtual Machines in Virtualbox

Virtualbox uses OVA file format which includes Descriptor file (OVF), Manifest File (MF), and other related files. This is a standard format used in many popular virtualization software too like Vmware. Exporting and Importing VM images can be done in few clicks.

Exporting Virtual Machines in Virtualbox

Go to FileExport Appliance or press “CTRL+E”.

Export Virtual Appliance
Export Virtual Appliance

You will get the list of Virtual Machines that can be exported. Press Expert Mode and configure all the options in a single window. You have to choose the virtualization format version, where your exported .ova file is going to be saved in the local file system.

VirtualBox Virtual Machines
VirtualBox Virtual Machines
Export Virtual Machines
Export Virtual Machines

Once you press Export, exporting process will be started.

Exporting Virtual Machine
Exporting Virtual Machine

You will see .ova file is created as a part of the export process.

$ ls -l *.ova

-rw------- 1 linuxshelltips linuxshelltips 988830720 May  5 08:57 Fedora_34.ova

Importing Virtual Machines in Virtualbox

Now you can reprovision the image by importing the VM. Go to FileImport Appliance or press CTRL + I.

Import Virtual Appliance
Import Virtual Appliance

You have to choose the exported image and press Import.

Import Virtual Machine
Import Virtual Machine
Import Virtual Machine Settings
Import Virtual Machine Settings

You will see the disk image getting imported. It will take some time and that depends on your disk image size.

Importing Virtual Machine
Importing Virtual Machine

Now I have successfully imported the image and can now start running the VM straight away without any changes.

Imported Virtual Machine
Imported Virtual Machine

In the next article, we will see how to install PHP Virtualbox and manage Virtual Machines in PHP VirtualBox – a web-based user interface.

Ravi Saive
I am an Experienced GNU/Linux expert and a full-stack software developer with over a decade in the field of Linux and Open Source technologies. Founder of TecMint.com, LinuxShellTips.com, and Fossmint.com. Over 150+ million people visited my websites.

Each tutorial at UbuntuMint is created by a team of experienced writers so that it meets our high-quality standards.

Was this article helpful? Please add a comment to show your appreciation and support.

Got something to say? Join the discussion.

Thanks for choosing to leave a comment. Please keep in mind that all comments are moderated according to our comment policy, and your email address will NOT be published or shared. Please Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.