Skip to content

Commit

Permalink
br: add best practice (pingcap#2167)
Browse files Browse the repository at this point in the history
* br: add best practice

* add link

* fix

* update pic

* update content to 3.1.beta.1

* fix lint

* fix dead link

* address comment

* fix lint

* fix lint

* address comment

* fix lint

* address commment

* address comment

* fix link

* Update v3.1/how-to/maintain/backup-and-restore/br-best-practice.md

Co-Authored-By: TomShawn <[email protected]>

* Update v3.1/how-to/maintain/backup-and-restore/br-best-practice.md

Co-Authored-By: TomShawn <[email protected]>

* Update v3.1/how-to/maintain/backup-and-restore/br-best-practice.md

Co-Authored-By: TomShawn <[email protected]>

* Update v3.1/how-to/maintain/backup-and-restore/br-best-practice.md

Co-Authored-By: TomShawn <[email protected]>

* Update v3.1/how-to/maintain/backup-and-restore/br-best-practice.md

Co-Authored-By: TomShawn <[email protected]>

* Update v3.1/how-to/maintain/backup-and-restore/br-best-practice.md

Co-Authored-By: TomShawn <[email protected]>

* Update v3.1/how-to/maintain/backup-and-restore/br-best-practice.md

Co-Authored-By: TomShawn <[email protected]>

* Update v3.1/how-to/maintain/backup-and-restore/br-best-practice.md

Co-Authored-By: TomShawn <[email protected]>

* Update v3.1/how-to/maintain/backup-and-restore/br-best-practice.md

Co-Authored-By: TomShawn <[email protected]>

* Update v3.1/how-to/maintain/backup-and-restore/br-best-practice.md

Co-Authored-By: TomShawn <[email protected]>

* Update v3.1/how-to/maintain/backup-and-restore/br-best-practice.md

Co-Authored-By: TomShawn <[email protected]>

* Update v3.1/how-to/maintain/backup-and-restore/br-best-practice.md

Co-Authored-By: TomShawn <[email protected]>

* Update v3.1/how-to/maintain/backup-and-restore/br-best-practice.md

Co-Authored-By: TomShawn <[email protected]>

* Update v3.1/how-to/maintain/backup-and-restore/br-best-practice.md

Co-Authored-By: TomShawn <[email protected]>

* Update v3.1/how-to/maintain/backup-and-restore/br-best-practice.md

Co-Authored-By: TomShawn <[email protected]>

* address comments

* address comments

* address comments

* Update v3.1/how-to/maintain/backup-and-restore/br-best-practice.md

Co-Authored-By: TomShawn <[email protected]>

* Apply suggestions from code review

Co-Authored-By: TomShawn <[email protected]>

* Apply suggestions from code review

Co-Authored-By: TomShawn <[email protected]>

* address comment

* address comment

* address comment

* address comment

* Apply suggestions from code review

Co-Authored-By: TomShawn <[email protected]>

* address comment

* address comment

* maintain: refine format and language

* maintain: refine format and add code snippets

* address comment

* address comment

* maintain: fix typos

* address comment

* fix ci

* add br document to TOC.md

Co-authored-by: Ian <[email protected]>
Co-authored-by: TomShawn <[email protected]>
  • Loading branch information
3 people authored Feb 6, 2020
1 parent a6ef666 commit acd272e
Show file tree
Hide file tree
Showing 28 changed files with 876 additions and 0 deletions.
1 change: 1 addition & 0 deletions dev/TOC.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@
+ 备份与恢复
- [使用 Mydumper/Loader 进行备份与恢复](/dev/how-to/maintain/backup-and-restore/mydumper-loader.md)
- [使用 BR 进行备份与恢复](/dev/how-to/maintain/backup-and-restore/br.md)
- [BR 备份与恢复最佳实践](/dev/how-to/maintain/backup-and-restore/br-best-practices.md)
- [定位慢查询](/dev/how-to/maintain/identify-slow-queries.md)
+ 扩容缩容
- [使用 Ansible 扩容缩容](/dev/how-to/scale/with-ansible.md)
Expand Down
435 changes: 435 additions & 0 deletions dev/how-to/maintain/backup-and-restore/br-best-practices.md

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions dev/how-to/maintain/backup-and-restore/br.md
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,8 @@ br restore table \
- 在使用共享存储时,推荐使用高吞吐的存储硬件,因为存储的吞吐会限制备份或恢复的速度。
- 推荐在业务低峰时执行备份操作,这样能最大程度地减少对业务的影响。

更多最佳实践内容,参见 [BR 最佳实践文档](/dev/how-to/maintain/backup-and-restore/br-best-practices.md)

## 备份和恢复示例

本示例展示如何对已有的集群数据进行备份和恢复操作。可以根据机器性能、配置、数据规模来预估一下备份和恢复的性能。
Expand Down
Binary file added media/br/backup-cpu.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added media/br/backup-diff.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added media/br/backup-diff2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added media/br/backup-errors.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added media/br/backup-io.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added media/br/backup-local-deploy.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added media/br/backup-nfs-deploy.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added media/br/backup-range-duration.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added media/br/backup-subtask-duration.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added media/br/backup-throughput.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added media/br/checksum-duration.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added media/br/restore-checksum.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added media/br/restore-cpu.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added media/br/restore-download-sst.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added media/br/restore-errors.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added media/br/restore-io.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added media/br/restore-local-deploy.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added media/br/restore-nfs-deploy.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added media/br/restore-process-sst.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added media/br/restore-region.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added media/br/test-data.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added media/br/total-data.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions v3.1/TOC.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@
+ 备份与恢复
- [使用 Mydumper/Loader 进行备份与恢复](/v3.1/how-to/maintain/backup-and-restore/mydumper-loader.md)
- [使用 BR 进行备份与恢复](/v3.1/how-to/maintain/backup-and-restore/br.md)
- [BR 备份与恢复最佳实践](/v3.1/how-to/maintain/backup-and-restore/br-best-practices.md)
- [定位慢查询](/v3.1/how-to/maintain/identify-slow-queries.md)
+ 扩容缩容
- [使用 Ansible 扩容缩容](/v3.1/how-to/scale/with-ansible.md)
Expand Down
Loading

0 comments on commit acd272e

Please sign in to comment.