Patent attributes
A data backup method, a data recovery method, and an electronic device are disclosed. The data backup method includes: determining a data set to be backed up, performing a status update operation on a data block in the data set, determining the time points when the data block changes from the first phase to the second phase, and when the data block changes from the second phase to the third phase, and performing data backup on the data set to generate backup files. With this method, upon data seal time point, no fresh data can be reached in any data block, and the data block back-up persists, so that the time point of the data backup operation is more accurate, the cut point of which deleted data should be included in the back up is easy to locate, and the deleted data may be accurately processed.