Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A backup method, system and storage medium of NAS file system

A file system and backup technology, which is applied in the direction of responding to errors, error detection of redundant data in calculations, and instruments, etc., can solve the problem of low backup efficiency, affecting the wide application of NAS file system backup technology, and heavy workload and other issues to achieve the effect of efficient backup

Active Publication Date: 2022-07-08
成都云祺科技有限公司
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Traditional NAS file system backup uses Network Data Management Protocol (NDMP) to separate the control connection and data connection, so that data traffic can be directly backed up to the backup storage device through the local high-speed channel, avoiding the traffic bottleneck of the IP network. However, the NDMP protocol only supports a single data stream session, the backup efficiency is extremely low, and the image-level backup of NDMP makes it necessary to restore the entire file system when restoring a single file, especially in the face of massive backup tasks, the workload is huge, Low processing efficiency
At present, there are almost no NAS backup solutions that can quickly search for incremental files without the NDMP protocol, which also affects the wide application of NAS file system backup technology

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
  • A backup method, system and storage medium of NAS file system
  • A backup method, system and storage medium of NAS file system
  • A backup method, system and storage medium of NAS file system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0070] like figure 1 As shown, a backup method for a NAS file system is provided, the method comprising the steps of:

[0071] S1. Mount the NAS file system on the backup proxy, using the mount point as the root directory.

[0072] It can be understood that, the NAS file system mounting protocol may select a common file system (Common Internet File System, CIFS) protocol or a network file system (Network File System, NFS) protocol.

[0073] S2. Perform depth-first traversal on the NAS file system to obtain all directories and file metadata.

[0074] It can be understood that the metadata of the above directory specifically includes: directory name, inode node number, and directory creation time.

[0075] It can be understood that the above-mentioned file metadata specifically includes: file name, inode node number, file modification time, file creation time, file size, and file permission.

[0076] Optionally, before the step S2, it also includes:

[0077] S21. Obtain all ...

Embodiment 2

[0114] like Figure 4 As shown, in one embodiment, a backup system of a NAS file system is provided, and the system includes:

[0115] The mount module 1001 is used to mount the NAS file system to the backup proxy, and use the mount point as the root directory;

[0116] A directory and file metadata acquisition module 1002, used for depth-first traversal of the NAS file system, to acquire all directory and file metadata;

[0117] A file directory tree construction module 1003, configured to construct a file directory tree containing directory nodes according to the directory and the file metadata, wherein the directory nodes include: directory metadata, sub-file metadata groups and directories hash value;

[0118] A file hash tree construction module 1004, configured to construct a file hash tree including a root node, an intermediate node and a leaf node according to the directory and the file directory tree, wherein the node of the leaf node The hash value is generated by...

Embodiment 3

[0146] 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, implements the backup method of the NAS file system described in the first embodiment.

[0147] The computer storage medium in the embodiments of the present invention may adopt 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. The computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or a combination of any of the above. More specific examples (a non-exhaustive list) of computer readable storage media include: electrical connections having one or more wires, portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), Erasable programmable read only m...

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 backup method, system and storage medium of a NAS file system, belonging to the field of file system backup. The method includes: a mounting step; a directory and file metadata obtaining step; a file directory tree building step; a file hash tree building step; and an incremental file obtaining step. The system includes: a mounting module; a directory and file metadata acquisition module; a file directory tree construction module; a file hash tree construction module; an incremental file acquisition module. The present invention constructs a file directory tree through depth-first traversal of the NAS file system, constructs a file hash tree based on the file directory tree, and then compares the file hash tree constructed by the current backup and the file hash constructed by the previous backup step by step. tree, quickly locate nodes containing incremental files, and obtain incremental files between two backup time points, realizing efficient backup of the NAS file system.

Description

technical field [0001] The invention belongs to the field of file system backup, and relates to a backup method, system and storage medium of a NAS file system. Background technique [0002] Network Attached Storage (NAS) is a file data server that provides file sharing services to clients through a network. The NAS system is simple to deploy, cost-effective, and has strong compatibility. It can provide centralized storage and sharing of file data for clients of different operating systems. Therefore, it has a wide range of applications in government affairs, medical care, finance, logistics and other fields. To prevent data corruption or loss from having an immeasurable impact on an individual or business, file system data is often protected by backups. With the rapid development of network services such as social networks and e-commerce, the functions of various applications are becoming more and more complex, and the amount of data generated by them is also increasing ex...

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 Patents(China)
IPC IPC(8): G06F16/182G06F11/14
CPCG06F16/1827G06F11/1448
Inventor 黄传波谢俊峰罗睿谢卓伟涂磊钱禹航
Owner 成都云祺科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products