Method, device and equipment for automatic snapshot rollback
An automatic and snapshot technology, applied in the computer field, can solve problems such as low rollback efficiency, time-wasting costs and labor costs, and achieve the effects of improving efficiency, avoiding manual operations, and reducing costs
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0039] The following introduces Embodiment 1 of a snapshot automatic rollback method provided by this application, see figure 1 , embodiment one includes:
[0040] S101. Generate a first mapping relationship from a source volume to a target volume according to a snapshot creation request, and set a snapshot rollback parameter for the source volume, where the snapshot rollback parameter is used to indicate that the source volume enables or disables automatic snapshot rollback roll function;
[0041] Snapshot is a virtual backup technology. Storage snapshot technology supports the generation of a virtual consistent image of the source volume at a certain point in time, and a target volume consistent with the source volume can be obtained without interrupting normal business. While setting snapshot rollback parameters for the source volume, a second mapping relationship between the target volume and the source volume may be further generated for reference during subsequent snaps...
Embodiment 2
[0049] see figure 2 , embodiment two specifically includes:
[0050] S201. Generate a snapshot creation request carrying a snapshot rollback parameter;
[0051] Specifically, the upper-layer business adds the autorestore parameter in the mklcmap command (Make Local Map, creating a snapshot command) as a snapshot rollback parameter. This parameter indicates that the snapshot automatic rollback function is turned on or off, as shown in Table 1:
[0052] Table 1
[0053]
[0054] S202. According to the snapshot creation request, generate a first mapping relationship from the source volume to the target volume, and set snapshot rollback parameters for the source volume, and generate a second mapping relationship from the target volume to the source volume, the snapshot The rollback parameter is used to indicate that the source volume enables or disables the snapshot automatic rollback function;
[0055] S203. Query the value of the snapshot rollback parameter by using the p...
Embodiment approach
[0066] As a specific implementation, the rollback module is used to:
[0067] generating a second mapping relationship from the target volume to the source volume;
[0068] According to the second mapping relationship, the data of the target volume is rolled back to the source volume.
[0069] As a specific implementation manner, it also includes:
[0070] Snapshot creation request generation module: used to generate a snapshot creation request carrying snapshot rollback parameters.
[0071] As a specific implementation manner, it also includes:
[0072] Rollback parameter setting module: for setting the value of the snapshot rollback parameter to ON by using a parameter setting command.
[0073] As a specific implementation, including:
[0074] Rollback parameter query module: used to query the value of the snapshot rollback parameter by using a parameter query command;
[0075] The rollback parameter setting module: if the value of the snapshot rollback parameter is off...
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