VMware Cloud Community
arbware
Contributor
Contributor
Jump to solution

Can you create a VM from a snapshot?

I have a running VM that I am not able to shutdown, I would like to create a snapshot of this VM and bring it up on a test ESX host. I was thinking of taking a snapshot of the running VM that I can’t shutdown and then create the new VM from the snapshot, but I am not sure how to do this or if this is even possible. If this is possible what is the best way to go about doing this, if it is not possible is there any other way I can archive my goal of not having to shutdown my VM but still get a copy of it that I can get it running on a test EST hosts.

Tags (2)
Reply
0 Kudos
1 Solution

Accepted Solutions
Paul11
Hot Shot
Hot Shot
Jump to solution

You can also try to clone the VM. Online Cloning should work with vSphere. Good Luck.

Paul

View solution in original post

Reply
0 Kudos
6 Replies
vmroyale
Immortal
Immortal
Jump to solution

Hello.

is there any other way I can archive my goal of not having to shutdown my VM but still get a copy of it that I can get it running on a test EST hosts.

Try VMware Converter.

Good Luck!

Brian Atkinson | vExpert | VMTN Moderator | Author of "VCP5-DCV VMware Certified Professional-Data Center Virtualization on vSphere 5.5 Study Guide: VCP-550" | @vmroyale | http://vmroyale.com
Reply
0 Kudos
Paul11
Hot Shot
Hot Shot
Jump to solution

You can also try to clone the VM. Online Cloning should work with vSphere. Good Luck.

Paul

Reply
0 Kudos
marcosdarosa
Contributor
Contributor
Jump to solution

You can make a backup of virtual machines using VCB and after restoring it with another name on the server you want.

Att

Marcos da Rosa

Reply
0 Kudos
DSTAVERT
Immortal
Immortal
Jump to solution

I would agree with vmroyale. Unless you have vCenter Converter is the tool. Before you get yourself into trouble you should understand snapshots

-- David -- VMware Communities Moderator
Reply
0 Kudos
wila
Immortal
Immortal
Jump to solution

Hi,

You are correct in thinking that this is possible. Actually this is exactly how some backup products work.

When you take a snapshot, the original vmdk disk files are no longer opened in read/write mode, but only in read only mode, this makes it possible to copy them, even while they are in use.

The snapshot files - the vmdk files ending in "-0000001.vmdk" are Copy On Write files that only store the differences between the original disk file and the current state of the virtual machine.

So to answer your question, when you take a snapshot, you would copy everything except for the snapshot files and that will give you the exact VM from before the snapshot. Beware that the .vmx file -that makes up your virtual machine configuration- however is still pointing to the snapshot files, so you might want to take a copy of the vmx file before the snapshot or you will have to edit it to point to the correct files again.

Hope this helps,



--

Wil

_____________________________________________________

VI-Toolkit & scripts wiki at http://www.vi-toolkit.com

| Author of Vimalin. The virtual machine Backup app for VMware Fusion, VMware Workstation and Player |
| More info at vimalin.com | Twitter @wilva
PaulSvirin
Expert
Expert
Jump to solution

Have a look at this tip:

---

Paul Svirin

StarWind Software developer ( http://www.starwindsoftware.com )

--- iSCSI SAN software http://www.starwindsoftware.com