Deep analysis EXT4 file backup recovery method and system and storage medium
A file backup and in-depth analysis technology, applied in the file system, file access structure, file/folder operation, etc., can solve the problems affecting the processing efficiency of data backup and recovery, and achieve the goal of improving backup efficiency, saving overhead, and simplifying the operation process. Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0075] Such as figure 1 As shown, a method for file backup and restoration of deep analysis EXT4 is provided, and the method includes steps:
[0076] S1. Obtain the super block and block group descriptor from the file system EXT4 according to the path of the specified directory;
[0077] Optionally, the S1 step includes:
[0078] S11. According to the path of the specified directory, acquire the information of the specified directory, wherein the information of the specified directory includes: a device number and an inode number of the specified directory.
[0079] Inode is an index node in the Linux operating system, which contains information about files in the file system, and each file corresponds to an inode.
[0080] The inode number is the number of the inode, each inode has a corresponding inode number, and the inode number is unique in each file system.
[0081] The devices in Linux are stored in the disk in the form of device files. Each block device has its devi...
Embodiment 2
[0135] Such as Figure 4 As shown, in one embodiment, a file backup recovery system for deep parsing EXT4 is provided, the system includes:
[0136] Super block and block group descriptor obtaining module 1001, used for obtaining super block and block group descriptor according to the path of the specified directory;
[0137] The EXT4 basic information acquisition module 1002 is used to parse the super block and obtain the EXT4 basic information, wherein the EXT4 basic information includes: block group block number and block group inode number;
[0138] The inode table positioning module 1003 is used to parse the block group descriptor and obtain the inode epiposition of each block group;
[0139] Designated directory inode acquisition module 1004, used to query the inode table of the corresponding block group according to the inode number of the designated directory and the EXT4 basic information, and obtain the inode of the designated directory;
[0140] Designated directo...
Embodiment 3
[0160] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, and when the program is executed by a processor, the deep analysis EXT4 file backup and recovery method described in the first embodiment is implemented.
[0161] The computer storage medium in the embodiments of the present invention may use any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples (non-exhaustive list) of computer readable storage media include: electrical connections with one or more leads, portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), Erasable programmable read-only ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


