Data backup method and device and data recovery method and device

A data backup and data technology, which is used in electrical digital data processing, redundancy in computing, data error detection, instruments, etc. It can solve problems such as large data loss and excessive data replication.

Active Publication Date: 2022-02-11
江苏安超云软件有限公司
View PDF10 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Therefore, the present invention will solve the technical problem that when the data is rolled back in the prior art, the amount of data is copied too large; when the backup point is deleted, the loss on the data is too large, thereby providing a data backup method, comprising the following steps:

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
  • Data backup method and device and data recovery method and device
  • Data backup method and device and data recovery method and device
  • Data backup method and device and data recovery method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0053] This embodiment provides a data backup method, figure 1 It is a flow chart illustrating that according to some embodiments of the present invention, the user volume is incrementally backed up, and a snapshot is created on the backup volume after each backup to form a full data set. Although the processes described below include operations in a particular order, it should be clearly understood that these processes may also include more or fewer operations, which may be performed sequentially or in parallel (e.g., using parallel processors) or multi-threaded environment).

[0054] This embodiment provides a data backup method for incrementally backing up user volumes, such as figure 1 Shown, described data backup method comprises the steps:

[0055] S101. Obtain data information corresponding to the data modified this time in the user volume.

[0056] In the above implementation steps, the modified data includes the data added by the user in the user volume and the dat...

Embodiment 2

[0084] This embodiment provides a data recovery method, Figure 8 is a flowchart illustrating data recovery for a client according to some embodiments of the present invention. Although the processes described below include operations in a particular order, it should be clearly understood that these processes may also include more or fewer operations, which may be performed sequentially or in parallel (e.g., using parallel processors) or multi-threaded environment).

[0085] This embodiment provides a data recovery method for the client to recover data, such as Figure 8 shown, including the following steps:

[0086] S301. Receive a data restoration instruction.

[0087] In the above implementation steps, if the user wants to restore data at a certain point in time, he can send a data restoration instruction to the backup server. When incrementally backing up the user volume in Embodiment 1, the formed full data sets correspond to different time points, and the full data s...

Embodiment 3

[0095] This embodiment provides a data backup device, such as Figure 10 shown, including:

[0096] The obtaining module 301 is used to obtain the data information corresponding to the modified data in the user volume; wherein, the data information includes the offset position, effective length and data content of the modified data; for details, please refer to the steps in Embodiment 1 The relevant description of S101 will not be repeated here.

[0097] The update module 302 is configured to update the data content of the modified data to the corresponding position of the backup volume based on the offset position and the effective length; for details, please refer to the relevant description of step S102 in Embodiment 1, which will not be repeated here repeat.

[0098] The snapshot module 303 is configured to create a snapshot for the backup volume updated according to the modified data this time, as a full data set, and as a basis for data recovery of the user volume. Fo...

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 relates to the field of data storage, in particular to a data backup method and device and a data recovery method and device. The method comprises the following steps of obtaining data information corresponding to current modified data in a user volume, wherein the data information comprises the offset position, the effective length and the data content of the modified data, based on the offset position and the effective length, updating the data content of the modified data to a corresponding position of the backup volume, and creating a snapshot for the backup volume updated according to the modified data, and taking the snapshot as a total data set to serve as a basis for user volume data recovery. When a user needs to recover the data, all the data can be recovered only by using the full-amount data set at the corresponding time point, only one-time downloading is needed at the same position during rollback, and waste of bandwidth resources is not caused. And when the full-amount data set at a certain time point is deleted, data recovery can be carried out according to other full-amount data sets, and large data loss cannot be caused.

Description

technical field [0001] The invention relates to the field of data storage, in particular to a data backup method, recovery method and device. Background technique [0002] Users generate a large amount of data every day during their Internet activities, and these data are valuable material wealth for users. In order to ensure data security, a backup disaster recovery system is usually required in a production environment to back up data to the cloud. Data backup methods include full backup and incremental backup. Since incremental backup has more advantages over full backup, incremental backup is usually used to back up data in practice. [0003] During the incremental backup of data, a backup volume is independently created for the data modified at each point in time as a backup point to store the data. When rolling back, it will start from the first full data set and roll back to the current backup point. This will cause the data volume to be copied too much during the r...

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): G06F11/14
CPCG06F11/1469
Inventor 张磊
Owner 江苏安超云软件有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products