Cloning vs Copying a VM

Discussions related to using VirtualBox on Windows hosts.
Post Reply
vannyi
Posts: 5
Joined: 20. Jan 2014, 02:20

Cloning vs Copying a VM

Post by vannyi »

Within the Virtualbox menu, there is an option of cloning a VM. Others have suggested just going to the folder where the VM resides and making a copy of it.

Is there a difference between using the cloning command and just copying the VM to another location? If there is a difference, could someone advise what is the difference. I am using the latest version of VirtualBox...sorry, I'm in the office so I can't give you the exact version number but I believe it was 4.x
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Cloning vs Copying a VM

Post by socratis »

vannyi wrote:Others have suggested just going to the folder where the VM resides and making a copy of it.
Is there a difference between using the cloning command and just copying the VM to another location?
The "Others" don't really understand the minute differences. If you do that, VBox will get confused. The main reason are the differences in the UUIDs of the HD and the VM itself (and maybe the NICs). For more information, please read Chapter 1.13 of the current user manual.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

Re: Cloning vs Copying a VM

Post by scottgus1 »

Copying a guest is good for a backup, where you intend to replace the failed guest with just one new guest based on the backup.

Cloning is good if you want more than one copy of the guest on the host. Cloning slightly changes the guest so the ID numbers for the various parts of the guest (the UUIDs) don't conflict with other guests. (Virtualbox only allows one instance of a particular UUID in its system and will complain if you try to bring in a guest with a part having the same UUID as another guest.) Same thing for duplicate MAC addresses. Keep in mind that changing the UUIDs may cause requirements for reactivation of software in the guest.
Post Reply