Page 1 of 1

Cloning disk with snapshots

Posted: 27. Jul 2009, 07:50
by dosdos59
My configuration is:
Virtual Box 3.0.2, Host Win XP Pro SP3, Guest Win XP Prp SP3.
I have a virtual machine with several snapshots. When I clone it (using vboxmanage clonehd) I get a vm in its native state, i.e. without any snapshots. But I want to clone the vm in its last state, i.e. the state of the last snapshot. It's possible? How?
Thaks a lot from a newbie.
Massimo

Re: Cloning disk with snapshots

Posted: 27. Jul 2009, 15:17
by Perryg
As you found out snapshots are not included when cloning (yet). I say yet in the hopes that it will be one day.
The only way to get the whole package is to merge the snapshots and then clone.
Only problem with that is you loose the snapshots when you do this.
What I do to get what I want is install the os, and export it. Then I import it and use that one to build off of.
When I get it to a state I like I export that one and then import it and use it to build (fork) from. A lot more reliable and simply works!

Re: Cloning disk with snapshots

Posted: 27. Jul 2009, 15:47
by vbox4me2
As a workaround you could copy everything somewhere save, revert all snapshots into one, copy resulting vdi and put your backup with snapshots back. (don't forget all the xml files)