br: add incremental recover/backup.#2985
Merged
Merged
Conversation
3pointer
reviewed
May 8, 2020
3pointer
reviewed
May 8, 2020
| 以上命令会备份 `[LAST_BACKUP_TS, current PD timestamp)` 之间的增量数据;注意你可以使用 `validate` 指令获取上一次备份的时间戳。 | ||
|
|
||
| 在增量恢复的时候,使用 BR 的方法和普通的恢复并无二样;只不过需要注意恢复增量数据的时候,需要保证备份时指定的 last backup ts 之前备份的数据已经全部恢复到目标集群。 | ||
|
|
Contributor
There was a problem hiding this comment.
可以加一段原理描述,增量备份时候会备份[LAST_BACKUP_TS, current PD timestamp)之间的 DDL,然后恢复时候,会首先执行这些 DDL。
Co-authored-by: 3pointer <qdlc2010@gmail.com>
…into br-add-increment
Contributor
|
@YuJuncen Does this PR apply to v3.1? |
Contributor
Author
Contributor
|
@YuJuncen, please update your pull request. |
Contributor
TomShawn
reviewed
May 11, 2020
Co-authored-by: TomShawn <41534398+TomShawn@users.noreply.github.com>
Contributor
|
LGTM |
Contributor
Contributor
|
@YuJuncen, please update your pull request. |
Contributor
Contributor
|
/run-all-tests |
Contributor
|
cherry pick to release-3.1 in PR #3120 |
sre-bot
pushed a commit
to sre-bot/docs-cn
that referenced
this pull request
May 15, 2020
5 tasks
Contributor
|
cherry pick to release-4.0 in PR #3121 |
TomShawn
pushed a commit
that referenced
this pull request
May 15, 2020
sre-bot
added a commit
that referenced
this pull request
May 15, 2020
5 tasks
This was referenced Jun 8, 2020
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What is changed, added or deleted? (Required)
I added how-to of the incremental backup/restore to br.
Which TiDB version(s) do your changes apply to? (Required)