主权项 |
1. A system comprising:
a computer processor operable to execute an incremental backup and merge of recovery points by: creating a first recovery point data file and a first recovery point index file;wherein the first recovery point data file comprises a plurality of blocks that are associated with a first logical volume; and wherein the first recovery point index file comprises a plurality of indices that each that each points to respective blocks in the first recovery point data file;
in response to an initiation of an incremental backup of the first logical volume, creating a second recovery point index file in the first logical volume comprising a plurality of indices, wherein each of the plurality of indices in the second recovery point index file in corresponds to an index in the first recovery point index file; in response to no data changing in the first logical volume at the initiation of the incremental backup, pointing an index in the second recovery point index file in the first logical volume to a respective block in the first logical volume; in response to data changing in a number of blocks in the first logical volume at the initiation of the incremental backup, wherein the number of changed blocks is greater than zero and less than a total number of blocks in the first volume, creating a corresponding new block in a second recovery point data file for each of the blocks in the first recovery point data file in which data have changed; pointing each index in the second recovery point index file for which data have changed in the first recovery point data file to the corresponding new block in the second recovery point data file; and pointing each index in the second recovery point index file for which data have not changed in the first recovery point data file to the corresponding block in the first recovery point data file; and in response to the initiation of the incremental backup, creating in the first logical volume a third recovery point data file and creating a third recovery point index file, wherein the third recovery point data file comprises a corresponding block for each of the blocks in which data have changed in the first logical volume since creation of the second recovery point data file; for each of the blocks in which data have changed in the first logical volume since creation of the second recovery point data file, pointing each corresponding index in the third recovery point index file to the corresponding block in the third recovery data file; and for each of the blocks in which data have not changed in the first logical volume since creation of the second recovery point data file, pointing each corresponding index in the third recovery point index file to the corresponding block in the first recovery point data file or the second recovery point data file based on the block in the first logical volume to which the second recovery point index file pointed at the initiation of the incremental backup of the first logical volume. |