Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add document of dumpling, the new export tool #3151

Merged
merged 25 commits into from
May 26, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
764f465
dumpling: add a how-to of dumpling.
May 19, 2020
df46891
Merge branch 'docs-special-week' into sw-dumpling
YuJuncen May 19, 2020
feb154c
dumpling: change document by code review.
May 20, 2020
7b767a5
Merge branch 'sw-dumpling' of https://github.com/YuJuncen/docs-cn int…
May 20, 2020
d784de9
Update mydumper-overview.md
YuJuncen May 20, 2020
44b09f7
Merge branch 'docs-special-week' into sw-dumpling
YuJuncen May 20, 2020
f3821cc
Merge branch 'docs-special-week' into sw-dumpling
lilin90 May 20, 2020
446d081
*: udpate file name and wording
lilin90 May 20, 2020
de2afb9
Apply suggestions from code review
YuJuncen May 21, 2020
0e03726
dumpling: move intrduction of --sql and --where.
YuJuncen May 21, 2020
63012c8
dumpling: move a warnning of --where flag
YuJuncen May 21, 2020
66bd9c8
Rename export-data-using-dumpling.md to export-or-backup-using-dumpli…
YuJuncen May 21, 2020
a39267a
dumpling: fix some links
YuJuncen May 21, 2020
4be6349
Merge branch 'docs-special-week' into sw-dumpling
YuJuncen May 21, 2020
1ab5ee9
Update export-or-backup-using-dumpling.md
YuJuncen May 21, 2020
e95c470
Merge branch 'docs-special-week' into sw-dumpling
YuJuncen May 24, 2020
7276c64
Merge branch 'docs-special-week' into sw-dumpling
YuJuncen May 25, 2020
d50d517
mydumper: remove deprecated info for mydumper
May 25, 2020
09f0854
Merge branch 'docs-special-week' into sw-dumpling
YuJuncen May 25, 2020
8818321
Merge branch 'docs-special-week' into sw-dumpling
3pointer May 25, 2020
10370c0
Merge branch 'docs-special-week' into sw-dumpling
3pointer May 25, 2020
325c78a
Update export-or-backup-using-dumpling.md
YuJuncen May 26, 2020
4fe19d4
Update export-or-backup-using-dumpling.md
YuJuncen May 26, 2020
3b389f1
Update export-or-backup-using-dumpling.md
lilin90 May 26, 2020
134f954
Merge branch 'docs-special-week' into sw-dumpling
sre-bot May 26, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Apply suggestions from code review
Co-authored-by: Lilian Lee <lilin@pingcap.com>
  • Loading branch information
YuJuncen and lilin90 authored May 21, 2020
commit de2afb9c891cccb2b031381a9b9d6f1a225f759d
2 changes: 1 addition & 1 deletion TOC.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
+ [使用 TiDB Operator](https://pingcap.com/docs-cn/tidb-in-kubernetes/stable/scale-a-tidb-cluster/)
+ 备份与恢复
+ [使用 Mydumper 和 TiDB Lightning 进行备份与恢复](/backup-and-restore-using-mydumper-lightning.md) @栾成
+ [使用 Dumpling 导出 TiDB 数据](/export-data-using-dumpling.md)
+ [使用 Dumpling 导出或备份 TiDB 数据](/export-or-backup-using-dumpling.md)
+ 使用 BR 工具
+ [使用 BR 进行备份与恢复](/br/backup-and-restore-tool.md) @栾成
+ [BR 备份与恢复场景示例](/br/backup-and-restore-use-cases.md) @栾成
Expand Down
4 changes: 1 addition & 3 deletions backup-and-restore-using-mydumper-lightning.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@ aliases: ['/docs-cn/dev/how-to/maintain/backup-and-restore/mydumper-lightning/',

> **警告:**
>
> 本文中提到的 `MyDumper` 已经不再由我们维护。
>
> 建议尽可能转移到新的数据导出工具 [Dumpling](/export-using-dumpling.md) 加上现有的 [TiDB Lightning](/tidb-lightning/tidb-lightning-overview.md) 完成全量数据的备份与恢复。
> 本文中提到的 `MyDumper` 导出方式我们已不再维护。建议使用新的数据导出工具 [Dumpling](/export-data-using-dumpling.md)。
YuJuncen marked this conversation as resolved.
Show resolved Hide resolved

本文档将详细介绍如何使用 Mydumper/TiDB Lightning 对 TiDB 进行全量备份与恢复。增量备份与恢复可使用 [TiDB Binlog](/tidb-binlog/tidb-binlog-overview.md)。

Expand Down
4 changes: 2 additions & 2 deletions export-data-using-dumpling.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ summary: 使用新的导出工具 Dumpling 导出或者备份数据。
category: how-to
---

# 使用 Dumpling 导出 TiDB 数据
# 使用 Dumpling 导出或备份 TiDB 数据

本文档介绍如何使用数据导出工具 [Dumpling](https://github.com/pingcap/dumpling)。该工具可以把存储在 TiDB 中的数据导出为 SQL 或者 CSV 格式,可以用于完成逻辑上的全量备份或者导出。

Expand Down Expand Up @@ -99,4 +99,4 @@ update mysql.tidb set VARIABLE_VALUE = '720h' where VARIABLE_NAME = 'tikv_gc_lif
update mysql.tidb set VARIABLE_VALUE = '10m' where VARIABLE_NAME = 'tikv_gc_life_time';
```

最后,所有的这些导出数据都可以用 [Lightning](/tidb-lightning/tidb-lightning-tidb-backend.md) 导入回 TiDB。
最后,所有的这些导出数据都可以用 [Lightning](/tidb-lightning/tidb-lightning-tidb-backend.md) 导入回 TiDB。
4 changes: 1 addition & 3 deletions mydumper-overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@ aliases: ['/docs-cn/dev/reference/tools/mydumper/']

> **警告:**
>
> 本文中提到的 `MyDumper` 已经不再由我们维护。
>
> 建议尽可能转移到新的数据导出工具 [Dumpling](/export-using-dumpling.md)。
> 本文中提到的 `MyDumper` 导出方式我们已不再维护。建议使用新的数据导出工具 [Dumpling](/export-data-using-dumpling.md)。
YuJuncen marked this conversation as resolved.
Show resolved Hide resolved

## Mydumper 简介

Expand Down