Data backup method, device and system

A data backup and backup technology, applied in the Internet field, can solve the problems of data recovery failure, slow backup speed, and large amount of backup log backup data, so as to reduce storage pressure, solve data recovery failure, and improve data recovery success rate.

Active Publication Date: 2020-04-28
ALIBABA CLOUD COMPUTING LTD
View PDF5 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The embodiment of the present invention provides a data backup method, device and system to at least solve the technical problem of data recovery failure during failure recovery due to the large amount of backup log backup data and slow backup speed in the prior art

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, device and system
  • Data backup method, device and system
  • Data backup method, device and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0028] figure 1 is a schematic structural diagram of a data backup system according to Embodiment 1 of the present invention, such as figure 1 As shown, the data backup system provided by the embodiment of the present application is specifically as follows:

[0029] The first device 12, the second device 14 and the storage device 16, wherein the first device 12 is used to back up the updated incremental log to the storage device by monitoring the incremental log change when it is in the master device state; And the last log identification in the incremental log is synchronized to the second device 14 in the standby device state; when monitoring the first device 12 from the master device state to the standby device state, stop monitoring the incremental log change; The second device 14 is used to receive the log identifier sent by the first device 12 in the master device state when it is in the standby device state, and when it is monitored that the second device 14 is switche...

Embodiment 2

[0048] According to an embodiment of the present invention, an embodiment of a data backup method is also provided. It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and, Although a logical order is shown in the flowcharts, in some cases the steps shown or described may be performed in an order different from that shown or described herein.

[0049] The method embodiment provided in Embodiment 1 of the present application may be executed in a mobile terminal, a computer terminal, or a similar computing device. Take running on a computer terminal as an example, Figure 4 It is a block diagram of the hardware structure of a computer terminal for a data backup method according to an embodiment of the present invention. Such as Figure 4 As shown, the computer terminal 40 may include one or more (only one is shown in the figure) processor 402 (the processo...

Embodiment 3

[0064] This application provides Image 6 The method of data backup is shown. On the second device side, Image 6 is a flow chart of the data backup method according to the third embodiment of the present invention.

[0065] Step S602, when the second device is in the backup device state, receiving the log identifier sent by the first device in the master device state;

[0066] Step S604, when it is monitored that the second device is switched from the state of the standby device to the state of the master device, obtain the incremental log according to the log identifier;

[0067] Step S606, monitoring incremental log changes, and backing up the updated incremental log to a storage device;

[0068] Step S608, synchronizing the last log identifier in the incremental log to the first device that is currently in the standby device state.

[0069] Specifically, in combination with steps S602 to S608, the data backup method provided in this embodiment of the present applicatio...

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 data backup method, device and system. The method comprises the following steps: backing up an updated incremental log to storage equipment by monitoring incremental log change; synchronizing a last log identifier in the incremental log to second equipment in a standby equipment state; and when monitoring that first equipment is switched from a main equipment state to thestandby equipment state, stopping monitoring the increment log change. The technical problem of data recovery failure during fault recovery easily caused by large backup data volume and low backup speed of the backup log in the prior art is solved.

Description

technical field [0001] The present invention relates to the technical field of the Internet, in particular to a data backup method, device and system. Background technique [0002] In a cloud computing system, database instances are deployed in a dual-machine or multi-machine master-backup mode to improve availability. The master device provides external services. When the master device fails, the backup device becomes the master device to continue external services. During operation, incremental log backups will be performed on the database on each host, and no matter which host fails, you can filter out multiple backups of data and perform fault recovery to improve the reliability of the database. [0003] Aiming at the above-mentioned problems in the prior art that the backup log backup data is large in volume and the backup speed is slow, it is easy to cause data recovery failure during fault recovery, and no effective solution has been proposed so far. Contents of the...

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/14G06F16/23
CPCG06F11/1451G06F16/2358
Inventor 邬建卫
Owner ALIBABA CLOUD COMPUTING LTD
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