tencent cloud

TencentDB for MongoDB

Backup Introduction

ダウンロード
フォーカスモード
フォントサイズ
最終更新日: 2026-10-23 21:17:14
AI翻訳

Introduction

To prevent data loss or damage caused by hardware or software exceptions, misoperations, or disasters, TencentDB for MongoDB provides the full backup feature, which ensures that the database can be restored to a specific historical time point in case of unexpected situations, maximizing the integrity and availability of business data.

Backup Type

Backup Type
Description
Feature
Backup methods classified based on the backup operation triggering mechanism
Automatic backup
A method that periodically and automatically performs backup operations based on a preset backup policy (such as initiating backup tasks at 2:00 to 3:00 AM every day)
Automatic backup execution based on a preset policy
Manual backup
A method that sets backup parameters and performs a full backup operation immediately based on business, Ops, troubleshooting, or other immediate requirements
Immediate backup task initiation
Backup methods classified based on the backup implementation mechanism

Physical backup
A method that directly copies the underlying physical files of the database (such as data files, index files, and log files)
Fast backup speed, direct file copying without parsing database content, and high backup and rollback efficiency
Logical backup
A method that backs up data based on the logical structure of the database, such as table structures and data records
Note:
TencentDB for MongoDB uses the mongodump tool to store the database operation logs to logical backup files for data backup. During data recovery, the operation records are rolled back through the operation logs to restore data.
Slow backup speed, good portability, able to restore logical backups to different database versions, more storage space required, and database performance affected in the backup process
Snapshot backup
A method that creates snapshots for Cloud Block Storage (CBS) instances at the storage layer to capture the disk data status at a specific time point
Fast backup speed, minimal impact on database performance, no downtime, and easy data recovery from snapshots
Backup methods classified based on the backup data integrity requirements
Full backup
A method that saves a complete copy of all data at a specific time point using logical, physical, and snapshot backups
Long backup time, large storage space occupation, and fast data recovery
Incremental backup
A method that modifies backup data using incremental data recorded using Oplogs
Short backup time, less storage space occupation (only the changed data), and slow data recovery

Version Description

Instance Type
Version
Backup Implementation Mechanism
Local Disk
Versions 3.2 and 3.6
Logical backup
4.0 and later versions
Logical backup and physical backup
Cloud disk
4.0 and later versions
Snapshot backup and physical backup

Backup Policy

The backup service for local disks (all versions 3.2 and later) will be officially commercialized starting from 00:00:00 on November 20, 2025 (UTC+8). Advanced backup features are launched, including custom backup retention periods, incremental backup downloading, full backup set deletion, and backup alarms. Backup storage capacity that exceeds the free backup quota will be billed on a pay-as-you-go basis. You can voluntarily enable the advanced backup feature in the console based on your data protection needs, and billing will start immediately after it is enabled.
Advanced Backup
Feature Description
Specific Operation
Backup Cycle
Sets the specific date for automatic backup tasks by week. For example, backup is performed on Monday and Thursday every week.
Backup Frequency
Sets the number of backup tasks to be executed on the backup day (N). The value range is 1 or 2.
Incremental Backup
Incremental backup can be enabled for automatic backup to back up data changed since the last full backup.
Backup Retention Policy
Backup files support retention policies of different durations.
Default policy:
Auto-backup is enabled by default with a retention period of 7 days, and the value range is [7, 365].
Manual backup: The value range is [1, 1095].
Long-term backup retention: You can select backup files from specific dates on a weekly or monthly basis to retain them for a longer period, with a value range of [30, 1075] days.
Standalone backup retention: When an instance is terminated, its backup files are retained independently without any retention period limit until they are manually deleted.
Excessive Backup Alarm
Sets the alarm threshold for storage utilization of the backup data set. By default, an alarm is triggered when the backup data volume reaches 100% of the storage capacity (for instances of the General Edition).
Pay-as-you-go
Full and incremental backups are billed in pay-as-you-go mode for the occupied storage space. The fees are settled on the hour (UTC+8), accurate to seconds.
The cloud disk edition implements backup through the snapshot mechanism of the underlying Cloud Block Storage (CBS), offering the inherent advantages of second-level backup generation and zero performance impact on business. In addition, backup storage is completely free, making it more suitable for lightweight scenarios that prioritize backup efficiency and storage cost control.

ヘルプとサポート

この記事はお役に立ちましたか?

フィードバック