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

Rapid data rollback method and device based on MongoDB

A data rollback and data technology, applied in the computer field, can solve the problems of low rollback efficiency, long time consumption, and inability to realize data rollback, so as to improve efficiency and accuracy, and shorten rollback time

Pending Publication Date: 2022-07-29
在线途游(北京)科技有限公司 +1
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the above method, the full backup data and partial incremental backup data need to be restored to the cluster. The whole process is complex and time-consuming, and the rollback efficiency is low, and accurate data rollback cannot be achieved.

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
  • Rapid data rollback method and device based on MongoDB
  • Rapid data rollback method and device based on MongoDB
  • Rapid data rollback method and device based on MongoDB

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present application. However, the present application can be implemented in many other ways different from those described herein, and those skilled in the art can make similar promotions without departing from the connotation of the present application. Therefore, the present application is not limited by the specific implementation disclosed below.

[0022] The terminology used in one or more embodiments of the present application is for the purpose of describing a particular embodiment only, and is not intended to limit the one or more embodiments of the present application. As used in one or more embodiments of this application and the appended claims, the singular forms "a," "the," and "the" are intended to include the plural forms as well, unless the context clearly dictates otherwise. It will also be understood that the term "and / or" as used i...

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 provides a rapid data rollback method and device based on MongoDB, computing equipment and a computer readable storage medium. The method comprises the following steps: generating a rollback command, wherein the rollback command comprises a rollback identifier; obtaining a backup file of the MongoDB database, and cutting the backup file according to the rollback command to obtain a target backup file; recovering the target backup file to the temporary cluster, and performing data verification; and covering the production environment with the data of the temporary cluster to complete data rollback. By means of the method, when the data is rolled back, the full backup file is not recovered any more, the full backup data is clipped through the clipping tool, the target backup file is obtained according to the actual rolling-back requirement, an accurate rolling-back scheme is achieved, and the rolling-back time is greatly shortened.

Description

technical field [0001] The present application relates to the field of computer technologies, and in particular, to a method and device for fast data rollback based on MongoDB, a computing device, and a computer-readable storage medium. Background technique [0002] MongoDB database is a database based on distributed file storage. It is an open source NoSQL database. It supports the binary son data format similar to json, so it can store more complex data types. In the prior art, when a user needs to perform data rollback or recovery on MongoDB, it is usually necessary to obtain a full backup file and restore the full backup file to a temporary cluster, and then restore part of the incremental data to the temporary cluster according to the log file. Finally, the data of the temporary cluster is overwritten to the production environment cluster to complete the rollback. [0003] In the above method, it is necessary to restore the full backup data and part of the incremental ...

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/1451G06F11/1464G06F11/1474G06F2201/80
Inventor 赵景明刘洋林峰乐坚强
Owner 在线途游(北京)科技有限公司
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