Junction File Restore via Symbolic Link Encoding
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
The industry standard NDMP protocol for backup and restore operations does not specifically handle junction file types, leading to potential failures during restore operations when junction information is encountered, as it is not recognized, and requires software modifications from third-party vendors to accommodate junction information transfer.
Innovation Solution
A method and system that encode junction information from a junction table as symbolic links and include it in the backup data stream, allowing transparent transfer and restoration of junction information during backup and restore processes, using an NDMP server that recognizes the encoded symlink directives.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If the NDMP protocol is used for backup and restore operations, then backup and restore functionality is provided, but junction file types are not recognized leading to restore failures
Solution Approach 1:
The patent introduces a translation layer that converts junction file type information into symbolic link representations that the NDMP protocol can handle. This intermediary translation mechanism allows junction information to be transmitted through the NDMP backup and restore process without requiring modifications to the protocol itself, thereby maintaining reliability while gaining adaptability to junction file types
Solution Approach 2:
The patent changes the representation parameter of junction file types by encoding them as symbolic links with specific path descriptors. This parameter transformation allows the NDMP protocol to process junction information indirectly through its existing symbolic link handling capabilities, resolving the contradiction between protocol compatibility and junction support
2Adaptability or versatility
If third-party software modifications are made to accommodate junction information, then junction support is achieved, but software complexity and modification requirements increase
Solution Approach 1:
The patent creates a copy or representation of junction information in the form of symbolic links that can be processed by existing NDMP-compliant software. Instead of modifying third-party software to understand junctions directly, the system creates compatible copies of the junction data structure that work within the existing protocol framework, reducing software complexity while maintaining adaptability
Solution Approach 2:
The patent makes the backup system universally compatible by using symbolic links as a common denominator that both junction-aware and standard NDMP software can handle. This multi-functional approach allows the same backup infrastructure to support both traditional files and junction file types without requiring separate processing paths or software modifications
Data Source
AI summary
A method and system for backing up and restoring data in a file system that includes junctions is provided. In a backup operation, a junction is encoded as a symbolic link (“symlink”) directive, and sent with a sequential image data stream in the backup operation and written to a tape or disk. In a restore operation, when the encoded symlink directive is encountered after data is read from the tape, the symlink is decoded by an administrator to obtain the embedded junction information contained in the symlink directive. The administrator can then recreate the junction using the information. The junction information is thereby transmitted as part of the backup and restore operation while remaining transparent to third party software performing the backup and restore processes.


