Skip to content

Commit

Permalink
Update use-br-command-line-tool.md (#5859) (#6011)
Browse files Browse the repository at this point in the history
  • Loading branch information
ti-srebot authored Apr 12, 2021
1 parent 0bdd380 commit eb41dfc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions br/use-br-command-line-tool.md
Original file line number Diff line number Diff line change
Expand Up @@ -211,10 +211,10 @@ br backup full\
{{< copyable "shell-regular" >}}

```shell
LAST_BACKUP_TS=`br validate decode --field="end-version" -s local:///home/tidb/backupdata`
LAST_BACKUP_TS=`br validate decode --field="end-version" -s local:///home/tidb/backupdata | tail -n1`
```

示例备份的增量数据记录 `(LAST_BACKUP_TS, current PD timestamp]` 之间的数据变更,以及这段时间内的 DDL。在恢复的时候,BR 会先把所有 DDL 恢复,而后才会恢复数据。
示例备份的增量数据记录 `(LAST_BACKUP_TS, current PD timestamp]` 之间的数据变更,以及这段时间内的 DDL。在恢复的时候,BR 会先把所有 DDL 恢复,而后才会恢复数据。

### Raw KV 备份(实验性功能)

Expand Down

0 comments on commit eb41dfc

Please sign in to comment.