November 7, 2023

Mastering Backup and Restore in the vSphere Environment

In many ways, vSphere is integral to today’s IT landscape. vSphere, VMware’s advanced virtualization and cloud computing platform, is designed to create and efficiently manage virtualized data centers. Consider this: recent industry reports show that businesses that effectively use vSphere for backup and restore can reduce data loss incidents by up to 95%. As regulations become more stringent, understanding these basics becomes crucial. It allows businesses not only to comply with rules but also to thrive in an environment where data is fortified against all kinds of threats. In essence, mastering these vSphere concepts is the key to modern IT resilience, giving organizations the confidence to navigate the complexities of the digital age.


Understanding VADP: The Backbone of Backup


At the heart of the vSphere environment lies VADP, the VMware Advanced Data Protection protocol. VADP is a dedicated protocol for backing up and restoring virtual machines, ensuring the integrity of your data. It’s a feature available in all paid versions of vSphere, but if you’re using the free edition, you won’t have access to this critical protocol. Almost every backup software leverages VADP, making it an indispensable tool for data protection.


The Role of the vSphere Proxy


To execute backups efficiently, vSphere relies on a component known as the vSphere Proxy. This proxy can be deployed on either a virtual or physical machine, depending on your chosen backup software and method. Its primary function is to act as a data mover. When a backup operation is initiated, the vCenter creates a snapshot of the targeted VM, which is then attached to the proxy. The proxy reads the VM’s VMDK files and transfers their contents to the backup target. It’s essential to note that physical RDMS (Raw Device Mappings) are not supported in this configuration.


Modes of Backup


There are several methods for using the VADP protocol to perform backups:


SAN Mode: In this mode, a physical proxy is attached to the storage network, typically using Fiber Channel or iSCSI. Snapshots of VMDK files are mapped to the proxy through storage groups or initiator groups, depending on storage terms. This method offloads the virtual environment’s workload but is the most expensive as it requires a physical machine.


NBD Network Block Mode: Here, the ESXi host itself decodes and parses the snapshot, sending data over the LAN to the proxy. Ensure that port 902 is open from the proxy to the ESXi host to avoid firewall-related issues.


HotAdd Mode: A virtual machine, either a dedicated appliance or a Windows/Linux VM, acts as the proxy and performs the decoding and parsing of VMDK files. Snapshots are attached and detached from the proxy as needed, reducing resource consumption.


Raw Device Mapping Considerations


It’s crucial to handle Raw Device Mappings (RDMs) with care. RDMs in virtual compatibility mode can be backed up and restored as VMDK files, while those in physical compatibility mode won’t be backed up or restored, potentially leading to data corruption.


Backup of Center


Backing up the vCenter is vital for overall system resilience. You can approach this in two common ways:


Backup as a VM: Treat the vCenter as a regular virtual machine, using the VADP protocol for backup. During the restore process, direct the restoration to an ESXi host, as the vCenter won’t exist at that point.


Scheduled Configuration Export: Schedule regular backups within the vCenter’s management interface, specifying a retention period. During a restore, provide the path to the backup. It’s important to note that while you can back up to NFS or FTP, restoring from these locations requires the vCenter API.


Final Thoughts


Delving into the nuts and bolts of vSphere, especially when it comes to backup and restore concepts, is like equipping your organization with a digital shield and armor. It’s not just about data protection; it’s about ensuring your business can continue running smoothly in a fast-paced digital world. With this comprehensive overview, you’re on your way to navigating the intricacies of backup and restore in the vSphere environment. Remember that each backup software may have its unique approach, but the underlying principles discussed here remain consistent. Properly managing Raw Device Mappings and the vCenter backup process is key to maintaining data integrity and system stability. Happy virtualization!


Written by: Sagi Fishbain. Chief Engineer


If you still have questions, or would like to learn more about vSphere, reach out to us! Our VMware experts are here to help.

Data Center

Next Articles


23 May, 2024

TeraSky Lights Up Google Cloud Summit Tel Aviv 2024
Read Entry

22 May, 2024

Insights & Connections at NYC’s Cloud Native Conference
Read Entry

8 May, 2024

Purify Your Backup: Building a Fortress Against Ransomware
Read Entry
Skip to content