Backing up VM's

Discussions related to using VirtualBox on Windows hosts.
Post Reply
kostasb
Posts: 1
Joined: 19. Apr 2015, 10:28

Backing up VM's

Post by kostasb »

I'm a bit confused because of the multiple options on that matter.

What is the best, most reliable way to backup my VM's?
Cloning, exporting or just copying the whole folder of the VM?

What are the differences?
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: just about all that run

Re: Backing up VM's

Post by loukingjr »

Copying the VM folder is the best option.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Backing up VM's

Post by mpack »

Just to clarify: cloning and exporting are not used to make backups.

Cloning creates a second VM similar, but not identical, to the first. They can't be identical because two identical VMs couldn't exist on the same host, be on the same network etc. Of course for backing up you want identical, not similar.

Exporting creates a so called "appliance", which is a VMWare portable VM format. It has a descriptor file in OVF format and a hard disk in VMDK format. Alternatively these might exist in one container - OVA format. The purpose of exporting is to move the VM to another, significantly different, VM platform. It generally isn't used when source and dest are both VirtualBox. Like cloning, exporting modifies the VM, so again it is not appropriate for backups.
Post Reply