Restoring selected objects from a monolithic database backup
First Claim
1. A computer-implemented method comprising:
- receiving a request at a computer system, whereinthe request comprisesa request to restore a selected object from a backup of a database,the database comprises a plurality of objects, andthe plurality of objects comprisesthe selected object;
locating information in the backup using a processor of the computer system, whereinthe information is associated with the selected object,the locating is performed using database table metadata,the database table metadata was gathered from the database, andthe database table metadata was gathered at the time the backup was created; and
restoring the selected object using the processor, whereinthe restoring is performed using the information associated with the selected object, andthe restoring comprisesrestoring one or more necessary objects,the selected object is one of a plurality of objects,the plurality of objects comprises the one or more necessary objects,one or more of a plurality of data relationships describes a relationship between each of the plurality of objects and another of the plurality of objects,each of the one or more necessary objects is necessary to restore the selected object, by virtue of a relationship between the each of the one or more necessary objects and the selected object,the relationship between the each of the one or more necessary objects and the selected object is described by at least one of the plurality of data relationships, andthe restoring restores all such necessary objects.
7 Assignments
0 Petitions
Accused Products
Abstract
The present invention provides a mechanism to selectively restore portions of a monolithically backed up database, while maintaining hierarchical relationships and other metadata relationships of the restored portions of the database. Embodiments of the present invention provide a method, system and computer-readable storage medium that provides for receiving a request to restore a selected object from among a plurality of backed up objects in a database backup, locating information associated with the selected object in the database backup, and restoring the object-to-restore using the information associated with the selected object in a target area. Database table metadata is gathered from the backed up database at the time the backup was created in order to locate the information associated with the selected object.
58 Citations
20 Claims
-
1. A computer-implemented method comprising:
-
receiving a request at a computer system, wherein the request comprises a request to restore a selected object from a backup of a database, the database comprises a plurality of objects, and the plurality of objects comprises the selected object; locating information in the backup using a processor of the computer system, wherein the information is associated with the selected object, the locating is performed using database table metadata, the database table metadata was gathered from the database, and the database table metadata was gathered at the time the backup was created; and restoring the selected object using the processor, wherein the restoring is performed using the information associated with the selected object, and the restoring comprises restoring one or more necessary objects, the selected object is one of a plurality of objects, the plurality of objects comprises the one or more necessary objects, one or more of a plurality of data relationships describes a relationship between each of the plurality of objects and another of the plurality of objects, each of the one or more necessary objects is necessary to restore the selected object, by virtue of a relationship between the each of the one or more necessary objects and the selected object, the relationship between the each of the one or more necessary objects and the selected object is described by at least one of the plurality of data relationships, and the restoring restores all such necessary objects. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A system comprising:
-
a central processor; and a computer-readable storage medium, wherein the computer-readable storage medium is coupled to the central processor, the computer-readable storage medium stores a first storage object, wherein the first storage object is configured to store a backup of a database, and the database comprises
a plurality of objects, and
a plurality of database tables describing the plurality of objects, anda second storage object, wherein the second storage object is configured to store a target storage area, and the target storage area is configured to store objects restored from the backup, the computer-readable storage medium stores instructions executable by the processor, and the instructions are configured to cause the central processor to receive a request, wherein the request comprises a request to restore a selected object from the backup, the database comprises the plurality of objects, and the plurality of objects comprises the selected object, locate information in the database backup, wherein the information is associated with the selected object, the instructions configured to cause the central processor to locate are configured to use database table metadata, the database table metadata was gathered from the database, and the database table metadata was gathered at the time the backup was created, and restore the selected object to the second storage object, wherein the instructions configured to cause the central processor to restore are configured to use the information associated with the selected object, and the instructions configured to cause the central processor to restore comprise instructions configured to cause the central processor to restore one or more necessary objects, the selected object is one of a plurality of objects, the plurality of objects comprises the one or more necessary objects, one or more of a plurality of data relationships describes a relationship between each of the plurality of objects and another of the plurality of objects, each of the one or more necessary objects is necessary to restore the selected object, by virtue of a relationship between the each of the one or more necessary objects and the selected object, the relationship between the each of the one or more necessary objects and the selected object is described by at least one of the plurality of data relationships, and the instructions configured to cause the central processor to restore the one or more necessary objects is configured to restore all such necessary objects. - View Dependent Claims (11, 12, 13, 14, 15, 16)
-
-
17. A computer program product encoded on non-transitory computer-readable storage medium comprising:
-
a plurality of instructions, comprising a first set of instructions, executable by a processor, and configured to receive a request, wherein the request comprises a request to restore a selected object from a backup of a database, the database comprises a plurality of objects, and the plurality of objects comprises the selected object, a second set of instructions, executable by the processor, and configured to locate information in the backup, wherein the information is associated with the selected object, the second set of instructions comprises further instructions configured to use database table metadata, the database table metadata was gathered from the database, and the database table metadata was gathered at the time the backup was created, and a third set of instructions, executable by the processor, and configured to restore the selected object to a target storage, wherein the third set of instructions are configured to use the information associated with the selected object, and the third set of instructions comprises a first subset of instructions, executable by the processor, and configured to restore one or more necessary objects, the selected object is one of a plurality of objects, the plurality of objects comprises the one or more necessary objects, one or more of a plurality of data relationships describes a relationship between each of the plurality of objects and another of the plurality of objects, each of the one or more necessary objects is necessary to restore the selected object, by virtue of a relationship between the each of the one or more necessary objects and the selected object, the relationship between the each of the one or more necessary objects and the selected object is described by at least one of the plurality of data relationships, and the third set of instructions is configured to restore all such necessary objects. - View Dependent Claims (18, 19, 20)
-
Specification