Systems and methods for performing backup operations of virtual machine files
First Claim
1. A method for performing one or more storage operations in a virtual computing environment, the method comprising:
- receiving a request to back up a virtual machine having a guest operating system and being associated with a host server, the virtual machine associated with a virtual machine disk file locked against access from outside the virtual machine, the virtual machine disk file stored in a datastore;
quiescing write requests and permitting read requests of the virtual machine disk file by one or more applications executing on the virtual machine;
unlocking the virtual machine disk file for read-only access by a backup process executing outside the guest operating system of the virtual machine;
unlocking the virtual machine disk file for read-write access by a hypervisor layer associated with the host server;
creating, via execution of the backup process, a backup copy of the virtual machine disk file without powering down the virtual machine, the backup copy of the virtual machine disk file being created from outside the guest operating system of the virtual machine;
determining whether the write requests of the one or more applications were successfully quiesced;
if the write requests were not successfully quiesced, aborting or restarting the backup process; and
if the write requests were successfully quiesced, locking the virtual machine disk file for normal access by the virtual machine.
24 Assignments
0 Petitions
Accused Products
Abstract
Backup systems and methods are disclosed for a virtual computing environment. Certain examples include a system having a backup management server that communicates with a host server having at least one virtual machine. The management server coordinates with the host server to perform backup copies of entire virtual machine disks from outside the guest operating system of the virtual machine. In certain examples, such backup systems further utilize a volume shadow copy service executing on the host server to quiesce virtual machine applications to put data in a consistent state to be backed up. The backup system then utilizes hypervisor snapshot capabilities of the host server to record intended changes to the virtual machine disk files while such files are being copied (e.g., backed up) by the host server. Such recorded changes can be later committed to the virtual machine disk files once the backup operation has completed.
180 Citations
20 Claims
-
1. A method for performing one or more storage operations in a virtual computing environment, the method comprising:
-
receiving a request to back up a virtual machine having a guest operating system and being associated with a host server, the virtual machine associated with a virtual machine disk file locked against access from outside the virtual machine, the virtual machine disk file stored in a datastore; quiescing write requests and permitting read requests of the virtual machine disk file by one or more applications executing on the virtual machine; unlocking the virtual machine disk file for read-only access by a backup process executing outside the guest operating system of the virtual machine; unlocking the virtual machine disk file for read-write access by a hypervisor layer associated with the host server; creating, via execution of the backup process, a backup copy of the virtual machine disk file without powering down the virtual machine, the backup copy of the virtual machine disk file being created from outside the guest operating system of the virtual machine; determining whether the write requests of the one or more applications were successfully quiesced; if the write requests were not successfully quiesced, aborting or restarting the backup process; and if the write requests were successfully quiesced, locking the virtual machine disk file for normal access by the virtual machine. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. Nontransitory computer storage comprising machine-executable instructions that when executed by a computing device cause the computing device to:
-
receive a request to back up a virtual machine having a guest operating system and being associated with a host server, the virtual machine associated with a virtual machine disk file locked against access from outside the virtual machine, the virtual machine disk file stored in a datastore; quiesce write requests and permit read requests of the virtual machine disk file by one or more applications executing on the virtual machine; unlock the virtual machine disk file for read-only access by a backup process executing outside the guest operating system of the virtual machine; unlock the virtual machine disk file for read-write access by a hypervisor layer associated with the host server; create a backup copy of the virtual machine disk file without powering down the virtual machine, the backup copy of the virtual machine disk file being created from outside the guest operating system of the virtual machine; determine whether the write requests of the one or more applications were successfully quiesced; if the write requests were not successfully quiesced, abort or restart the backup process; and if the write requests were successfully quiesced, lock the virtual machine disk file for normal access by the virtual machine. - View Dependent Claims (11, 12, 13, 14, 15, 16, 18, 19, 20)
-
-
17. A system for performing storage operations in a virtualized computing environment, the system comprising:
-
a host computer comprising a virtual machine having a guest operating system that accesses resources of the host computer through at least a hypervisor layer; a shadow copy module executing on the host computer, the shadow copy module being configured to quiesce write requests of one or more applications executing on the guest operating system of the virtual machine; and a management module in executing on or in communication with the host computer, the management module configured to, receive a request to perform a backup copy of one or more virtual disk files of the virtual machine, the one or more virtual disk files locked against access from outside the virtual machine; instruct the shadow copy module to quiesce the write requests of the one or more applications; instruct the shadow copy module to permit read requests of the one or more applications; instruct the host computer to unlock the one or more virtual disk files for read-only access by a backup process executing outside the guest operating system of the virtual machine; instruct the host computer to unlock the one or more virtual disk files for read-write access by the hypervisor layer of the host computer; instruct the host computer to execute the backup process to create a backup copy of the one or more virtual disk files; instruct the shadow copy module to determine whether the write requests of the one or more applications were successfully quiesced; if the write requests were not successfully quiesced, instruct the backup process to abort or restart; and if the write requests were successfully quiesced, instruct the host computer to lock the one or more virtual disk files for normal access by the virtual machine.
-
Specification