@@ -93,6 +93,7 @@ help_pg_probackup(void)
9393 printf (_ (" [--log-rotation-age=log-rotation-age]\n" ));
9494 printf (_ (" [--retention-redundancy=retention-redundancy]\n" ));
9595 printf (_ (" [--retention-window=retention-window]\n" ));
96+ printf (_ (" [--wal-depth=wal-depth]\n" ));
9697 printf (_ (" [--compress-algorithm=compress-algorithm]\n" ));
9798 printf (_ (" [--compress-level=compress-level]\n" ));
9899 printf (_ (" [--archive-timeout=timeout]\n" ));
@@ -128,6 +129,7 @@ help_pg_probackup(void)
128129 printf (_ (" [--delete-expired] [--delete-wal] [--merge-expired]\n" ));
129130 printf (_ (" [--retention-redundancy=retention-redundancy]\n" ));
130131 printf (_ (" [--retention-window=retention-window]\n" ));
132+ printf (_ (" [--wal-depth=wal-depth]\n" ));
131133 printf (_ (" [--compress]\n" ));
132134 printf (_ (" [--compress-algorithm=compress-algorithm]\n" ));
133135 printf (_ (" [--compress-level=compress-level]\n" ));
@@ -186,6 +188,7 @@ help_pg_probackup(void)
186188 printf (_ (" [-j num-threads] [--progress]\n" ));
187189 printf (_ (" [--retention-redundancy=retention-redundancy]\n" ));
188190 printf (_ (" [--retention-window=retention-window]\n" ));
191+ printf (_ (" [--wal-depth=wal-depth]\n" ));
189192 printf (_ (" [--delete-wal] [-i backup-id | --delete-expired | --merge-expired]\n" ));
190193 printf (_ (" [--dry-run]\n" ));
191194 printf (_ (" [--help]\n" ));
@@ -263,6 +266,7 @@ help_backup(void)
263266 printf (_ (" [--delete-expired] [--delete-wal] [--merge-expired]\n" ));
264267 printf (_ (" [--retention-redundancy=retention-redundancy]\n" ));
265268 printf (_ (" [--retention-window=retention-window]\n" ));
269+ printf (_ (" [--wal-depth=wal-depth]\n" ));
266270 printf (_ (" [--compress]\n" ));
267271 printf (_ (" [--compress-algorithm=compress-algorithm]\n" ));
268272 printf (_ (" [--compress-level=compress-level]\n" ));
@@ -322,6 +326,8 @@ help_backup(void)
322326 printf (_ (" number of full backups to keep; 0 disables; (default: 0)\n" ));
323327 printf (_ (" --retention-window=retention-window\n" ));
324328 printf (_ (" number of days of recoverability; 0 disables; (default: 0)\n" ));
329+ printf (_ (" --wal-depth=wal-depth number of latest valid backups per timeline that must\n" ));
330+ printf (_ (" retain the ability to perform PITR; 0 disables; (default: 0)\n" ));
325331 printf (_ (" --dry-run perform a trial run without any changes\n" ));
326332
327333 printf (_ ("\n Pinning options:\n" ));
@@ -591,7 +597,8 @@ help_delete(void)
591597 printf (_ (" [-i backup-id | --delete-expired | --merge-expired] [--delete-wal]\n" ));
592598 printf (_ (" [-j num-threads] [--progress]\n" ));
593599 printf (_ (" [--retention-redundancy=retention-redundancy]\n" ));
594- printf (_ (" [--retention-window=retention-window]\n\n" ));
600+ printf (_ (" [--retention-window=retention-window]\n" ));
601+ printf (_ (" [--wal-depth=wal-depth]\n\n" ));
595602
596603 printf (_ (" -B, --backup-path=backup-path location of the backup storage area\n" ));
597604 printf (_ (" --instance=instance_name name of the instance\n" ));
@@ -609,6 +616,8 @@ help_delete(void)
609616 printf (_ (" number of full backups to keep; 0 disables; (default: 0)\n" ));
610617 printf (_ (" --retention-window=retention-window\n" ));
611618 printf (_ (" number of days of recoverability; 0 disables; (default: 0)\n" ));
619+ printf (_ (" --wal-depth=wal-depth number of latest valid backups per timeline that must\n" ));
620+ printf (_ (" retain the ability to perform PITR; 0 disables; (default: 0)\n" ));
612621 printf (_ (" --dry-run perform a trial run without any changes\n" ));
613622
614623 printf (_ ("\n Logging options:\n" ));
@@ -704,6 +713,7 @@ help_set_config(void)
704713 printf (_ (" [--log-rotation-age=log-rotation-age]\n" ));
705714 printf (_ (" [--retention-redundancy=retention-redundancy]\n" ));
706715 printf (_ (" [--retention-window=retention-window]\n" ));
716+ printf (_ (" [--wal-depth=wal-depth]\n" ));
707717 printf (_ (" [--compress-algorithm=compress-algorithm]\n" ));
708718 printf (_ (" [--compress-level=compress-level]\n" ));
709719 printf (_ (" [--archive-timeout=timeout]\n" ));
@@ -746,6 +756,8 @@ help_set_config(void)
746756 printf (_ (" number of full backups to keep; 0 disables; (default: 0)\n" ));
747757 printf (_ (" --retention-window=retention-window\n" ));
748758 printf (_ (" number of days of recoverability; 0 disables; (default: 0)\n" ));
759+ printf (_ (" --wal-depth=wal-depth number of latest valid backups with ability to perform\n" ));
760+ printf (_ (" the point in time recovery; disables; (default: 0)\n" ));
749761
750762 printf (_ ("\n Compression options:\n" ));
751763 printf (_ (" --compress alias for --compress-algorithm='zlib' and --compress-level=1\n" ));
0 commit comments