# BR 的使用 - 多张表备份

__*BR 使用*__
__*BR 多张表备份*__

```
br backup full \
    --pd "${PDIP}:2379" \
    --filter 'db*.tbl*' \
    --storage "s3://backup-data/table-filter/2022-01-30/" \
    --ratelimit 128 \
    --log-file backupfull.log
```
-------------------------------------------------------------
如果你需要以更复杂的过滤条件来备份多个库/表,执行 br backup full 命令,并使用 --filter 或 -f 来指定表库过滤规则。

用例:以下命令将所有 db*.tbl* 形式的表格数据备份到 s3 的名为 backup-data 的 bucket 下面的 table-filter/2022-01-30/ 前缀目录下。

br backup full \
    --pd "${PDIP}:2379" \
    --filter 'db*.tbl*' \
    --storage "s3://backup-data/table-filter/2022-01-30/" \
    --ratelimit 128 \
    --log-file backupfull.log