tencent cloud

TDSQL-C for MySQL

Release Notes and Announcements
Release Notes
Product Announcements
Beginner's Guide
Product Introduction
Overview
Strengths
Use Cases
Architecture
Product Specifications
Instance Types
Product Feature List
Database Versions
Regions and AZs
Common Concepts
Use Limits
Suggestions on Usage Specifications
Kernel Features
Kernel Overview
Kernel Version Release Notes
Optimized Kernel Version
Functionality Features
Performance Features
Security Features
Stability Feature
Analysis Engine Features
Inspection and Repair of Kernel Issues
Purchase Guide
Billing Overview
Product Pricing
Creating Cluster
Specification Adjustment Description
Renewal
Payment Overdue
Refund
Change from Pay-as-You-Go to Yearly/Monthly Subscription
Change from Pay-as-You-Go to Serverless Billing
Value-Added Services Billing Overview
Viewing Billing Statements
Getting Started
Database Audit
Overview
Viewing Audit Instance List
Enabling Audit Service
Viewing Audit Logs
Log Shipping
Post-Event Alarm Configuration
Modifying Audit Rule
Modifying Audit Service
Disabling Audit Service
Audit Rule Template
Viewing Audit Task
Authorizing Sub-User to Use Database Audit
Serverless Service
Serverless Introduction
Creating and Managing a Serverless Cluster
Elastic Scaling Management Tool
Serverless Resource Pack
Multi-AZ Deployment
Configuration Change
FAQs
Serverless Cost Estimator
Operation Guide
Operation Overview
Switching Cluster Page View in Console
Database Connection
Instance Management
Configuration Adjustment
Instance Mode Management
Cluster Management
Scaling Instance
Database Proxy
Account Management
Database Management
Database Management Tool
Parameter Configuration
Multi-AZ Deployment
GD
Backup and Restoration
Operation Log
Data Migration
Parallel Query
Columnar Storage Index (CSI)
Analysis Engine
Database Security and Encryption
Monitoring and Alarms
Basic SQL Operations
Connecting to TDSQL-C for MySQL Through SCF
Tag
Practical Tutorial
Classified Protection Practice for Database Audit of TDSQL-C for MySQL
Upgrading Database Version from MySQL 5.7 to 8.0 Through DTS
Usage Instructions for TDSQL-C MySQL
New Version of Console
Implementing Multiple RO Groups with Multiple Database Proxy Connection Addresses
Strengths of Database Proxy
Selecting Billing Mode for Storage Space
Creating Remote Disaster Recovery by DTS
Creating VPC for Cluster
Data Rollback
Solution to High CPU Utilization
How to Authorize Sub-Users to View Monitoring Data
White Paper
Security White Paper
Performance White Paper
Troubleshooting
Connection Issues
Performance Issues
API Documentation
History
Introduction
API Category
Making API Requests
Instance APIs
Multi-Availability Zone APIs
Other APIs
Audit APIs
Database Proxy APIs
Backup and Recovery APIs
Parameter Management APIs
Billing APIs
serverless APIs
Resource Package APIs
Account APIs
Performance Analysis APIs
Data Types
Error Codes
FAQs
Basic Concepts
Purchase and Billing
Compatibility and Format
Connection and Network
Features
Console Operations
Database and Table
Performance and Log
Database Audit
Between TDSQL-C for MySQL and TencentDB for MySQL
Service Agreement
Service Level Agreement
Terms of Service
TDSQL-C Policy
Privacy Policy
Data Privacy and Security Agreement
General References
Standards and Certifications
Glossary
Contact Us

Backup and Rollback Overview

PDF
Focus Mode
Font Size
Last updated: 2026-03-06 15:36:05
Data is the core asset of enterprises. As your business develops, your data grows in a large-scale and explosive manner. Business applications require real-time, online, and fast data processing. It is more and more challenging for database Ops engineers to protect the data integrity, as data loss may occur for a variety of causes, such as accidental deletion, system vulnerabilities and viruses, hardware failures, and even natural disasters. Therefore, backup and rollback are of significant importance to databases.

Backup Overview

TDSQL-C for MySQL supports data backup and log backup (binlog backup and redolog backup). A complete data backup combined with subsequent log backups allows you to restore the entire TDSQL-C for MySQL cluster or specific databases or tables to any point in time.
The backup and rollback console UI is as shown below:


Data backup

Data backup means generating a backup file containing all the data in a cluster at a specific time point. TDSQL-C for MySQL supports logical backup and snapshot backup. The former is a full backup, while the latter is a full + incremental backup.
Logical backup: It supports full backup only, where the logical structure and content of a database are stored as SQL statements. It backs up database objects, including tables, indexes, and stored procedures. This mode features a more refined backup granularity at the database or table level and a lower impact on the performance; however, it is slow and space-intensive.
Snapshot backup: It uses the redirect-on-write (ROW) technology to take snapshots of the disks at the storage layer for backup. It features fast backup in seconds, imperceptibility to the computing layer, and low space usage.
Full backup: It copies all the data at a specific time point.
Incremental backup: It backs up only new or modified files based on the last backup.

Backup types

Backup Type
Strengths/Shortcomings
Object
Mode
Download
Deletion
Logical backup
Full backup
Strengths: The backup is at the database or table level, with a smaller impact on the database performance.
Shortcomings: The backup task locks the database, takes a long time, and uses a lot of space.
Objects such as tables, indexes, and stored procedures, as well as the entire cluster
Manual
Automatic
×
Snapshot backup
Full backup
Strengths: The backup task can be completed in seconds and imperceptible to the business, with a small space used.
Shortcomings: The backup file cannot be downloaded.
The entire cluster
Manual
×
×
Automatic
×
×
Incremental backup
Automatic
×
×

Log Backup

Backup Type
Strengths/Shortcomings
Object
Mode
Download
Deletion
Binlog backup
Incremental backup
Strengths: Incremental data is recorded and can be restored to any time point.
Shortcomings: The binlog backup task lowers the instance's write performance.
The entire cluster
Automatic
x
Redolog backup
Incremental backup
Strengths: Physical changes to data pages are recorded for crash recovery, ensuring transaction durability.
Shortcomings: Continuous redolog backup increases disk I/O pressure.
Entire cluster
Automatic
x
x
Log backup is the incremental data generated after a full backup file of the cluster is created at a specific point in time. TDSQL-C for MySQL generates a large number of binlogs when executing large transactions or a high volume of DML operations. The binlog backups are uploaded to cloud storage and displayed in the binlog backup list in the console. Binlog backups are used to store operation logs.
TDSQL-C for MySQL relies on redo logs rather than binlogs for rollback, so that even if binlog is disabled, data can still be rolled back to any time point, and the instance performance can be increased by over 30%.
Note:
Currently, TDSQL-C for MySQL doesn't support disabling binlog backup, which will be made available after the network architecture upgrade is completed.

Cross-Region Backup

TDSQL-C for MySQL provides a cross-region backup feature, supporting the storage of backup files in another region. This helps users enhance compliance and disaster recovery capabilities while improving data reliability. Currently, automatic logical backups, binlog backups, and manual logical backups (entire cluster) support the cross-region backup feature.

Note

Only one manual backup task can be performed per hour. Automatic backup tasks are performed according to your configuration, which is once per day by default.
Manual backup files can be manually deleted from the backup list. They are retained as long as they are not deleted; therefore, regularly delete those no longer needed to free up the space.
Automatic backups cannot be deleted manually. You can set a retention period so that they will be deleted automatically upon expiration.
You can query the binlog backup size in the log backup list. The total binlog backup size is the sum of sizes of all binlog backups.

Rollback Overview

TDSQL-C for MySQL supports data restoration to a specific time point through the rollback feature, minimizing potential system losses.
TDSQL-C for MySQL can roll back databases/tables to the original cluster and roll back an entire cluster (clone) to a new cluster. You can choose different rollback methods based on your business needs.
Note:
For database-level rollbacks, the following object types are not imported: foreign key constraints, check constraints, triggers, stored procedures, user views, and events.

Rollback Method

Rollback by backup file: This method restores the cluster to the data file state of a backup file. The selection range of the backup file is determined by the data backup retention period you set.
Rollback by time point: This method restores the cluster to any point in time. The selectable time range is determined by the configured retention period of binlog and redolog backups.

Help and Support

Was this page helpful?

Help us improve! Rate your documentation experience in 5 mins.

Feedback