Method and device for data backup, method and device for data restoration

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

Active Publication Date: 2021-02-05
BEIJING GRIDSUM TECH CO LTD
View PDF10 Cites 0 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
  • Method and device for data backup, method and device for data restoration
  • Method and device for data backup, method and device for data restoration
  • Method and device for data backup, method and device for data restoration

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 this 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 backup proce...

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 present invention discloses a method and device for data backup and a method and device for restoring data. The execution time of the previous backup task is used as the start time and the execution time of this backup task is used as the end time. According to the index of the ElasticSearch cluster The update time recorded in , find out the data that has been updated between the start time and the end time, so that only the found data is backed up. It can be seen that by recording the update time of the data in the index of the ElasticSearch cluster and recording the execution time of each backup task, the ElasticSearch cluster can realize incremental backup, which avoids repeated backup of the same data, thereby not only improving backup efficiency , and also saves disk space taken up by backups.

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 Patents(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 Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products