Cloning a *whole* machine

This is for discussing general topics about how to use VirtualBox.
Post Reply
forquare
Posts: 6
Joined: 25. Aug 2008, 12:16

Cloning a *whole* machine

Post by forquare »

Hi all,

I've searched about and I can find out how to clone vdi's, but I'm looking to clone a whole VM, is there any way to do this?

Many thanks,

Ben
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Cloning a *whole* machine

Post by Perryg »

I am suspecting that you are talking about snapshots.
Short answer you can not clone snapshots.
You can however copy these as in a backup. You need to backup the VirtualBox.xml and the machine XML as well as the VDI and Snapshot of the machine.
forquare
Posts: 6
Joined: 25. Aug 2008, 12:16

Re: Cloning a *whole* machine

Post by forquare »

Many thanks Perryg, we are creating a virtual-environment where users can get access to VM's, we will be cloning a 'clean' system on the fly when someone wants to use a VM, so they don't have the waiting time of installation, we'll create a script to clone the VM/snapshot xml details.

Many thanks for your reply :)
Post Reply