CPC G06F 11/1469 (2013.01) [G06F 11/1451 (2013.01); G06F 16/122 (2019.01); G06F 16/162 (2019.01); G06F 2201/84 (2013.01)] | 14 Claims |
1. An apparatus comprising:
a memory for storing database data; and
a processor configured to execute following process, comprising:
determining a data set to be backed up, and performing a status update operation on a data block included in the data set to be backed up;
recording a first timing when the data block changes from a first phase to a second phase;
recording a second timing when the data block changes from the second phase to a third phase, and performing data backup on the data set to be backed-up to obtain a backup file, wherein the first phase is used to indicate that the data block supports data writing and deleting, the second phase is used to indicate that the data block supports data deleting, and the third phase is used to indicate that the data block cannot be modified,
and wherein when the data block changes from the second phase to a third phase, and performing data backup on the data set to be backed-up to obtain a backup file, comprises: acquiring user data and metadata corresponding to the data block between the first timing and the second timing when a phase of the data block is changed to the third phase; storing the user data and the metadata as a backup file of the data set to be backed up,
wherein the backup file further includes metadata corresponding to original backup data consisting of the user data and the metadata corresponding to the data block, with the metadata corresponding to the original backup data used to record a phase of the data block included in the data set to be backed up when performing the status update operation.
|