By Alison / Last Updated May 7, 2022

Can you clone VM from snapshot?

 

Case: Is there an easy way to create a new VM from an existing snapshot in VMware ESXi?

Someone needs a new VM created from an existing VM, but from one of its snapshots. Is this easily obtainable? If so, can someone provide instructions? Thank you

- Question from Spiceworks.com

Virtual machine (VM) snapshot preserves the VM’s state and data at a specific point in time. When you perform complex tests in a VM, you can take snapshots before data has been change. Snapshots can roll back the VM to the previous point if task fails, so it can protect your data security.

Some user may ask “How can I use a snapshot to create a virtual machine for testing purposes?”

Generally, you can select to clone VM from VMware snapshots with built-in feature in VMware Workstation. But for VMware ESXi, unfortunately, there is no direct way to clone VM from snapshots.

If you want to achieve the purpose of cloning a virtual machine from a snapshot on ESXi, you can refer to the two methods mentioned in this article.

VMware ESXi logo

Specific steps of cloning VM from snapshot on VMware ESXi

The purpose of cloning VM from snapshot is to get a new VM in a specific state when the snapshot was taken. To achieve this on VMware ESXi, with built-in feature, you can copy the VM folders including snapshot files to create an identical VM.

Another efficient and convenient way is to use a professional backup software, thus you can perform regular backups and use them to create virtual machines at the given point.

Copy VM folders to create a same VM with snapshots

This part will introduce the detailed steps of VMware restore snapshot to new VM on VMware ESXi 6.5 as demonstration.

1. Access to vSphere Web Client. Navigate to Storage in the left inventory, and click Datastore Browser on the toolbar.

Open Datastore browser

2. To differ from the original VM, Click Create directory in Datastore browser, and provide a different Directory name for the new VM. Click Create Directory to confirm.

Create directory

3. Back to the Datastore browser, find the folder of the original VM and click Copy on the toolbar to copy all files in it to the new folder you just created.

Copy VM files

4. Close Datastore browser, and click Virtual Machines in the left inventory. Click Create/Register VM on toolbar to open the wizard.

Create/Register VM

5. On Select creation type page, select Register an existing virtual machine and click Next.

Register an existing virtual machine

6. On Select VMs for registration page, click Select one or more virtual machines, a datastore or a directory, and select the newly created folder. Click Next.

Select VMs for registration

7. On Ready to complete page, click Finish to close the wizard.

8. Back to Virtual Machines, now you can see the newly copied VM with the same name as the original VM, that’s because the name comes from the .vmx file in folder. You can right-click on the VM name and Rename it.

Rename VM

9. Power on the new VM you just copied, select I copied it and click Answer in the pop-up window.

10. Right-click on the new VM name and select Snapshot > Manage Snapshots.

Manage Snapshots

11. In pop-up Snapshot Manager, select the target snapshot and click Restore snapshot on the toolbar. Then you will get a new VM at the specific point in time when the snapshot was taken.

Restore snapshot

Best practice to achieve ESXi clone from backup

To keep a VM at a specific point, it is more convenient to use backup to achieve it. Copying VM folders and register a new VM seems to be complicated and low-efficient. So, using a professional software is necessary to achieve automatic backup and fast recovery to another host.

In this part, I will use a software named AOMEI Cyber Backup to perform ESXi backup. It allows you to schedule backup tasks so as to provides regular recovery points which can be used to create a new VM of a certain point.

✓Schedule backup task: You can schedule backups to perform backup task automatically. So you can easily use a backup at specific point to create a VM conveniently.

✓Secure & fast backup and recovery: It protects data security and allows you to back up or restore VM in a flash.

✓Restore to new host: You are able to restore the backup to original or new virtual environment easily.

✓Backup multiple VMs: You can back up multiple virtual machines simultaneously in the same task.

Download Free TrialVMware ESXi 6.0 & later versions
Secure Download

Easier steps to backup and restore ESXi VM:

1. Download AOMEI Cyber Bakcup and add devices to it.

Add VMware ESXi host

2. Click Backup Task >> Create New Task to start configuring backup task.

Enter task name >> Choose VMware ESXi >> Add VMs in the task >> Schedule backup task >> Set retention policies.

backup virtual machine

3. Click Start Backup.

4. Click Restore and select restore to original / new location.  It allows you to restore virtual mchines to a new virtual environment easily.

restore virtual machine

Summary

Unlike VMware Workstation, VMware ESXi does not provide any built-in feature to clone VM from snapshot. So, I introduced how to copy all the VM files and restore snapshots to a new VM that helps to clone VM indirectly from snapshot in this article. Whether you choose to copy files manually or choose convenient third-party software, I hope you can find a suitable solution.