File backup method and device
A file backup and backup technology, which is applied in the field of computer systems, can solve the problems of not supporting the full path name analysis of unlinked files, failing to obtain the full path name of unlinked files, and unable to realize the backup of unlinked files, so as to improve the integrity of functions Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0029] The embodiment of the present invention provides a method for file backup, see figure 1 , the method flow includes:
[0030] 101: parsing the full path name of the unlinked file currently used by the process;
[0031] 102: Create a temporary directory entry of the unlinked file, and mark the full path name of the temporary directory entry with an identifier;
[0032] 103: Establish the corresponding relationship between the full path name of the marked temporary directory entry and the index node of the copy of the unlinked file in memory, and the full path name of the marked temporary directory entry and the full path name of the unlinked file Correspondence between;
[0033] 104: Save the full path name of the marked temporary directory item into the image file, and complete the backup of the unlinked file.
[0034] The method provided by the embodiment of the present invention correctly parses out the full path name of the unlinked file, and creates a temporary di...
Embodiment 2
[0036] The embodiment of the present invention provides a method for backing up and restoring files, which is used for backing up and restoring unlinked files being used by a process. When backing up, see figure 2 , the methods of file backup include:
[0037] 201: the full path name of the unlinked file currently used by the parsing process;
[0038] Specifically, when the existing application backup and restoration system is backing up, the full path name resolution algorithm d_path of the file does not support the resolution of the full path name of the unlinked file. This is because the algorithm will make an unlinked judgment for the file to be parsed. When it is determined that the file to be parsed is an unlinked file, the algorithm will consider that the pathname resolution of the unlinked file is meaningless, and then refuse to parse the full pathname of the unlinked file. The method provided by the embodiment of the present invention can customize a set of full pa...
Embodiment 3
[0066] An embodiment of the present invention provides a device for backing up files, which can implement the method steps in the first and second embodiments above. The device includes a backup module 401, see Figure 4 , optionally, the device may further include a restoring module 402;
[0067] see Figure 5 , the backup module 401 includes:
[0068] The parsing unit 401a is used for parsing the full path name of the unlinked file currently used by the process;
[0069] Creating unit 401b, used to create the temporary directory entry of the unlinked file, and mark the full path name of the temporary directory entry with an identifier;
[0070] The correspondence management unit 401c is configured to establish the correspondence between the full path name of the temporary directory entry marked by the creation unit 401b and the index node of the copy of the unlinked file in memory, and the temporary directory entry marked by the creation unit 401b Correspondence between ...
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