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

Data backup method and device and data restoration method and device

A data backup and data technology, applied in the field of data processing, can solve the problems of multi-disk space, backup occupation, and low backup efficiency

Active Publication Date: 2019-04-02
BEIJING GRIDSUM TECH CO LTD
View PDF10 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, since all data in the ES cluster is backed up every time it is backed up, some data is repeatedly backed up. Therefore, not only is the backup efficiency low, but the backup also takes up more disk space

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment approach

[0070] The first implementation manner of setting the start time is to acquire the preset backup start time as the start time. The preset backup start time may be a time before the execution time of the current backup task. In practical applications, the preset backup start time can be set to a time long ago, for example, "1999-01-01:00:00:00", "1900-07-01:12:00: 00" etc.

[0071] The second implementation manner of setting the start time is that the start time is set as the start time of the full backup, that is, the start time of this backup task is not limited. As an example, if the start time of the current backup task is set as the start time of the full backup, all data in the first ES cluster may be backed up.

[0072] It can be understood that, for any backup task, the execution time of the backup task can be used as the execution time of the backup task, or the execution time of the backup task can be used as the execution time. Furthermore, in the continuous backu...

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 embodiment of the invention discloses a data backup method and device and a data restoration method and device, wherein the execution time of the previous backup task is taken as the starting time, and the execution time of the backup task is taken as the ending time. According to the updating time recorded in the index of the ElasticSearch cluster, the data updated between the starting time and the ending time are found out, and therefore only the found data are backed up, so that by recording updating time for data in an index of an ElasticSearch cluster and recording execution time of each backup task, the ElasticSearch cluster can realize incremental backup, the repeated backup of the same data is avoided, the backup efficiency is improved, and the disk space occupied by backup issaved.

Description

technical field [0001] The invention relates to the field of data processing, in particular to a method and device for data backup and a method and device for restoring data. Background technique [0002] ElasticSearch (ES for short) is a Lucene-based search server that can provide a full-text search engine with distributed multi-user capabilities. For the data in the ES cluster, in order to prevent the operator from misoperation and deleting necessary data, the data in the ES cluster needs to be backed up. In this way, in the case of necessary data loss, backups can be used to restore the data in the ES cluster, thereby ensuring data security. [0003] In the prior art, the data backup of the ES cluster is implemented through snapshots, that is, when backup is required, all data in the current ES cluster is backed up. It can be seen that the data backup method implemented by the snapshot method is actually a full backup method. However, since all data in the ES cluster i...

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/14H04L29/08
CPCG06F11/1451G06F11/1469G06F2201/80H04L67/1095H04L67/1097
Inventor 王晓涛
Owner BEIJING GRIDSUM TECH CO LTD
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