Method and apparatus for restoring a table in a database
First Claim
Patent Images
1. A method for restoring a table in a database comprising:
- identifying a copy of first table data after completion of a backup process of the database, whereinthe database comprises at least a first table and a second table,the first table data comprises data stored in the first table,second table data comprises data stored in the second table,the backup process produces a backup of the first table data,the backup of the first table data comprises copies of a plurality of table data blocks,the copies of the plurality of table data blocks comprise the copy of the first table data, andthe identifying identifies the copy of the first table data in the backup of the first table data; and
generating a command for restoring the first table data from the backup of the first table data, whereinthe command is generated prior to a detection of a request to restore the first table data and in response to completion of the backup process producing the backup of the first table data,the command is configured to be executed in response to the detection of the request to restore the first table data without restoring the second table data, and the generating the command comprises;
accessing the copy of the first table data in the backup of the first table data, wherein the accessing is performed based on the identifying,parsing a portion of the copy of the first table data, andincluding the parsed portion of the copy of the first table data in the command.
7 Assignments
0 Petitions
Accused Products
Abstract
A method and apparatus for restoring table data using one or more restoration commands, where the one or more restoration commands are generated at the time a backup of a database comprising the table data is created. The disclosed restoring of table data comprises identifying table data after completion of a backup process on the database and generating one or more commands for restoring the table data where the one or more restoration commands are generated prior to a request to restore the table data.
41 Citations
20 Claims
-
1. A method for restoring a table in a database comprising:
-
identifying a copy of first table data after completion of a backup process of the database, wherein the database comprises at least a first table and a second table, the first table data comprises data stored in the first table, second table data comprises data stored in the second table, the backup process produces a backup of the first table data, the backup of the first table data comprises copies of a plurality of table data blocks, the copies of the plurality of table data blocks comprise the copy of the first table data, and the identifying identifies the copy of the first table data in the backup of the first table data; and generating a command for restoring the first table data from the backup of the first table data, wherein the command is generated prior to a detection of a request to restore the first table data and in response to completion of the backup process producing the backup of the first table data, the command is configured to be executed in response to the detection of the request to restore the first table data without restoring the second table data, and the generating the command comprises; accessing the copy of the first table data in the backup of the first table data, wherein the accessing is performed based on the identifying, parsing a portion of the copy of the first table data, and including the parsed portion of the copy of the first table data in the command. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. An apparatus for restoring a table in a database comprising:
-
a non-transitory computer-readable memory; and a processor coupled to the non-transitory computer-readable memory, wherein the processor is configured to; identify a copy of first table data in a backup image after completion of a backup process of the database, wherein the backup image is associated with the database, the database comprises at least a first table and a second table, the first table data comprises data stored in the first table, second table data comprises data stored in the second table, the backup image comprises a copy of the first table data, the backup image comprises copies of a plurality of table data blocks, and the copies of the plurality of table data blocks comprise the copy of the first table data; and generate a command for restoring the first table data from the backup image, wherein the command is generated prior to detection of a request for restoring the first table data from the backup image and in response to completion of the backup process producing the backup image, the command is generated by; accessing the copy of the first table data in the backup image, wherein the accessing is performed based on the identifying, parsing a portion of the copy of the first table data, and including the parsed portion of the copy of the first table data in the command, and the command, when executed, restores the first table data without restoring the second table data. - View Dependent Claims (10, 11, 12, 13, 14, 15)
-
-
16. A non-transitory computer-readable storage medium storing instructions executable by a processor, wherein the instructions, when executed, perform a method for restoring a table in a database comprising:
-
identifying a copy of first table data after completion of a backup process of the database, wherein the database comprises at least a first table and a second table, the first table data comprises data stored in the first table, second table data comprises data stored in the second table, the backup process produces a backup of the first table data, the backup of the first table data comprises copies of a plurality of table data blocks, the copies of the plurality of table data blocks comprise the copy of the first table data, and the identifying identifies the copy of the first table data in the backup of the first table data; and generating a command for restoring the first table data from the backup of the first table data, wherein the command is generated prior to a detection of a request to restore the first table data and in response to completion of the backup process producing the backup of the first table data, the command is configured to be executed in response to the detection of the request to restore the first table data without restoring the second table data, and the generating the command comprises; accessing the copy of the first table data in the backup of the first table data, wherein the accessing is performed based on the identifying, parsing a portion of the copy of the first table data, and including the parsed portion of the copy of the first table data in the command. - View Dependent Claims (17, 18, 19, 20)
-
Specification