Skip to content

Commit af81003

Browse files
authored
PBM-1385 Added explanation about valid base backup for PITR (#205)
* PBM-1385 Added explabation about valid base backup for PITR modified: docs/usage/delete-backup.md
1 parent 4b5e92f commit af81003

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

docs/usage/delete-backup.md

+7-2
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ Here's how the cleanup works:
101101
102102
=== "Version 2.4.0 and higher"
103103
104-
The most recent backup snapshot (logical, physical, base incremental) that can serve as the base for point-in-time recovery, if it is enabled.
104+
The backup snapshot (logical, physical, base incremental) that can serve as the base for point-in-time recovery if point-in-time recovery is enabled. Such a backup is a valid base if there are continuous oplog slices deriving from it up to the `now` timestamp.
105105
106106
107107
=== "Version 2.3.1 and earlier"
@@ -127,7 +127,12 @@ Here's how the cleanup works:
127127
- `2022-10-05T14:13:50Z` because it is the base for recovery to any point in time from the PITR time range `2022-10-05T14:13:56Z - 2022-10-05T18:52:21Z`
128128
- `2022-10-07T14:57:17Z` because PITR is enabled and there are no oplog slices following it yet.
129129
130-
4. Starting with version [2.4.0](../release-notes/2.4.0.md), you can delete any backup snapshot (except the most recent one with point-in-time recovery enabled) regardless the point-in-time recovery slices deriving from it. Such slices are then marked as "no base backup" in the `pbm status` output.
130+
4. Starting with version [2.4.0](../release-notes/2.4.0.md), you can delete any backup snapshot regardless the point-in-time recovery slices deriving from it. Such slices are then marked as "no base backup" in the `pbm status` output. However, at least one valid base backup must remain to ensure point-in-time recovery.
131+
132+
Such a backup is the valid base for point-in-time recovery if:
133+
134+
* The backup is one of the following types: logical, physical, base incremental
135+
* There are continuous oplog slices derived from this backup for the desired restore to a specific timestamp.
131136
132137
133138
### Behavior

0 commit comments

Comments
 (0)