From d3c1a8ffc8cfc20d25260a5754de9f43ece89918 Mon Sep 17 00:00:00 2001 From: Ti Chi Robot Date: Fri, 29 Nov 2024 22:59:29 +0800 Subject: [PATCH] This is an automated cherry-pick of #19537 Signed-off-by: ti-chi-bot --- br/br-pitr-manual.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/br/br-pitr-manual.md b/br/br-pitr-manual.md index edaba953e2037..d4b91a1ed324a 100644 --- a/br/br-pitr-manual.md +++ b/br/br-pitr-manual.md @@ -288,8 +288,13 @@ This command only accesses the backup storage and does not access the TiDB clust Usage example: ```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}' +>>>>>>> 34fab29463 (br-pitr-manual: remove an unnecessary quotation mark (#19535) (#19537)) ``` Expected output: @@ -329,7 +334,11 @@ The `--storage` parameter is used to specify the backup storage address. Current Usage example: ```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}' +>>>>>>> 34fab29463 (br-pitr-manual: remove an unnecessary quotation mark (#19535) (#19537)) ``` Expected output: @@ -378,9 +387,15 @@ The example output only shows the common parameters. These parameters are descri Usage example: ```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}' +>>>>>>> 34fab29463 (br-pitr-manual: remove an unnecessary quotation mark (#19535) (#19537)) 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]