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

MongoDB database backup and recovery method

A database and backup technology, applied in the field of distributed databases and cloud services, can solve problems such as the inability to store MongoDB remote objects, achieve the effects of reducing local disk IO, ensuring security, and simplifying the process of storage and recovery

Pending Publication Date: 2022-01-18
SHANDONG LANGCHAO YUNTOU INFORMATION TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In order to solve the above technical problems, the present invention provides a MongoDB database backup and recovery method. For the problem that MongoDB cannot be directly stored in remote objects, a swift-based storage method is provided, and each database node is redeployed, configured Agent process, backup and restore through the command line

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
  • MongoDB database backup and recovery method
  • MongoDB database backup and recovery method
  • MongoDB database backup and recovery method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0045] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work belong to the protection of the present invention. scope.

[0046] Swift and MongoDB are highly compatible. MongoDB is oriented to collection storage, and it is less difficult to store object-type data. The method of remote storage backup and direct recovery can reduce disk IO and effectively simplify the process of backup and recovery.

[0047] The invention provides a method for remote storage using OpenStack ...

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 MongoDB database backup and recovery method, and belongs to the field of distributed databases and cloud services. The invention provides a method for remote storage by using OpenStack swift. The method is used for uploading data such as backup files and file meta-information in MongoDB to a far-end swift server for storage. The mode of storing the objects is more beneficial to operations such as data query and update, and the operation and maintenance cost can be effectively reduced.

Description

technical field [0001] The invention relates to the field of distributed databases and cloud services, in particular to a method for backing up and restoring a MongoDB database. Background technique [0002] As an open source document database, MongoDB is also a distributed database with high availability and high performance. MongoDB is written in C++ language, which makes full use of the advantages of memory computing and has strong scalability and stability. MongoDB is different from relational databases and non-relational databases. It is a database between the two. The data structure stores data as documents in the form of key-value key-value pairs. The easily dispersed data makes the database easier to implement. expand. MongoDB is suitable for scenarios where the relationship is relatively simple and the amount of stored data is relatively large. Thanks to its quick deployment and easy use, MongoDB is being widely used by more and more users. [0003] For the prob...

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
IPC IPC(8): G06F11/14
CPCG06F11/1448G06F11/1469
Inventor 郭文豪刘刚王阳赵山高传集
Owner SHANDONG LANGCHAO YUNTOU INFORMATION 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