Skip to content

Commit

Permalink
This is an automated cherry-pick of pingcap#19176
Browse files Browse the repository at this point in the history
Signed-off-by: ti-chi-bot <[email protected]>
  • Loading branch information
ti-chi-bot committed Nov 29, 2024
1 parent ae9c2a0 commit 546efe1
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions br/br-pitr-manual.md
Original file line number Diff line number Diff line change
Expand Up @@ -289,8 +289,13 @@ Global Flags:
使用示例:
```shell
<<<<<<< HEAD
./br log truncate --until='2022-07-26 21:20:00+0800' \
–-storage='s3://backup-101/logbackup?access-key=${access-key}&secret-access-key=${secret-access-key}"'
=======
tiup br log truncate --until='2022-07-26 21:20:00+0800' \
--storage='s3://backup-101/logbackup?access-key=${access-key}&secret-access-key=${secret-access-key}'
>>>>>>> 3e0690f822 (br-pitr-manual: remove an unnecessary quotation mark (#19175) (#19176))
```
该子命令运行后输出以下信息:
Expand Down Expand Up @@ -330,7 +335,11 @@ Global Flags:
使用示例:
```shell
<<<<<<< HEAD
./br log metadata –-storage='s3://backup-101/logbackup?access-key=${access-key}&secret-access-key=${secret-access-key}"'
=======
tiup br log metadata --storage='s3://backup-101/logbackup?access-key=${access-key}&secret-access-key=${secret-access-key}'
>>>>>>> 3e0690f822 (br-pitr-manual: remove an unnecessary quotation mark (#19175) (#19176))
```
该子命令运行后输出以下信息:
Expand Down Expand Up @@ -379,9 +388,15 @@ Global Flags:
使用示例:
```shell
<<<<<<< HEAD
./br restore point --pd="${PD_IP}:2379"
--storage='s3://backup-101/logbackup?access-key=${access-key}&secret-access-key=${secret-access-key}"'
--full-backup-storage='s3://backup-101/snapshot-202205120000?access-key=${access-key}&secret-access-key=${secret-access-key}"'
=======
tiup br restore point --pd="${PD_IP}:2379"
--storage='s3://backup-101/logbackup?access-key=${access-key}&secret-access-key=${secret-access-key}'
--full-backup-storage='s3://backup-101/snapshot-202205120000?access-key=${access-key}&secret-access-key=${secret-access-key}'
>>>>>>> 3e0690f822 (br-pitr-manual: remove an unnecessary quotation mark (#19175) (#19176))

Full Restore <--------------------------------------------------------------------------------------------------------------------------------------------------------> 100.00%
*** ***["Full Restore success summary"] ****** [total-take=3.112928252s] [restore-data-size(after-compressed)=5.056kB] [Size=5056] [BackupTS=434693927394607136] [total-kv=4] [total-kv-size=290B] [average-speed=93.16B/s]
Expand Down

0 comments on commit 546efe1

Please sign in to comment.