From a678ae11b1830a0b67781d5adc41c7729ba88eb2 Mon Sep 17 00:00:00 2001 From: Liuxiaozhen12 Date: Sun, 25 Apr 2021 11:05:29 +0800 Subject: [PATCH 1/6] translation from dumpling: update table-filter translation from dumpling: update table-filter #6058 --- 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 6bae306a709d7..e2b1d31a05853 100644 --- a/dumpling-overview.md +++ b/dumpling-overview.md @@ -339,7 +339,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 except for 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 6f295482f5a7c..dd000906a74d1 100644 --- a/table-filter.md +++ b/table-filter.md @@ -241,7 +241,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` From 2c27511a95b845ebfd725036c2e2ae1e80ebeace Mon Sep 17 00:00:00 2001 From: Liuxiaozhen12 Date: Sun, 25 Apr 2021 11:16:49 +0800 Subject: [PATCH 2/6] delete a space --- dumpling-overview.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dumpling-overview.md b/dumpling-overview.md index e2b1d31a05853..eedd2e8d90d7d 100644 --- a/dumpling-overview.md +++ b/dumpling-overview.md @@ -339,7 +339,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). |[\*.\*,!/^(mysql|sys|INFORMATION_SCHEMA|PERFORMANCE_SCHEMA|METRICS_SCHEMA|INSPECTION_SCHEMA)$/.\*] (export all databases or tables except for system schemas) | +| `-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 except for 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 | From 18828d6d5df0925caaa68066fe0c48833b4f2035 Mon Sep 17 00:00:00 2001 From: Xiaozhen Liu <82579298+Liuxiaozhen12@users.noreply.github.com> Date: Sun, 25 Apr 2021 15:45:29 +0800 Subject: [PATCH 3/6] Update dumpling-overview.md --- dumpling-overview.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dumpling-overview.md b/dumpling-overview.md index eedd2e8d90d7d..88fd2a78ef57b 100644 --- a/dumpling-overview.md +++ b/dumpling-overview.md @@ -339,7 +339,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). |[\*.\*,!/^(mysql|sys|INFORMATION_SCHEMA| PERFORMANCE_SCHEMA| METRICS_SCHEMA|INSPECTION_SCHEMA)$/.\*](export all databases or tables except for system schemas) | +| `-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 except for 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 | From ab3583311bcb11d80facf0505aefc46ad7eece4e Mon Sep 17 00:00:00 2001 From: Xiaozhen Liu <82579298+Liuxiaozhen12@users.noreply.github.com> Date: Sun, 25 Apr 2021 15:47:59 +0800 Subject: [PATCH 4/6] Update dumpling-overview.md --- dumpling-overview.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dumpling-overview.md b/dumpling-overview.md index 88fd2a78ef57b..817c2ee37f9ed 100644 --- a/dumpling-overview.md +++ b/dumpling-overview.md @@ -339,7 +339,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). |`[\*.\*,!/^(mysql|sys|INFORMATION_SCHEMA| PERFORMANCE_SCHEMA| METRICS_SCHEMA|INSPECTION_SCHEMA)$/.\*]`(export all databases or tables except for system schemas) | +| `-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 except for 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 | From ec8fd0aa13b4d6e892926661d81b0ac9a017abc1 Mon Sep 17 00:00:00 2001 From: Xiaozhen Liu <82579298+Liuxiaozhen12@users.noreply.github.com> Date: Sun, 25 Apr 2021 15:55:23 +0800 Subject: [PATCH 5/6] Update dumpling-overview.md --- dumpling-overview.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dumpling-overview.md b/dumpling-overview.md index 817c2ee37f9ed..4af6d94b25d5c 100644 --- a/dumpling-overview.md +++ b/dumpling-overview.md @@ -339,7 +339,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). | `[\*.\*,!/^(mysql|sys|INFORMATION_SCHEMA|PERFORMANCE_SCHEMA|METRICS_SCHEMA|INSPECTION_SCHEMA)$/.\*]`(export all databases or tables except for system schemas) | +| `-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 except for 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 | From 2af65e5121afa81737f05db8b4af98f07e50cf2a Mon Sep 17 00:00:00 2001 From: Xiaozhen Liu <82579298+Liuxiaozhen12@users.noreply.github.com> Date: Mon, 26 Apr 2021 16:29:57 +0800 Subject: [PATCH 6/6] Update dumpling-overview.md Co-authored-by: TomShawn <41534398+TomShawn@users.noreply.github.com> --- dumpling-overview.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dumpling-overview.md b/dumpling-overview.md index 4af6d94b25d5c..3e1484ab15da4 100644 --- a/dumpling-overview.md +++ b/dumpling-overview.md @@ -339,7 +339,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). | `[\*.\*,!/^(mysql|sys|INFORMATION_SCHEMA|PERFORMANCE_SCHEMA|METRICS_SCHEMA|INSPECTION_SCHEMA)$/.\*]`(export all databases or tables except for system schemas) | +| `-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 |