Unlock instant, AI-driven research and patent intelligence for your innovation.

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

Pending Publication Date: 2022-03-15
成都云祺科技有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] At present, in the face of a large number of small files, there is no special backup and recovery processing method in the EXT4 environment to deal with the explosive growth of small files, which greatly affects the processing efficiency of data backup and recovery in the EXT4 environment

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Deep analysis EXT4 file backup recovery method and system and storage medium
  • Deep analysis EXT4 file backup recovery method and system and storage medium
  • Deep analysis EXT4 file backup recovery method and system and storage medium

Examples

Experimental program
Comparison scheme
Effect test

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 ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to a file backup recovery method and system for deep analysis of EXT4 and a storage medium, and belongs to the field of computer data processing. The method comprises the following steps of: obtaining a super block and a block group descriptor; an EXT4 basic information acquisition step; an inode table positioning step; a step of acquiring a specified directory inode; a specified directory inode analysis step; file list information; a file data positioning step; a file data writing step; repeating the steps; and a recovery step. The system comprises a super block and block group descriptor acquisition module; an EXT4 basic information acquisition module; an inode table positioning module; a directory inode acquisition module is specified; a directory inode analysis module is specified; file list information; a file data positioning module; a file data writing module; a repeating module; and a recovery module. According to the method, the effective user data is deeply extracted from the EXT4 system structure, only the target file is backed up, invalid data is not backed up, the expenditure is saved, and the backup efficiency is improved.

Description

technical field [0001] The invention belongs to the field of computer data processing, and relates to a file backup and recovery method, system and storage medium for deeply analyzing EXT4. Background technique [0002] EXT4 is currently a commonly used file system on Linux. In Centos6.0 version of Linux, EXT4 is the default file system. [0003] At present, when faced with a large number of small files, there is no special backup and recovery processing method in the EXT4 environment to deal with the explosive growth of small files, which greatly affects the processing efficiency of data backup and recovery in the EXT4 environment. Therefore, how to quickly backup and restore a large number of small files in the EXT4 environment has become a technical problem that needs to be solved urgently. Contents of the invention [0004] In order to solve the technical problems in the above-mentioned background technology, the present invention provides a file backup and recovery m...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/14G06F16/13G06F16/16
CPCG06F11/1448G06F16/137G06F16/164
Inventor 钱禹航黄传波彭涵钧谢俊峰涂磊谢卓伟
Owner 成都云祺科技有限公司