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

Snapshot automatic rollback method, device and equipment

An automatic and snapshot technology, applied in the computer field, can solve problems such as wasting time and labor costs, and low rollback efficiency, so as to improve efficiency, avoid manual operations, and reduce costs

Active Publication Date: 2020-05-01
INSPUR BEIJING ELECTRONICS INFORMATION IND
View PDF9 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The purpose of this application is to provide a snapshot automatic rollback method, device, device and readable storage medium to solve the problem that the current snapshot rollback scheme requires human intervention, wastes time and labor costs, and leads to low rollback efficiency question

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
  • Snapshot automatic rollback method, device and equipment
  • Snapshot automatic rollback method, device and equipment
  • Snapshot automatic rollback method, device and equipment

Examples

Experimental program
Comparison scheme
Effect test

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...

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 discloses a snapshot automatic rollback method, which is characterized in that snapshot rollback parameters are added to a source volume when a snapshot is created, and the snapshot rollback parameters are used for indicating whether the source volume starts a snapshot automatic rollback function or not. And in the process of performing write operation on the source volume, if it isdetected that a preset rollback condition is triggered in the write-in process and the value of the snapshot rollback parameter of the source volume is open, stopping the write-in operation, and rolling back the data of the target volume to the source volume. Therefore, the automatic snapshot rollback function is achieved, manual operation is avoided, the snapshot rollback cost is reduced, and thesnapshot rollback efficiency is improved. In addition, the invention further provides a snapshot automatic rollback device and equipment and a readable storage medium, and the technical effect of thesnapshot automatic rollback device and equipment corresponds to the technical effect of the snapshot automatic rollback method.

Description

technical field [0001] The present application relates to the field of computer technology, in particular to a method, device, device and readable storage medium for automatically rolling back snapshots. Background technique [0002] Currently, although the snapshot function in storage products supports snapshot rollback to restore data at a certain moment, this operation requires human intervention. Waste of time and labor cost, resulting in low efficiency of snapshot rollback. [0003] It can be seen that how to improve snapshot rollback efficiency and save manpower and time costs is an urgent problem to be solved by those skilled in the art. Contents of the invention [0004] The purpose of this application is to provide a snapshot automatic rollback method, device, device and readable storage medium to solve the problem that the current snapshot rollback scheme requires human intervention, wastes time and labor costs, and leads to low rollback efficiency question. T...

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 Applications(China)
IPC IPC(8): G06F3/06G06F11/14
CPCG06F3/0665G06F3/0667G06F3/0646G06F11/1469
Inventor 李俭
Owner INSPUR BEIJING ELECTRONICS INFORMATION IND
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