Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.
Original topic: tiup br backup table 可以一次性备份多张表吗?
Can tiup br backup table
backup multiple tables at once?
Based on the configuration found online:
After testing, it reports an error. If modified to a single table, it works fine.
To back up multiple tables, use the -f parameter to filter.
Backup multiple tables at once using this: TiDB 快照备份与恢复命令行手册 | PingCAP 文档中心
If you need to back up multiple databases or tables with more complex filtering conditions, execute the br backup full
command and use --filter
or -f
to specify the table filter rules.
How about trying to filter out the tables you don’t want to back up?
Sure, just add a filter rule.
You can check the grammar here: https://learn.pingcap.cn/learner/course/30002. The BR chapter of the 301 course has a detailed explanation, you can refer to it.
Support. Check the documentation.
Sure, add some filtering rules.
Support, add filter rule -f
Support. --filter parameter
According to thread configuration