Backing up the entire VM is an important measure to ensure the VM data security. In this article I will introduce the basic knowledge and 3 ways to safely backup VMware ESXi virtual machines.
VMware ESXi, the core of VMware vSphere enterprise virtualization suite, formerly called ESX until version 4.1, is a bare-metal hypervisor installed directly onto physical server, providing direct access and control of the underlying resources. It allows you to create and run multiple virtual machines using a single physical host.
As with other data types, virtual machine backup is an important protection measure to ensure you recover important data in time and keep business continuity. But backup VMware ESXi is different from backing up normal files in terms of concept and methodology.
In this article, I will briefly introduce the basic knowledge and offer 3 free VMware ESXi backup solutions for you.
In general, there are 2 main types of virtual machine backups:
Image-based backup that contains the operating system, configuration files, and all data on the disk.
File-based backup that backing up the VM as a physical machine by installing an agent on the guest machine.
✎File-based backup do not include the virtualized environment, so the best way to backup VMware ESXi virtual machines entirely is still image-based backups. It allows you to restore entire VM, which is especially convenient when you have multiple VMs to protect.
In this post I will mainly introduces image-based backup methods. If you want to perform file-based VM backup and customize what to backup (files/folders/partitions/OS), you can turn to file-based backup.
There are some options to backup VMware ESXi free using built-in features. But unfortunately, all of them need to be operated manually, and can only back up one single VM at a time. It’s inconvenient for enterprises that manage a large number of VMs.
Therefore, I'd like to introduce an easy way to automatically backup multiple virtual machines at once, which builds a robust backup and recovery plan in your VMware vSphere environment.
Here I will use the free ESXi backup software - AOMEI Cyber Backup, it facilitates VMware ESXi backup and restore, and offers you the following benefits:
✦ Centralized Backup: With 3 easy steps you can create a backup task for multiple VMs without installing agent on each of them. ✦ Support Free ESXi: support both paid and free versions of VMware ESXi. ✦ Automation: Run unattended backup tasks daily, weekly, or monthly automatically and notify by email. ✦ Restore from Any Point: Restore entire VM from any selected history version quickly and easily. ✦ Role Assignment: Allows one administrator to create sub-accounts with limited privileges, effectively reduced administration costs and manual errors.
In the next part I will demonstrate how to backup multiple VMware ESXi VMs for free in 3 easy steps. You can click the button below to download the free backup software for VMware ESXi VMs, and get the exclusive upgrade discount:
*You can choose to install this VM backup software on either Windows or Linux system.
1. Bind Devices: Access to AOMEI Cyber Backup web client, navigate to Source Device > VMware > + Add VMware Device to add vCenter or Standalone ESXi host as the source device. And then click … > Bind Device.
2. Create Backup Task: Navigate to Backup Task > + Create New Task, and then set Task Name, Backup Type, Device, Target, Schedule, and Cleanup.
3. Run Backup: Click Start Backup and select Add the schedule and start backup now, or Add the schedule only.
Created backup tasks will be listed and monitored separately, for progress checking and schedule changing.
✎While the Free Edition covers most of VM backup needs, you can also upgrade to enjoy: Batch VM Backup: batch backup large numbers of VMs managed by vCenter Server or on standalone ESXi hosts. Backup cleanup: Configure a retention policy to auto delete old backup files and save storage space. Restore to new location: Create a new VM in the same or another datastore/host directly from the backup, saves the trouble of re-configuring the new VM.
How can vSphere backup virtual machine if you only have a standalone ESXi host without vCenter Server? In this section, I will introduce 2 ways for vSphere backup VM using built-in features.
● Manually download VM files: VMware ESXi Web Client allows you to download all the VM files, including VMDK virtual disk file and VMX configuration file from datastore. When restoring, you can then upload these files and register a new VM, on original or another host.
● Export VM to OVF template: Open Virtualization Format (OVF) is a file format that supports exchange of virtual appliances across products and platforms. Since OVF files are compressed, you can achieve faster downloads.
✎Both of them are actually not conventional backup methods. For long-term data protection, it is still recommended to use VMware backup solution.
1. Access ESXi Web Client, commit all snapshots and power off the virtual machine you want to back up.
2. Turn to Storage page, click Datastore browser on toolbar.
3. Go to the folder of the virtual machine you want to back up, and then click Download on toolbar to download them separately to local.
4. Close Datastore browser window, and you can see the progress in Recent tasks.
1. Access ESXi Web Client, commit all snapshots and power off the virtual machine you want to back up.
2. Turn to Virtual Machines page, right-click the virtual machine you want to back up and select Export. Click OK in the pop-up window.
3. Select Save File option twice to download the .ovf file and .vmdk file. Click OK to close the window. You can see the progress in Recent tasks.
When it’s done, you can click download button on toolbar to find where these files are stored.
Tip: You can also use VMware OVF Tool to export your VMware ESXi VMs. To save local storage and add an extra layer of data protection, it is also a good idea to backup VMware to an external hard drive or flash drive.
VM snapshots can quickly roll back VM to the point in time when the snapshot was taken, which is also useful as a data protection measure before performing dangerous tests. However, VM snapshots cannot replace backups, and using only snapshots instead of backups can be very dangerous. Compare VM snapshot vs backup, there are 2 main differences:
Therefore, it is recommended that VM snapshots be used as a short-term, temporary rollback measure before unsafe operations, keeping only 2-3 snapshots in the chain for no more than 72 hours each. Virtual machine backups, on the other hand, can be used as long-term, stable virtual machine protection for disaster recovery.
When it comes to VMware ESXi VM backup, except for the VM itself, there is also another common user concern: do you need to backup VMware ESXi host configuration?
Actually, backing up your VMware ESXi host configuration is not necessary. Because redeploying a host is not difficult, and many system deployment tools available for businesses will make the process even faster and easier.
Therefore, in this article I will only introduce ways to backup VMware ESXi virtual machines, if you want to back up host configuration, you can refer to this article: How to back up ESXi host configuration
Regular ESXi backups can effectively protect your data from loss. In this article, I briefly introduced 2 ways to back up VMware ESXi VM using built-in features.
However, they can only be performed manually and can only backup one VM at a time. If you want an auto VMware ESXi backup software, AOMEI Cyber Backup can protect your ESXi data continuously in vSphere environment.