百度智能云

All Product Document

          Cloud Database MONGODB

          MongoDB Data Backup Overview

          The cloud database MongoDB supports the data backup of your database instance, ensuring data reliability. When a database is deleted mistakenly or maliciously, you can rely on the instance backup to ensure database security. Baidu Cloud Database MongoDB provides multiple data backup methods to meet the data Backup requirements for the MongoDB database in different scenarios.

          Introduction of backup methods

          Database Backup Method Supported Instance Types Description of Backup Methods
          Automatic backup Repalica cluster instance Perform the automatic physical backup according to the backup policy set by users.
          Manual backup Repalica cluster instance Users can initiate a physical backup or a logic backup.
          Sharded Cluster Instance Users can start a physical backup.

          Descriptions:

          • Physical backup: Back up the physical files related to the database in the MongoDB instance. The physical backup is faster than the logic backup, while its recovery speed is faster either.
          • Logic backup: Save the data and oplog into a logic backup file through the Mongodump tool. During the data restoration, restore the data by means of inserting the data and rolling back the oplog.

          Backup Influence

          • A backup file generated by the cloud database MongoDB is stored in the Baidu Object Storage (BOS), with the storage space for the MongoDB instances not being occupied.
          • Both phyisical backup and logic backup can be done at a hidden node of the MongoDB instance, without any influence on the read and write performance of the master and slave nodes. If the data volume is big, it can take a longer time to complete the backup. Thus, wait a while patiently.
          Previous
          Connect to Instance
          Next
          Manual Backup of MongoDB Data