The present application relates to the technical field of data
backup. Provided are a data
backup method, an electronic device, a storage medium, and a
chip. In the method, during the current
backup, a file
list formed during the last backup is acquired, a local file
list formed during the last backup is compared with a local file
list formed during the current backup, newly added files and modified files are found, the newly added files and the modified files are uploaded to a
cloud server for backup, and files which are the same are not repeatedly uploaded to the
cloud server for backup any more. When the newly added files and the modified files are backed up, different
processing modes can be executed in terms of ordinary files,
small files and large files, wherein modified large files are segmented into a plurality of data blocks, data blocks which are different from each other are backed up, and data blocks which are the same are not backed up any more; and the
small files are uploaded by means of packaging, and if a
reuse rate of files in one packet is greater than 90%, no backup is required, and if the
reuse rate is less than 90%, the files are repackaged and uploaded. The method can shorten the backup time and improve the backup efficiency.