Skip to content

Commit

Permalink
Updated PITR preconditions
Browse files Browse the repository at this point in the history
	modified:   docs/features/point-in-time-recovery.md
  • Loading branch information
nastena1606 committed Jul 7, 2023
1 parent 7679c64 commit 58d7d0f
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions docs/features/point-in-time-recovery.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,21 @@ The `pbm-agent` starts [saving consecutive slices of the oplog](#oplog-slicing)

To start saving [oplog slices](../reference/glossary.md#oplog), the following preconditions must be met:

* A full backup snapshot is required. Make sure that a [backup exists](../usage/list-backup.md). See the [Make a backup](../usage/start-backup.md) guide to make a backup snapshot.
* Point-in-time recovery routine is [enabled](#enable-point-in-time-recovery).
=== "Logical backups"

* A full logical backup snapshot is required. Make sure that a [backup exists](../usage/list-backup.md). See the [Make a backup](../usage/start-backup.md) guide to make a backup snapshot.
* Point-in-time recovery routine is [enabled](#enable-point-in-time-recovery).

=== "Physical backups"

Enable point-in-time recovery routine and configure it to save oplog slices without the base backup.

```yaml
pitr:
enabled: true
oplogOnly: true
```


If you just enabled point-in-time recovery, it requires 10 minutes for the first chunk to appear in the [`pbm list`](../reference/pbm-commands.md#pbm-list) output.

Expand Down

0 comments on commit 58d7d0f

Please sign in to comment.