Virtual backup and restore of virtual machines
AssigneeEMC IP Holding Company LLC
InventorsMin-Chih L. Earl, Brian J. Bishop, Matthew D. Buchman, Mohammed A. Akanda, Jerzy Gruszka
Life of this patent
Estimating the term…
Abstract
Systems and methods for backing up and restoring virtual machines in a cluster environment. An instrumentation interface enables configuration data to be stored with save sets during backup and enables the configuration of the destination to be adjusted based on the stored configuration during a restore.
Claims17
A method for restoring a virtual machine from a save set to a restore destination, the method comprising:
- generating a command to restore a virtual machine from a save set, wherein the save set includes an instance of virtual hard drives and configuration information, wherein the configuration information was generated during a backup operation using an export mechanism associated with exporting virtual machines without exporting the virtual machine being backed up, the configuration information comprising root directory location data detailing a location of root directories of the virtual machine files associated with the virtual hard drives;
- mounting the save set generated using the export mechanism, including the instance of the virtual hard drive and the configuration information, to the restore destination;
- using the configuration information, locating the virtual hard drive and associated virtual machine files;
- invoking an instrumentation interface of an operation system of the restore destination to obtain destination configuration information from the restore destination that is comparable to the configuration information generated by the export mechanism for the virtual machine being restored without importing a virtual machine;
- comparing the configuration information included in the save set with the destination configuration information to identify differences;
- adjusting the configuration information included in the save set based on the differences to ensure that the virtual machine is compatible with the restore destination;
- and
- restoring the save set by initiating an importing operation associated with the instrumentation interface of the operation system of the restore destination to import the virtual machine copied to the restore destination to a directory of the restore destination directory using the adjusted configuration information.
A method for performing a redirected restore of a virtual machine in a cluster environment to a restore destination, the method comprising:
- a backup server identifying a save set corresponding to a virtual machine for restoration on a node in the cluster, the restore destination including the node, the node including a computing device having a hypervisor operating thereon, wherein the save set includes an instance of virtual hard drives and configuration information that was generated during a backup operation using an export mechanism associated with exporting virtual machines without exporting the virtual machine being backed up, the configuration information comprising root directory location data detailing a location of root directories of the virtual machine files associated with the virtual hard drives;
- mounting the save set generated using the export mechanism, including the instance of the virtual hard drives and the configuration information, to the restore destination;
- locating a directory of virtual hard disks associated with the virtual machine and a directory of snapshots associated with the virtual machine in the mounted save set;
- collecting configuration information associated with the restore destination of the save set that is comparable to the configuration information generated by the export mechanism using an instrumentation interface without importing a virtual machine;
- comparing the configuration information associated with the restore destination with configuration information included in the save set to identify differences;
- adjusting the configuration information included in the save set based on the differences to ensure that the virtual machine being restored is compatible with the restore destination;
- and
- restoring the virtual machine by initiating an importing operation associated with an instrumentation interface of an operating system of the restore destination to import the virtual machine mounted to the restore destination to a directory of the restore destination using an import/export mechanism using the virtual machine using the adjusted configuration information.
A non-transitory computer readable medium comprising computer executable instructions that, when executed by a processor, perform operations comprising:
- a backup server identifying a save set corresponding to a virtual machine for restoration on a node in the cluster, the node including a computing device having a hypervisor operating thereon, wherein the save set includes an instance of virtual hard drives and the configuration information that was generated during a backup operation using an export mechanism associated with exporting virtual machines without exporting the virtual machine being backed up, the configuration information comprising root directory location data detailing a location of root directories of the virtual machine files associated with the virtual hard drives;
- mounting the save set generated using the export mechanism, including the instance of the virtual hard drives and the configuration information, to the restore destination of the computing device;
- locating a directory of virtual hard disks associated with the virtual machine and a directory of snapshots associated with the virtual machine in the mounted save set;
- collecting configuration information associated with the restore destination of the save set that is comparable to the configuration information generated by the export mechanism using an instrumentation interface without importing a virtual machine;
- comparing the configuration information associated with the restore destination with configuration information included in the save set to identify differences;
- adjusting the configuration information included in the save set based on the differences to ensure that the virtual machine being restored is compatible with the restore destination;
- and
- restoring the virtual machine by initiating an importing operation associated with an instrumentation interface of an operating system of the restore destination of the computing device to import the virtual machine mounted to the restore destination to a directory of the restore destination using an import/export mechanism using the virtual machine using the adjusted configuration information.
Dependencies are inferred from the claim text.