This article discusses best practices when backing up hypervisors and the virtual machines contained within.
- Datto SIRIS
- Datto ALTO
- Microsoft Hyper-V
- VMware vSphere
A hypervisor is a host for virtual machines. Hypervisors can hold as many virtual machines as resources on the physical device allow. The hypervisor keeps the data for the virtual machines in a datastore.
Examples of Hypervisors:
- VMware; vSphere; ESXi
- Microsoft Hyper-V
- Citrix Hypervisor (XenServer)
- Oracle VirtualBox
Hypervisors act as a software front end for the management of multiple virtual machines that all reside on the same physical device.
Virtual machines (VMs) are the servers that are housed within the hypervisor and run as independent servers with resources. They pool their resources from the same physical machine.
In the above example, since you have five servers and a hypervisor, you are in control of six different servers.
Disks formatted for a hypervisor have two separate partitions. One partition holds the information about your hypervisor and the hypervisor 'operating system.' The other partition handles your datastore, which is where the virtual machines reside.
- A hypervisor's operating system resides on C:
- The information about the virtual machines (the datastore) resides on D: or any other volume.
Best practice recommendations
If you are not using agentless backups, Datto recommends that you install the backup agent software on the hypervisor and exclude the data volume (back up C: and exclude the D: partition). You can then add the agent software on each of the virtual machines that reside on the datastore so you can back them up individually. The benefits of this setup are as follows:
- This kind of installation gives you the greatest control over your machines.
- If your hypervisor becomes corrupted, you can restore information regarding the operating system drive.
- If one machine becomes corrupted, you can export and restore the information on that single virtual machine.
- If the entire datastore becomes corrupted, you can restore servers one at a time.
- If you need to migrate other machines to other hypervisors or physical machines, you'll have the granularity and flexibility to restore those machines.