From 7c618062036412550a807df5e7cc3218c9ebe4b4 Mon Sep 17 00:00:00 2001 From: Xiaozhen Liu <82579298+Liuxiaozhen12@users.noreply.github.com> Date: Mon, 26 Apr 2021 16:39:57 +0800 Subject: [PATCH] cherry pick #5463 to release-5.0 Signed-off-by: ti-srebot --- dumpling-overview.md | 2 +- table-filter.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dumpling-overview.md b/dumpling-overview.md index 4c68e797f9be2..287d08a56dcd9 100644 --- a/dumpling-overview.md +++ b/dumpling-overview.md @@ -338,7 +338,7 @@ Finally, all the exported data can be imported back to TiDB using [TiDB Lightnin | `-V` or `--version` | Output the Dumpling version and exit directly | | `-B` or `--database` | Export specified databases | | `-T` or `--tables-list` | Export specified tables | -| `-f` or `--filter` | Export tables that match the filter pattern. For the filter syntax, see [table-filter](/table-filter.md). | `"\*.\*"` (export all databases or tables) | +| `-f` or `--filter` | Export tables that match the filter pattern. For the filter syntax, see [table-filter](/table-filter.md). | `[\*.\*,!/^(mysql|sys|INFORMATION_SCHEMA|PERFORMANCE_SCHEMA|METRICS_SCHEMA|INSPECTION_SCHEMA)$/.\*]` (export all databases or tables excluding system schemas) | | `--case-sensitive` | whether table-filter is case-sensitive | false (case-insensitive) | | `-h` or `--host` | The IP address of the connected database host | "127.0.0.1" | | `-t` or `--threads` | The number of concurrent backup threads | 4 | diff --git a/table-filter.md b/table-filter.md index 774c3c91705c5..ca1cfd8c8be30 100644 --- a/table-filter.md +++ b/table-filter.md @@ -240,7 +240,7 @@ The filtered outcome is as follows: > **Note:** > -> In TiDB tools, the system schemas are always excluded regardless of the table filter settings. The system schemas are: +> In TiDB tools, the system schemas are always excluded in the default configuration. The system schemas are: > > * `INFORMATION_SCHEMA` > * `PERFORMANCE_SCHEMA`