How to Safely Backup VMware ESXi Virtual Machines [3 Ways]

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.

Crystal

By Crystal / Updated on March 8, 2023

Share this: instagram reddit

VMware ESXi VM Backup Overview

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.

Backup options for VMware ESXi

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.

 

VMware ESXi logo

One agentless solution to auto backup VMware ESXi VMs

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:

Download FreewareVMware ESXi & Hyper-V
Secure Download

*You can choose to install this VM backup software on either Windows or Linux system.

How to backup VMware ESXi virtual machines (3 steps)

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.

Add VMware ESXi host

2. Create Backup Task: Navigate to Backup Task > + Create New Task, and then set Task Name, Backup Type, Device, Target, Schedule, and Cleanup.

VMware ESXi backup

  • Device: You can cover multiple VMs on the host within one backup task.
  • Target: You can select to back up to a local path, or to a network path. Used paths will be saved in Favorite Storage for handy selection.
  • Schedule: You can choose to perform full, differential or incremental backup, and automate execution daily, weekly or monthly according to the frequency you specified.

Schedule type

3. Run Backup: Click Start Backup and select Add the schedule and start backup now, or Add the schedule only.

Start Backup

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.

Backup Cleanup

Two built-in features to backup VMware ESXi virtual machines

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.

Way 1. Manually download virtual machine disk files

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.

Datastore browser

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.

Download VM files

4. Close Datastore browser window, and you can see the progress in Recent tasks.

Way 2. Export the virtual machine as OVF template

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.

Select Export option

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.

Confirm download the OVF file

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.

Note: VM snapshots cannot replace backups

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:

  • Snapshots are dependent on the parent disk. If the parent disk is deleted, the snapshot itself is not sufficient for VM restore. But backups are independent of the original VM, are not affected, and can be stored offsite.
  • VM snapshots can affect VM performance. Incremental disk files can grow and take up a lot of space, keeping snapshots for long can affect VM performance. But VM backups can be stored safely for a long time without affecting VM performance.

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.

Do you need to back up VMware ESXi host?

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

Summary

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.

Crystal
Crystal · Editor
Crystal is an editor from AOMEI Technology. She mainly writes articles about virtual machine. She is a positive young lady likes to share articles with peolpe. Off work she loves travelling and cooking which is wonderful for life.