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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com