IP Library Granted Patent US 8,495,316
Granted Patent B2
US 8,495,316 · App. 12/197,672 · Granted Jul 23, 2013

Efficient management of archival images of virtual machines having incremental snapshots

Inventors: Kuldeep S. Nagarkar (Pune, IN); Timothy M. Naftel (Longmont, CO)
Assignee: Symantec Operating Corporation
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 8,495,316
App. No.
12/197,672
Filed
Aug 25, 2008
Granted
Jul 23, 2013
Kind
B2
Art Unit
2189
USPC
711/162
Abstract

In one embodiment, a backup application is disclosed which is configured to detect that one or more incremental virtual disk files are provided in a virtual machine image. The backup application may invoke a merge function in the virtual machine monitor, and may merge the incremental virtual disk files into the base virtual disk file. Redundant data is thus eliminated, and may reduce the amount of archive media needed to store the backed-up virtual machine image.

Claims (28)

1. A method comprising:

requesting one or more snapshots of a virtual machine according to a recovery point objective of the virtual machine, wherein a virtual machine monitor that controls the virtual machine responds to a request for snapshot by creating an incremental virtual disk file and directing subsequent disk write operations in the virtual machine to the incremental virtual disk file and by freezing a state of a previous virtual disk file, wherein the previous virtual disk file is either a base virtual disk file or another incremental virtual disk file, and wherein subsequent disk read operations in the virtual machine obtain data from a combination of the base virtual disk file and one or more incremental virtual disk files, and wherein the base virtual disk file and incremental virtual disk files remain on a storage device used by the virtual machine during operation and are used by the virtual machine during subsequent operation;

to perform a backup of the virtual disk for the virtual machine, determining that the virtual disk is represented by the base virtual disk file and the one or more incremental virtual disk files;

during the backup, invoking a merge operation to merge the one or more incremental virtual disk files into the base virtual disk file responsive to the determining, wherein the merge operation is performed from the one or more incremental virtual disk files on the storage device used by the virtual machine during execution and the base virtual disk file on the storage device used by the virtual machine during execution; and

completing the backup by writing a backup image comprising the merged base virtual disk file to one or more archive media that are not used by the virtual machine during operation.

2. The method as recited in claim 1 further comprising requesting that the virtual machine be suspended prior to the determining, wherein the suspended virtual machine is represented by a virtual machine image written to a storage.

3. The method as recited in claim 2 wherein the base virtual disk file and the one or more incremental virtual disk files are part of the image, and wherein the image further comprises other virtual machine state, and wherein the backup image further comprises the other virtual machine state.

4. The method as recited in claim 1 wherein requesting the snapshot comprises requesting a volume shadow copy service portable snapshot.

5. The method as recited in claim 1 wherein the virtual machine executes on a first computer system, and wherein the determining, the invoking, and the writing are performed on the first computer system.

6. The method as recited in claim 1 wherein the virtual machine executes on a first computer system, and wherein the determining, the invoking, and the writing are performed on a second computer system coupled to the first computer system.

7. The method as recited in claim 1 further comprising, subsequent to the backup, using the one or more incremental virtual disk files and the base virtual disk file during execution of the virtual machine.

8. A non-transitory computer accessible storage medium storing a plurality of instructions which, when executed:

request one or more snapshots of a virtual machine according to a recovery point objective of the virtual machine, wherein a virtual machine monitor that controls the virtual machine responds to a request for snapshot by creating an incremental virtual disk file and directing subsequent disk write operations in the virtual machine to the incremental virtual disk file and by freezing a state of a previous virtual disk file, wherein the previous virtual disk file is either a base virtual disk file or another incremental virtual disk file, and wherein subsequent disk read operations in the virtual machine obtain data from a combination of the base virtual disk file and one or more incremental virtual disk files, and wherein the base virtual disk file and incremental virtual disk files remain on a storage device used by the virtual machine during operation and are used by the virtual machine during subsequent operation;

to perform a backup of the virtual disk for the virtual machine, the plurality of instructions, when executed, determine that the virtual disk is represented by the base virtual disk file and the one or more incremental virtual disk files;

during the backup, the plurality of instructions invoke a merge operation to merge the one or more incremental virtual disk files into the base virtual disk file responsive to the determining, wherein the merge operation is performed from the one or more incremental virtual disk files on the storage device used by the virtual machine during execution and the base virtual disk file on the storage device used by the virtual machine during execution; and

the plurality of instructions complete the backup by writing a backup image comprising the merged base virtual disk file to one or more archive media that are not used by the virtual machine during operation.

9. The non-transitory computer accessible storage medium as recited in claim 8 wherein the plurality of instructions, when executed, request that the virtual machine be suspended prior to the determining, wherein the suspended virtual machine is represented by a virtual machine image written to a storage.

10. The non-transitory computer accessible storage medium as recited in claim 9 wherein the base virtual disk file and the one or more incremental virtual disk files are part of the image, and wherein the image further comprises other virtual machine state, and wherein the backup image further comprises the other virtual machine state.

11. The non-transitory computer accessible storage medium as recited in claim 8 wherein the snapshot is a volume shadow copy service portable snapshot.

12. The non-transitory computer accessible storage medium as recited in claim 8 wherein the virtual machine executes on a first computer system, and wherein the plurality of instructions also execute on the first computer system.

13. The non-transitory computer accessible storage medium as recited in claim 8 wherein the virtual machine executes on a first computer system, and wherein the plurality of instructions execute on a second computer system coupled to the first computer system.

14. The non-transitory computer accessible storage medium as recited in claim 8 wherein the virtual machine, during execution, uses the one or more incremental virtual disk files and the base virtual disk file subsequent to the backup.

15. A computer system comprising:

hardware configured to execute instructions; and

a storage device coupled to the hardware, the storage device storing a virtual machine monitor executable by the hardware and a virtual machine schedulable by the virtual machine monitor to execute on the hardware, wherein the virtual machine comprises at least one virtual disk accessed by software encapsulated in the virtual machine, wherein the storage device further stores a backup application which, when executed, requests one or more snapshots of a virtual machine according to a recovery point objective of the virtual machine, wherein the virtual machine monitor responds to a request for snapshot by creating an incremental virtual disk file and directing subsequent disk write operations in the virtual machine to the incremental virtual disk file and by freezing a state of a previous virtual disk file, wherein the previous virtual disk file is either a base virtual disk file or another incremental virtual disk file, and wherein subsequent disk read operations in the virtual machine obtain data from a combination of the base virtual disk file and one or more incremental virtual disk files, and wherein the base virtual disk file and incremental virtual disk files remain on the storage device and are used by the virtual machine during subsequent operation, and to perform a backup of the virtual disk for the virtual machine, the backup application determines that the virtual disk is represented by the base virtual disk file and the one or more incremental virtual disk files, and wherein the backup application, when executed during the backup, invokes a merge operation to merge the one or more incremental virtual disk files into the base virtual disk file, wherein the merge operation is performed from the one or more incremental virtual disk files on the storage device used by the virtual machine during execution and the base virtual disk file on the storage device used by the virtual machine during execution, and wherein the backup application completes the backup by writing a backup image comprising the merged base virtual disk file to one or more archive media.

16. The computer system as recited in claim 15 wherein the backup application executes on the computer system.

17. The computer system as recited in claim 15 wherein the backup application executes on a second computer system coupled to the computer system.

18. The computer system as recited in claim 15 wherein the virtual machine, during execution, uses the one or more incremental virtual disk files and the base virtual disk file subsequent to the backup.

Assignments (13)
AMENDMENT NO. 1 TO PATENT SECURITY AGREEMENT Recorded Apr 8, 2025
From: VERITAS TECHNOLOGIES LLC; COHESITY, INC.
To: JPMORGAN CHASE BANK, N.A.
Reel/Frame 070779/0001 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Feb 26, 2025
From: VERITAS TECHNOLOGIES LLC
To: COHESITY, INC.
Reel/Frame 070335/0013 →
RELEASE OF SECURITY INTEREST Recorded Dec 16, 2024
From: ACQUIOM AGENCY SERVICES LLC, AS COLLATERAL AGENT
To: VERITAS TECHNOLOGIES LLC (F/K/A VERITAS US IP HOLDINGS LLC)
Reel/Frame 069712/0090 →
RELEASE OF SECURITY INTEREST Recorded Dec 13, 2024
From: WILMINGTON TRUST, NATIONAL ASSOCIATION, AS NOTES COLLATERAL AGENT
To: VERITAS TECHNOLOGIES LLC
Reel/Frame 069634/0584 →
SECURITY INTEREST Recorded Dec 9, 2024
From: VERITAS TECHNOLOGIES LLC; COHESITY, INC.
To: JPMORGAN CHASE BANK. N.A.
Reel/Frame 069890/0001 →
ASSIGNMENT OF SECURITY INTEREST IN PATENT COLLATERAL Recorded Nov 25, 2024
From: BANK OF AMERICA, N.A., AS ASSIGNOR
To: ACQUIOM AGENCY SERVICES LLC, AS ASSIGNEE
Reel/Frame 069440/0084 →
TERMINATION AND RELEASE OF SECURITY IN PATENTS AT R/F 037891/0726 Recorded Nov 30, 2020
From: WILMINGTON TRUST, NATIONAL ASSOCIATION, AS COLLATERAL AGENT
To: VERITAS US IP HOLDINGS, LLC
Reel/Frame 054535/0814 →
SECURITY INTEREST Recorded Aug 20, 2020
From: VERITAS TECHNOLOGIES LLC
To: WILMINGTON TRUST, NATIONAL ASSOCIATION, AS NOTES COLLATERAL AGENT
Reel/Frame 054370/0134 →
MERGER AND CHANGE OF NAME Recorded Apr 18, 2016
From: VERITAS US IP HOLDINGS LLC; VERITAS TECHNOLOGIES LLC
To: VERITAS TECHNOLOGIES LLC
Reel/Frame 038455/0752 →
SECURITY INTEREST Recorded Feb 23, 2016
From: VERITAS US IP HOLDINGS LLC
To: WILMINGTON TRUST, NATIONAL ASSOCIATION, AS COLLATERAL AGENT
Reel/Frame 037891/0726 →
SECURITY INTEREST Recorded Feb 23, 2016
From: VERITAS US IP HOLDINGS LLC
To: BANK OF AMERICA, N.A., AS COLLATERAL AGENT
Reel/Frame 037891/0001 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Feb 4, 2016
From: SYMANTEC CORPORATION
To: VERITAS US IP HOLDINGS LLC
Reel/Frame 037697/0412 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 25, 2008
From: NAGARKAR, KULDEEP S.; NAFTEL, TIMOTHY M
To: SYMANTEC OPERATING CORPORATION
Reel/Frame 021436/0326 →
Continuity (1)
Related Publication 20100049929A1 · Feb 25, 2010