If you want to maintain your work continuity, instant VM recovery can be much helpful. In this article, I will introduce the easiest way to achieve instant VM recovery. That is, VM snapshot.
With the popularity of virtual machine (VM) in the area of development and testing, VM backup have become a critical daily task for timely disaster recovery. When it comes to backup, recovery speed is an important consideration, especially for enterprises.
So, is there any way to achieve instant VM recovery? The answer is YES. It is a paid feature widely provided by many third-party software. But if you want to reduce costs, there is actually a free built-in way to achieve instant VM recovery as well. That is, VM snapshot.
VM snapshots can achieve quick VM recovery because they do not back up the entire VM, but change the parent disk into read-only mode, and create delta disks to store all the changes made to the VM afterwards. By restoring VM from snapshots, you are just deleting the delta disks, discarding all changes made since the snapshots was created, and then bring the VM's original disk back to read-write state, instead of restore entire VM.
Improper usage of VM snapshot can lead to VM performance degradation, so it cannot replace backup. For more details you can refer to VM Snapshot vs. Backup.
In this article I will introduce how to use snapshots to perform instant VM recovery on VMware ESXi, Workstation, and Microsoft Hyper-V.
VMware ESXi is the most commonly used type 1 hypervisor that allows you to create and run VMs directly on bare metal. In this section, I will introduce the specific steps on how to achieve instant VM recovery using snapshots on VMware ESXi.
1. Access to ESXi Web Client, go to Virtual Machines page in the left inventory. Right-click on the name of the VM you want to backup, and select Snapshots > Take Snapshot.
2. In the pop-up window, provide a Name and optionally a Description for the snapshot. You can Edit them later in Snapshot Manager.
3. There are 2 more options to check:
4. Click OK to take the snapshot. You can see the progress in Recent Tasks.
1. Access to ESXi Web Client, and right-click on the VM name, select the option according to your needs:
β¦ If you want to revert to the latest snapshot: Select Revert to Latest Snapshot.
β¦ If you want to revert to another previous snapshot: Select Manage Snapshots… In the pop-up Snapshot Manager, select the snapshot and click Revert to.
2. It will pop up a Confirm window notifying the loss of the current state.
If it is a memory snapshot, there will be one more option to suspend this VM when reverting to selected snapshot. You need to manually power on the VM later if you check this option.
3. Click Yes to revert to the selected VM snapshot. In Snapshots Manager you can see the current state represented by You are here.
As one of VMware’s products, Workstation is the most popular type 2 hypervisor among end users. In this section, I will introduce the instant VM recovery steps on Workstation using snapshots.
1. Launch VMware Workstation, select the VM you want to backup, and click Snapshot button on the toolbar.
2. In the pop-up window, provide the Name and optionally a Description for this snapshot. Then click Take Snapshot.
1. Launch VMware Workstation, select the VM you want to revert.
2. If you want to revert to the latest snapshot: Click Revert button on the toolbar.
If you want to revert to another previous snapshot: Right-click on the VM name and select Snapshot > Snapshot Manager. Select the specific snapshot and click Go To.
3. Click Yes in the pop-up Confirm window.
Starting from Windows Server 2012 R2, Hyper-V checkpoint was renamed from snapshot. Functionally, Hyper-V checkpoint = snapshot.
In this section, I will introduce the specific steps on how to use Hyper-V checkpoints to achieve instant VM recovery.
1. Launch Hyper-V Manager. Right-click on the VM name and select Checkpoint.
2. Wait for the checkpoint creating progress. When it’s accomplished, the checkpoints will be intuitively listed in the Checkpoints window for further manage or restore.
1. Launch Hyper-V Manager, and select the VM you want to restore. Operations later will be different according to different needs.
2. If you want to apply the latest checkpoint: Right-click on the VM name and select Revert.
If you want to apply another previous checkpoint: Right-click the checkpoint in Checkpoints window below and select Apply.
3. In the pop-up window, there are 4 options:
While creating snapshots enables instant VM recovery, relying on snapshots is a dangerous operation. It can affect VM performance, and even lead to severe data loss. Therefore, creating independent VM backups is still essential, and cannot be easily replaced by snapshots.
Here I introduce you to a free instant recovery software -- AOMEI Cyber Backup. It allows you to centrally manage VMs, create backup schedules and perform instant recovery.
Click the following button to download the freeware.
*You can choose to install this VM backup software on either Windows or Linux system.
* Note: The instant restore feature is applicable to backup points of ESXi virtual machines. AOMEI Cyber Backup must be installed on Windows Server 2012 or higher versions of the operating system. The backup points of the virtual machine must be stored on the local disk.
Step 1. Create VMware ESXi VMs Backup and then start VM instant recovery.
Step 2. Create New Instant Recovery as following:
β Click "Task" > "Instant Recovery" > "New Instant Recovery". Here we take "Restore from task" for an example.
β Select Source and choose the virtual machine and backup version.
β Select the device to be restored to in "Restore to". Choose the target device.
β Set the hardware settings for the new virtual machine, such as CPU quantity, CPU Cores and memory size.
β Enter a name for the new virtual machine.
β Click "Start Restore" to start the instant restore.
After creating vm instant recovery, click Start Migration on details page to return backup to production environment.
To maintain the work continuity, quick VM recovery speed and less downtime are commonly considered by enterprises.
VM snapshot is the easiest built-in way to achieve instant VM recovery, and a convenient failsafe measure. But relying on snapshots is still dangerous and may result in data loss. Therefore to avoid this situation, it is better to create independent VM backups.
In this article, I recommended AOMEI Cyber Backup. It allows you to auto back up multiple VMs on a VMware or Hyper-V host with simple steps, safeguards your VM data and promotes efficiency.