Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.Original topic: TiDB生产环境的增量备份以及恢复数据怎么做?
【TiDB Usage Environment】Production Environment
【TiDB Version】4.0.12
【Encountered Problem】How to perform incremental backup and point-in-time data recovery
【Reproduction Path】What operations were performed that caused the problem
【Problem Phenomenon and Impact】
- Currently using TiDB in the production environment, TiDB (4.0.12) On K8S (1.19)
- How to perform incremental backup? Incremental data uploaded to S3
- How to perform point-in-time recovery with full and incremental data?
Key Point: Production environment, not a test environment
After searching for a long time, it is currently recommended not to use in production environments. So, what components are recommended for incremental backup in production environments?
【Attachments】
- Relevant logs, configuration files, Grafana monitoring (https://metricstool.pingcap.com/)
- TiUP Cluster Display information
- TiUP Cluster Edit config information
- TiDB-Overview monitoring
- Corresponding module Grafana monitoring (if any, such as BR, TiDB-binlog, TiCDC, etc.)
- Corresponding module logs (including logs one hour before and after the problem)
If the question is related to performance optimization or fault troubleshooting, please download the script and run it. Please select all and copy-paste the terminal output results for upload.