You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: br/br-pitr-manual.md
+22Lines changed: 22 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -498,3 +498,25 @@ tiup br restore point --pd="${PD_IP}:2379"
498
498
--master-key-crypter-method aes128-ctr
499
499
--master-key "local:///path/to/master.key"
500
500
```
501
+
502
+
### Compatibility between ongoing log backup and snapshot restore
503
+
504
+
Starting from v8.5.5, when a log backup task is running, if all of the following conditions are met, you can still perform snapshot restore (`br restore [full|database|table]`) and allow the restored data to be properly recorded by the ongoing log backup (hereinafter referred to as "log backup"):
505
+
506
+
- The node performing backup and restore operations has the following necessary permissions:
507
+
- Read access to the external storage containing the backup source, for snapshot restore
508
+
- Write access to the target external storage used by the log backup
509
+
- The target external storage for the log backup is Amazon S3 (`s3://`), Google Cloud Storage (`gcs://`), or Azure Blob Storage (`azblob://`).
510
+
- The data to be restored uses the same type of external storage as the target storage for the log backup.
511
+
- Neither the data to be restored nor the log backup has local encryption enabled. For details, see [log backup encryption](#encrypt-the-log-backup-data) and [snapshot backup encryption](/br/br-snapshot-manual.md#encrypt-the-backup-data).
512
+
513
+
If any of the above conditions are not met, or if you need to perform a point-in-time recovery, while a log backup task is running, BR refuses to proceed with the data recovery. In this case, you can complete the recovery by following these steps:
514
+
515
+
1. [Stop the log backup task](#stop-a-log-backup-task).
516
+
2. Perform the data restore.
517
+
3. After the restore is complete, perform a new snapshot backup.
518
+
4. [Restart the log backup task](#restart-a-log-backup-task).
519
+
520
+
>**Note:**
521
+
>
522
+
> When restoring a log backup that contains records of snapshot (full) restore data, you must use BR v8.5.5 or later. Otherwise, restoring the recorded full restore data might fail.
0 commit comments