IP Library Granted Patent US 8,429,359
Granted Patent B1
US 8,429,359 · App. 11/026,656 · Granted Apr 23, 2013

Method and apparatus for dynamically backing up database files

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,429,359
App. No.
11/026,656
Granted
Apr 23, 2013
Kind
B1
Abstract

A method and apparatus for backing up a storage system, e.g., one or more disk drives. In one embodiment, an apparatus utilizes a volume snapshot service (VSS) to create a snapshot image file of a computer's storage system and then subsequently reads the data blocks contained in the snapshot image file. A determination of the number of modified data blocks, i.e., the data blocks that have changed since a last backup operation, is made. The apparatus estimates a backup size from the number of modified data blocks and subsequently determines if the estimated backup size exceeds a predetermined threshold. In the event the predetermined threshold is exceeded, a backup operation is conducted.

Claims (61)

1. A method for backing up a storage system storing a database, comprising:

utilizing a volume snapshot service (VSS) to create a snapshot image file of said storage system, wherein

said snapshot image file includes a copy of said database created without invoking database activity, and

said snapshot image file contains a SQL bitmap;

reading data blocks of said copy of said database in said snapshot image file;

ascertaining a number of modified data blocks, wherein

said modified data blocks are said data blocks that have changed since a last backup operation,

said ascertaining comprises contrasting said SQL bitmap to an original bitmap to determine said number of said modified data blocks, and

said original bitmap represents data blocks from said last backup operation;

estimating a backup size from said number of said modified data blocks;

determining if said backup size exceeds a predetermined threshold at or below which no backup operation is to be conducted; and

conducting a backup operation in the event said predetermined threshold has been exceeded.

2. The method of claim 1 , wherein said utilizing step can be executed according to a predetermined periodic schedule.

3. The method of claim 1 , wherein said estimating step further comprises:

obtaining a sum of said number of said modified data blocks; and

multiplying said sum by a conversion factor to calculate a corresponding amount of data size.

4. The method of claim 3 , wherein said conversion factor is 8192 bytes/block.

5. The method of claim 1 , wherein said reading step further comprises reading said data blocks from said SQL bitmap.

6. The method of claim 1 , wherein said data blocks are 8 kilobyte SQL blocks.

7. The method of claim 1 , wherein said predetermined threshold is an adjustable threshold.

8. The method of claim 1 , wherein said backup operation is a backup snapshot image.

9. The method of claim 1 , wherein the step of conducting a backup operation in the event said predetermined threshold has been exceeded includes wherein the backup operation so conducted is otherwise unscheduled.

10. An apparatus for backing up a storage system in a computer where said storage system is storing a database, comprising:

means for utilizing a volume snapshot service (VSS) to create a snapshot image file of said storage system, wherein

said snapshot image file includes a copy of said database created without invoking database activity, and

said snapshot image file contains a SQL bitmap;

means for reading data blocks of said copy of said database in said snapshot image file;

means for ascertaining a number of modified data blocks, wherein

said modified data blocks are said data blocks that have changed since a last backup operation,

said ascertaining comprises contrasting said SQL bitmap to an original bitmap to determine said number of said modified data blocks, and

said original bitmap represents data blocks from said last backup operation;

means for estimating a backup size from said number of said modified data blocks;

means for determining if said backup size exceeds a predetermined threshold at or below which no backup operation is to be conducted; and

means for conducting a backup operation in the event said predetermined threshold has been exceeded.

11. The apparatus of claim 10 , wherein said means for utilizing can be used to create said snapshot image file in accordance with a predetermined periodic schedule.

12. The apparatus of claim 10 , wherein said means for estimating further comprises:

means for obtaining a sum of said number of said modified data blocks; and

means for multiplying said sum by a conversion factor to calculate a corresponding amount of data size.

13. The apparatus of claim 12 , wherein said conversion factor is 8192 bytes/block.

14. The apparatus of claim 10 , wherein said means for reading further comprises means for reading said data blocks from said SQL bitmap.

15. The apparatus of claim 10 , wherein said data blocks are 8 kilobyte SQL blocks.

16. The apparatus of claim 10 , wherein said predetermined threshold is an adjustable threshold.

17. The apparatus of claim 10 , wherein said backup operation is a backup snapshot image.

18. The apparatus of claim 10 , wherein the backup operation conducted in the event said predetermined threshold has been exceeded is otherwise unscheduled.

19. A non-transitory computer readable storage medium storing program instructions executable to:

utilize a volume snapshot service (VSS) to create a snapshot image file of said storage system, wherein

said snapshot image file includes a copy of said database created without invoking database activity, and

said snapshot image file contains a SQL bitmap;

read data blocks of said copy of said database in said snapshot image file;

ascertain a number of modified data blocks, wherein

said modified data blocks are said data blocks that have changed since a last backup operation,

ascertaining said number of modified data blocks comprises contrasting said SQL bitmap to an original bitmap to determine said number of said modified data blocks, and

said original bitmap represents data blocks from said last backup operation;

estimate a backup size from said number of said modified data blocks;

determine if said backup size exceeds a predetermined threshold at or below which no backup operation is to be conducted; and

conduct a backup operation in the event said predetermined threshold has been exceeded.

20. The non-transitory computer readable storage medium of claim 19 , wherein said program instructions are further executable to:

obtain a sum of said number of said modified data blocks; and

multiply said sum by a conversion factor to calculate a corresponding amount of data size.

21. The non-transitory computer readable storage medium of claim 19 , wherein said predetermined threshold is an adjustable threshold.

22. The non-transitory computer readable storage medium of claim 19 , wherein said backup operation is a backup snapshot image.

Assignments (14)
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 →
CHANGE OF NAME Recorded Sep 21, 2007
From: VERITAS OPERATING CORPORATION
To: SYMANTEC OPERATING CORPORATION
Reel/Frame 019866/0480 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Mar 2, 2005
From: DESAI, MILIN; PAYNE, MICHAEL
To: VERITAS OPERATING CORPORATION
Reel/Frame 015718/0148 →