The application relates to a
database backup machine incremental reconstruction idempotent retry method and device. The method comprises the following steps: dividing a reconstruction process into three stages of pre-preparation, intermediate transmission and post-closing, and allowing retry only in the first two stages; first calculating and persisting a master-standby common WAL consistency site common-checkpoint and a difference structure filemap, then sequentially
copying a WAL, a serialized change-block mirror and a filemaptarget to a disk; after fault
recovery, reverse serializing and continuing transmission, realizing incremental level idempotent retry; if the error context is the same for two times in succession, immediately converging. Through accurate retry control and state persistence, the application significantly reduces the full amount construction triggering probability, improves the
data consistency guarantee capability, simultaneously has the non-invasive integration
advantage, and can effectively improve the availability and operation and maintenance efficiency of a
database system.