Skip to content

Commit 7b95a40

Browse files
committed
Documentation: another minor fix
1 parent 29ebf68 commit 7b95a40

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Documentation.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1174,7 +1174,7 @@ If you would like to also remove the WAL files that are no longer required for a
11741174
11751175
Since incremental backups require that their parent full backup and all the preceding incremental backups are available, if any of such backups expire, they still cannot be removed while at least one incremental backup in this chain satisfies the retention policy. To avoid keeping expired backups that are still required to restore an active incremental one, you can merge them with this backup using the `--merge-expired` option when running [backup](#backup) or [delete](#delete) commands.
11761176

1177-
Suppose you have backed up the node instance in the *backup_dir* directory, with the `retention-window` option is set to 7, and you have the following backups available on April 10, 2019:
1177+
Suppose you have backed up the *node* instance in the *backup_dir* directory, with the `retention-window` option is set to 7, and you have the following backups available on April 10, 2019:
11781178

11791179
```
11801180
BACKUP INSTANCE 'node'
@@ -1194,8 +1194,8 @@ Even though P7XDHB and P7XDHU backups are outside the retention window, they can
11941194

11951195
With the `--merge-expired` option, the P7XDJA backup is merged with the underlying P7XDHU and P7XDHB backups and becomes a full one, so there is no need to keep these expired backups anymore:
11961196

1197-
pg_probackup delete -B node-backup --instance node --delete-expired --merge-expired
1198-
pg_probackup show -B node-backup
1197+
pg_probackup delete -B backup_dir --instance node --delete-expired --merge-expired
1198+
pg_probackup show -B backup_dir
11991199

12001200
```
12011201
BACKUP INSTANCE 'node'

0 commit comments

Comments
 (0)