tencent cloud

TencentDB for MongoDB

Release Notes and Announcements
Release Notes
Announcements
User Guide
Product Introduction
Overview
Strengths
Use Cases
Cluster Architecture
Product Specifications
Features
Regions and AZs
Terms
Service Regions and Service Providers
Purchase Guide
Billing Overview
MongoDB Pricing
Billing Formula
Payment Overdue
Backup Space Billing
Configuration Adjustment Billing
Getting Started
Quickly Creating an Instance
Connecting to a TencentDB for MongoDB Instance
Reading/Writing Database
Operation Guide
Access Management
Instance Management
Node Management
Version Upgrade
Network Configuration
Monitoring
Backup and Rollback
Database Audit
Data Security
SSL Authentication
Log Management
Database Management
Multi-AZ Deployment
Disaster Recovery/Read-Only Instances
Parameter Configuration
Recycle Bin
Task Management
Performance Optimization
Data Migration Guide
Practical Tutorial
Optimizing Indexes to Break Through Read/Write Performance Bottlenecks
Troubleshooting Mongos Load Imbalance in Sharded Cluster
Considerations for Using Shard Clusters
Sample of Reading and Writing Data in MongoDB Instance
Methods for Importing and Exporting Data Based on CVM Connected with MongoDB
What to Do for Errors of Repeated Instance Creation and Deletion of Databases with the Same Names?
Troubleshooting MongoDB Connection Failures
Shard Removal Task: Guide for Confirming the Progress and Troubleshooting Issues
Performance Fine-Tuning
Ops and Development Guide
Development Specifications
Command Support in Sharded Cluster v3.2
Command Support in v3.6
Development Ops
Troubleshooting
Increased Slow Queries
Number of Connections Exceeding Limit
API Documentation
History
Introduction
API Category
Making API Requests
Instance APIs
Backup APIs
Account APIs
Other APIs
Task APIs
Introduction
Data Types
Error Codes
Instance Connection
Shell Connection Sample
PHP Connection Sample
Node.js Connection Sample
Java Connection Sample
Python Connection Sample
Python Read/Write Sample
Go Connection Sample
PHP Reconnection Sample
Product Performance
Test Environment
Test Method
Test Result
FAQs
Cost
Features
Sharded Cluster
Instance
Rollback and Backup
Connection
Data Migration
Others
Service Agreement
Service Level Agreement
Terms of Service
Glossary
Contact Us

Rollback and Backup

PDF
Modo Foco
Tamanho da Fonte
Última atualização: 2024-01-15 14:49:56

How do I perform daily automatic backup and manual backup in TencentDB for MongoDB?

TencentDB for MongoDB supports two backup modes: daily automatic backup and manual backup. The backup data is retained for 7 days by default.
Automatic backup An instance can be automatically backed up once a day. You can view details on the Backup and Rollback tab on the management page in the TencentDB for MongoDB console by clicking the instance ID.
Manual backup On the Backup and Rollback tab, click Manual Backup in the top-right corner, enter remarks in the pop-up window, and click Submit to complete manual backup.

What determines the rollback time of a TencentDB for MongoDB instance?

Rollback is based on the latest full backup image and oplog. The rollback time is subject to the amount of replayed oplogs. If the rollback is performed a long time after the full backup is completed, it will take more time to replay oplogs.

How do I back up and roll back an instance in TencentDB for MongoDB?

Replica set or sharded cluster instances currently support instance-level and database/collection-level backup and rollback.
Backup In the TencentDB for MongoDB console, click an instance ID to enter the instance management page and click Manual Backup or set automatic backup on the Backup and Rollback tab. For detailed directions, see Data Backup.
Rollback You need to enter a date to which you want to roll the instance back. You can enter any time point within the last 7 days. When you need to restore multiple collections of the database, you can perform Collection Rollback in the console to restore the data to the current instance or a new instance. When you need to restore the data of the entire instance, you can directly clone a new instance based on the backup file of the current instance to restore the data. For detailed directions, see Data Recovery.

How do I reduce jitters during instance backup?

By default, TencentDB for MongoDB performs full and incremental backups for the cluster data at midnight and supports rollback to any time point within the past 7 days. However, as the volume of the cluster data increases, the cluster may experience jitters regularly in the following aspects:
1. The access latency increases.
2. Slow logs increase.
3. The CPU utilization increases.
Analysis shows that the problem occurs when data backup is performed. Because the data of the entire instance needs to be backed up during physical and logical backups, the system resource load increases, which eventually affects the business query service.
Solution: Hide the node during data backup to ensure that it is invisible to users. You can submit a ticket for assistance.

Ajuda e Suporte

Esta página foi útil?

comentários