Techniques for performing an incremental backup
First Claim
1. A method for performing an incremental backup comprising:
- retrieving a first identifier for a first portion of a prior full backup of a database, wherein retrieving the first identifier comprises parsing the first portion of the prior full backup of the database to identify the first identifier;
backing up a first portion of a snapshot of the database;
retrieving, using at least one computer processor, a second identifier of a second portion of the snapshot of the database, wherein retrieving the second identifier of the second portion of the snapshot comprises parsing the snapshot to identify the second identifier by sequentially reading one or more pages stored in the snapshot, wherein parsing the snapshot comprises iteratively comparing versions of portions of the snapshot against a version of the backup of the database;
determining whether the second identifier of the second portion of the snapshot of the database is greater than the first identifier;
in the event the second identifier is less than or equal to the first identifier, indicating that the second portion of the snapshot has not been modified subsequent to the prior full backup, skip backing up the second portion of the snapshot of the database; and
in the event the second identifier is greater than the first identifier, indicating that the second portion of the snapshot has been modified subsequent to the prior full backup,backing up the second portion of the snapshot of the database; and
storing an offset with the backup of the first portion of the snapshot, wherein the offset indicates where the second portion of the snapshot is to be inserted into the prior full backup.
7 Assignments
0 Petitions
Accused Products
Abstract
Techniques for performing an incremental backup are disclosed. In one particular exemplary embodiment, the techniques may be realized as a method for performing an incremental backup comprising retrieving a first identifier from a first portion of a prior backup of a database, backing up a first portion of a snapshot of the database, retrieving, using at least one computer processor, a second portion of the snapshot of the database, determining whether a second identifier of the second portion of the snapshot of the database is greater than the first identifier, and in the event the second identifier is greater than the first identifier, backing up the second portion of the snapshot of the database.
25 Citations
20 Claims
-
1. A method for performing an incremental backup comprising:
-
retrieving a first identifier for a first portion of a prior full backup of a database, wherein retrieving the first identifier comprises parsing the first portion of the prior full backup of the database to identify the first identifier; backing up a first portion of a snapshot of the database; retrieving, using at least one computer processor, a second identifier of a second portion of the snapshot of the database, wherein retrieving the second identifier of the second portion of the snapshot comprises parsing the snapshot to identify the second identifier by sequentially reading one or more pages stored in the snapshot, wherein parsing the snapshot comprises iteratively comparing versions of portions of the snapshot against a version of the backup of the database; determining whether the second identifier of the second portion of the snapshot of the database is greater than the first identifier; in the event the second identifier is less than or equal to the first identifier, indicating that the second portion of the snapshot has not been modified subsequent to the prior full backup, skip backing up the second portion of the snapshot of the database; and in the event the second identifier is greater than the first identifier, indicating that the second portion of the snapshot has been modified subsequent to the prior full backup, backing up the second portion of the snapshot of the database; and storing an offset with the backup of the first portion of the snapshot, wherein the offset indicates where the second portion of the snapshot is to be inserted into the prior full backup. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14)
-
-
15. An article of manufacture for performing an incremental backup, the article of manufacture comprising:
-
at least one non-transitory processor readable storage medium; and instructions stored on the at least one medium; wherein the instructions are configured to be readable from the at least one medium by at least one processor and thereby cause the at least one processor to operate so as to; retrieve a first identifier for a first portion of a prior backup of a database, wherein retrieving the first identifier comprises parsing the first portion of the prior full backup of the database to identify the first identifier; back up a first portion of a snapshot of the database; retrieve a second identifier of a second portion of the snapshot of the database, wherein retrieving the second identifier of the second portion of the snapshot comprises parsing the snapshot to identify the second identifier by sequentially reading one or more pages stored in the snapshot, wherein parsing the snapshot comprises iteratively comparing versions of portions of the snapshot against a version of the backup of the database; determine whether the second identifier of the second portion of the snapshot of the database is greater than the first identifier; in the event the second identifier is less than or equal to the first identifier, indicating that the second portion of the snapshot has not been modified subsequent to the prior full backup, skip backing up the second portion of the snapshot of the database; and in the event the second identifier is greater than the first identifier, indicating that the second portion of the snapshot has been modified subsequent to the prior full backup, back up the second portion of the snapshot of the database; and store an offset with the backup of the first portion of the snapshot, wherein the offset indicates where the second portion of the snapshot is to be inserted into the prior full backup.
-
-
16. A system for performing an incremental backup comprising:
one or more processors communicatively coupled to a network;
wherein the one or more processors are configured to;retrieve a first identifier for a first portion of a prior backup of a database, wherein retrieving the first identifier comprises parsing the first portion of the prior full backup of the database to identify the first identifier; back up a first portion of a snapshot of the database; retrieve a second identifier of a second portion of the snapshot of the database, wherein retrieving the second identifier of the second portion of the snapshot comprises parsing the snapshot to identify the second identifier by sequentially reading one or more pages stored in the snapshot, wherein parsing the snapshot comprises iteratively comparing versions of portions of the snapshot against a version of the backup of the database; determine whether the second identifier of the second portion of the snapshot of the database is greater than the first identifier; and in the event the second identifier is less than or equal to the first identifier, indicating that the second portion of the snapshot has not been modified subsequent to the prior full backup, skip backing up the second portion of the snapshot of the database; and in the event the second identifier is greater than the first identifier, indicating that the second portion of the snapshot has been modified subsequent to the prior full backup, back up the second portion of the snapshot of the database; and store an offset with the backup of the first portion of the snapshot, wherein the offset indicates where the second portion of the snapshot is to be inserted into the prior full backup. - View Dependent Claims (17, 18, 19, 20)
Specification