The invention relates to a disk CDP-based long-term and short-term data
backup storage method and device, and belongs to the field of
disaster recovery backup. The method comprises the steps of creating and generating a data
mirror image, a
bitmap, an I / O log and
metadata under a current
directory, recording real-time change data by using the files, modifying a
directory name of the current
directory, deleting the I / O log, obtaining a T0 directory and a file thereof, repeating the previous steps, and generating incremental data according to a subsequently triggered incremental data generation instruction. And sequentially obtaining directories from T1 to TN and files of the directories, and carrying out
mirror image rollback on the long-term data through data in the directories from T0 to TN. The device comprises a short-term data directory generation module, a short-term
data recording module, a long-term data generation module, a subsequent long-term data generation module and a real-
time data storage module. According to the method, long-term and short-term data can be returned through one set of
system, the strategy configuration is unified, the storage overhead is low, and one-stop and low-TCO data protection is provided for high-compliance and high-continuity scenes.