RDM Disks and Virtual BIOS
This section outlines low-level procedures for restoring raw device mapping (RDM) disks and NVRAM.
Restoring RDM Disks
Backing up and restoring RDM disks presents unusual challenges. The original backed-up RDM configuration might not apply, and is probably not appropriate, if users restore:
When performing a proxy backup of an RDM disk, you must present the same LUN ID to both the ESXi host and the proxy server. (This restriction does not apply to VMFS disk because the virtual disk library reads the VMFS header and matching UUID. But for RDM the host and proxy require the same LUN ID.)
Restoring RDM disks is appropriate if the original virtual machine’s VMX file and disk mapping is no longer available, but the LUN containing the RDM is still available. In this case, the RDM image on the LUN might still be valid, so it does not need to be restored. If this is true, do not make changes to the RDM configuration during your restore operations. Instead, complete the restore process in two phases:
Alternatively, it is possible to create a virtual machine that can host the RDM disk and access its contents. After you create the virtual machine, restore its virtual machine configuration (VMX) from backup, and then restore any selected disks.
Restoring the Virtual BIOS or UEFI
The .nvram file stores the BIOS or UEFI customizations of a virtual machine. Usually the only important items in this file are the boot drive setting and the boot order (in the case of multiple virtual disks).
Newer releases of vSphere can change the boot order using extended attribute settings, so boot order no longer must be stored in the .nvram file. However some users want to preserve a virtual machine’s serial port settings in the .nvram file, and possibly other items, so applications should back up and restore this information.
To back up and restore NVRAM
1
2
3
4
Overwrite the virtual machine’s .nvram file with the saved copy of the original .nvram file.
Important VMware now recommends saving the .nvram file as part of virtual machine backup, a change in recommendation since vSphere 4.1.