Backup time deduplication of common virtual disks from virtual machine backup images
First Claim
1. A method comprising:
- receiving a request to perform a backup operation to backup a first virtual machine;
performing the backup operation, in response to the receiving the request, wherein the performing the backup operation comprises;
determining a first identifier of a first virtual disk, whereinthe first virtual disk is associated with the first virtual machine;
determining whether the first identifier is included in a plurality of identifiers by comparing the first identifier to the plurality of identifiers,in response to a determination that the first identifier is included in the plurality of identifiers, determining that a first backup copy of the first virtual disk is already stored in a backup storage, whereinthe first virtual disk is a common virtual disk, andthe first virtual disk is shared by the first virtual machine and at least a second virtual machine to store common configuration data used by both the first virtual machine and the second virtual machineupdating a backup catalog to include a reference to the first backup copy of the first virtual disk already stored in the backup storage instead of creating another copy of the first virtual disk in the backup storage, whereinthe reference indicates a location of the first backup copy in the backup storage, andthe reference associates the first virtual machine and the second virtual machine with the first virtual disk;
receiving another request to restore the first virtual machine from a backup image;
detecting that the first virtual disk is the common virtual disk, in response to the reference being associated with a second virtual machine;
detecting that a pointer to the common virtual disk has been modified subsequent to performance of the backup operation, whereina user has specified that restoration of the first virtual machine should not overwrite any common virtual disks; and
displaying a message to the user, indicating that the pointer has been modified subsequent to the performance of the backup operation.
7 Assignments
0 Petitions
Accused Products
Abstract
Various techniques deduplicate common virtual disks during backups of virtual machines. For example, one method involves receiving a request to perform a backup operation to backup one or more virtual machine and then performing the backup operation in response to receiving the request. Performing the backup operation involves detecting whether a virtual disk associated with a virtual machine is already identified in a backup catalog for the backup operation, based upon a globally unique identifier associated with the virtual disk, and selecting to create a reference to a backup copy of the virtual disk instead of creating another copy of the virtual disk, if the backup catalog already identifies the virtual disk. Performing the backup operation can also involve accessing information identifying a hierarchy of virtual disks.
-
Citations
21 Claims
-
1. A method comprising:
-
receiving a request to perform a backup operation to backup a first virtual machine; performing the backup operation, in response to the receiving the request, wherein the performing the backup operation comprises; determining a first identifier of a first virtual disk, wherein the first virtual disk is associated with the first virtual machine; determining whether the first identifier is included in a plurality of identifiers by comparing the first identifier to the plurality of identifiers, in response to a determination that the first identifier is included in the plurality of identifiers, determining that a first backup copy of the first virtual disk is already stored in a backup storage, wherein the first virtual disk is a common virtual disk, and the first virtual disk is shared by the first virtual machine and at least a second virtual machine to store common configuration data used by both the first virtual machine and the second virtual machine updating a backup catalog to include a reference to the first backup copy of the first virtual disk already stored in the backup storage instead of creating another copy of the first virtual disk in the backup storage, wherein the reference indicates a location of the first backup copy in the backup storage, and the reference associates the first virtual machine and the second virtual machine with the first virtual disk; receiving another request to restore the first virtual machine from a backup image; detecting that the first virtual disk is the common virtual disk, in response to the reference being associated with a second virtual machine; detecting that a pointer to the common virtual disk has been modified subsequent to performance of the backup operation, wherein a user has specified that restoration of the first virtual machine should not overwrite any common virtual disks; and displaying a message to the user, indicating that the pointer has been modified subsequent to the performance of the backup operation. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A system comprising:
-
one or more processors; and a memory coupled to the one or more processors, wherein the memory stores program instructions executable to; receive a request to perform a backup operation to backup a first virtual machine; perform the backup operation, in response to the receiving the request, wherein to perform the backup operation the program instructions are executable to; determine a first identifier of a first virtual disk, wherein the first virtual disk is associated with the first virtual machine; determine whether the first identifier is included in a plurality of identifiers by comparing the first identifier to the plurality of identifiers, determine that a first backup copy of the first virtual disk is already stored in a backup storage, in response to a determination that the first identifier is included in the plurality of identifiers, wherein the first virtual disk is a common virtual disk, and the first virtual disk is shared by the first virtual machine and at least a second virtual machine to store common configuration data used by both the first virtual machine and the second virtual machine, and update a backup catalog to include a reference to the first backup copy of the first virtual disk already stored in the backup storage instead of creating another copy of the first virtual disk in the backup storage, wherein the reference indicates a location of the first backup copy in the backup storage, and the reference associates the first virtual machine and the second virtual machine with the first virtual disk; receive another request to restore the first virtual machine from a backup image; detect that the first virtual disk is the common virtual disk, in response to the reference being associated with a second virtual machine; detect that a pointer to the common virtual disk has been modified subsequent to performance of the backup operation, wherein a user has specified that restoration of the first virtual machine should not overwrite any common virtual disks; and display a message to the user, indicating that the pointer has been modified subsequent to the performance of the backup operation. - View Dependent Claims (11, 12, 13, 14)
-
-
15. A non-transitory computer readable storage medium storing program instructions executable to:
-
receive a request to perform a backup operation to backup a first virtual machine; perform the backup operation, in response to the receiving the request, wherein to perform the backup operation the program instructions are executable to; determine a first identifier of a first virtual disk, wherein the first virtual disk is associated with the first virtual machine; determine whether the first identifier is included in a plurality of identifiers by comparing the first identifier to the plurality of identifiers determine that a first backup copy of the first virtual disk is already stored in a backup storage, in response to a determination that the first identifier is included in the plurality of identifiers, wherein the first virtual disk is a common virtual disk, and the first virtual disk is shared by the first virtual machine and at least a second virtual machine to store common configuration data used by both the first virtual machine and the second virtual machine, update a backup catalog to include a reference to the first backup copy of the first virtual disk already stored in the backup storage instead of creating another copy of the first virtual disk in the backup storage, wherein the reference indicates a location of the first backup copy in the backup storage, and the reference associates the first virtual machine and the second virtual machine with the first virtual disk; receive another request to restore the first virtual machine from a backup image; detect that the first virtual disk is the common virtual disk, in response to the reference being associated with a second virtual machine; detect that a pointer to the common virtual disk has been modified subsequent to performance of the backup operation, wherein a user has specified that restoration of the first virtual machine should not overwrite any common virtual disks; and display a message to the user, indicating that the pointer has been modified subsequent to the performance of the backup operation. - View Dependent Claims (16, 17, 18, 19, 20, 21)
-
Specification