File backup method and device and terminal equipment
A technology of file backup and terminal equipment, which is applied in the direction of file system, file access structure, redundant data error detection in computing, etc. It can solve the problem of low efficiency of file backup and achieve the goal of saving reading time and improving efficiency Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0096] figure 1 It shows the implementation flowchart of the file backup method provided by Embodiment 1 of the present application, and is described in detail as follows:
[0097] S101. Obtain the file type of the file to be backed up, and filter out the target metadata corresponding to the file type from the metadata area of the first file system according to the type identifier contained in the metadata in the metadata area of the first file system.
[0098] It can be seen from the above description that the embodiment of the present application will pre-set the classification rules for file types and the type identification corresponding to each file type, and will perform metadata in the metadata according to the actual type of the file each time the file is stored and the file type is modified. The setting or updating of the identification, so when performing file backup, it is only necessary to obtain the file type of the file to be backed up, and perform identifica...
Embodiment 2
[0110] According to different actual application scenarios, the original system and the target system in Embodiment 1 of the present application may be the same system or different systems. Therefore, in the embodiment of the present application, S103 includes at least two possible situations:
[0111] 1. The original system and the target system are the same system. At this time, restoring the target metadata and target file data blocks to the target system actually refers to restoring the target metadata and target file data blocks to the original system after the data clearing operation is completed.
[0112] 2. The original system and the target system are not the same system. In this case, restoring the target metadata and target file data blocks to the target system refers to storing the target metadata and target file data blocks in the target system.
[0113] Among them, for case 1, since the original system needs to clear data, before performing the recovery operatio...
Embodiment 3
[0131] In some scenarios with high security requirements, in order to ensure the security of files, files are often encrypted and stored at the data block level. Only by decrypting the data area can the logical relationship between file data blocks and directory paths be found in the decrypted data, thereby forming the corresponding information of the corresponding file or folder, and searching for all file data blocks of the file to be backed up And backup operations, although file backup can be realized like this, but because all file data blocks are decrypted, and the file will be exposed in an unencrypted state, so that the process file security of the entire file backup is extremely low.
[0132] In order to improve the security of file backup while ensuring file backup efficiency, considering that there are many types of file systems in practical applications, such as HDFS, NFS, F2FS, and HFS+, for different types of file systems, the metadata There may be some differenc...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


