@@ -117,11 +117,16 @@ help_pg_probackup(void)
117117 printf (_ (" [-D pgdata-dir] [-i backup-id] [--progress]\n" ));
118118 printf (_ (" [--time=time|--xid=xid [--inclusive=boolean]]\n" ));
119119 printf (_ (" [--timeline=timeline] [-T OLDDIR=NEWDIR]\n" ));
120+ printf (_ (" [--immediate] [--recovery-target-name=target-name]\n" ));
121+ printf (_ (" [--recovery-target-action=pause|promote|shutdown]\n" ));
122+ printf (_ (" [--write-recovery-conf]\n" ));
120123
121124 printf (_ ("\n %s validate -B backup-dir [--instance=instance_name]\n" ), PROGRAM_NAME );
122125 printf (_ (" [-i backup-id] [--progress]\n" ));
123126 printf (_ (" [--time=time|--xid=xid [--inclusive=boolean]]\n" ));
124127 printf (_ (" [--timeline=timeline]\n" ));
128+ printf (_ (" [--immediate] [--recovery-target-name=target-name]\n" ));
129+ printf (_ (" [--recovery-target-action=pause|promote|shutdown]\n" ));
125130
126131 printf (_ ("\n %s show -B backup-dir\n" ), PROGRAM_NAME );
127132 printf (_ (" [--instance=instance_name [-i backup-id]]\n" ));
@@ -259,7 +264,10 @@ help_restore(void)
259264 printf (_ ("%s restore -B backup-dir --instance=instance_name\n" ), PROGRAM_NAME );
260265 printf (_ (" [-D pgdata-dir] [-i backup-id] [--progress]\n" ));
261266 printf (_ (" [--time=time|--xid=xid [--inclusive=boolean]]\n" ));
262- printf (_ (" [--timeline=timeline] [-T OLDDIR=NEWDIR]\n\n" ));
267+ printf (_ (" [--timeline=timeline] [-T OLDDIR=NEWDIR]\n" ));
268+ printf (_ (" [--immediate] [--recovery-target-name=target-name]\n" ));
269+ printf (_ (" [--recovery-target-action=pause|promote|shutdown]\n\n" ));
270+ printf (_ (" [--write-recovery-conf]\n" ));
263271
264272 printf (_ (" -B, --backup-path=backup-path location of the backup storage area\n" ));
265273 printf (_ (" --instance=instance_name name of the instance\n" ));
@@ -275,6 +283,15 @@ help_restore(void)
275283 printf (_ (" -T, --tablespace-mapping=OLDDIR=NEWDIR\n" ));
276284 printf (_ (" relocate the tablespace from directory OLDDIR to NEWDIR\n" ));
277285
286+ printf (_ (" --immediate end recovery as soon as a consistent state is reached\n" ));
287+ printf (_ (" --recovery-target-name=target-name\n" ));
288+ printf (_ (" the named restore point to which recovery will proceed\n" ));
289+ printf (_ (" --recovery-target-action=pause|promote|shutdown\n" ));
290+ printf (_ (" action the server should take once the recovery target is reached\n" ));
291+
292+ printf (_ (" -R, --write-recovery-conf write a minimal recovery.conf in the output directory\n" ));
293+ printf (_ (" to ease setting up a standby server\n" ));
294+
278295 printf (_ ("\n Logging options:\n" ));
279296 printf (_ (" --log-level-console=log-level-console\n" ));
280297 printf (_ (" level for console logging (default: info)\n" ));
@@ -303,7 +320,9 @@ help_validate(void)
303320 printf (_ ("%s validate -B backup-dir [--instance=instance_name]\n" ), PROGRAM_NAME );
304321 printf (_ (" [-i backup-id] [--progress]\n" ));
305322 printf (_ (" [--time=time|--xid=xid [--inclusive=boolean]]\n" ));
306- printf (_ (" [--timeline=timeline]\n\n" ));
323+ printf (_ (" [--timeline=timeline]\n" ));
324+ printf (_ (" [--immediate] [--recovery-target-name=target-name]\n" ));
325+ printf (_ (" [--recovery-target-action=pause|promote|shutdown]\n\n" ));
307326
308327 printf (_ (" -B, --backup-path=backup-path location of the backup storage area\n" ));
309328 printf (_ (" --instance=instance_name name of the instance\n" ));
@@ -315,6 +334,12 @@ help_validate(void)
315334 printf (_ (" --inclusive=boolean whether we stop just after the recovery target\n" ));
316335 printf (_ (" --timeline=timeline recovering into a particular timeline\n" ));
317336
337+ printf (_ (" --immediate end recovery as soon as a consistent state is reached\n" ));
338+ printf (_ (" --recovery-target-name=target-name\n" ));
339+ printf (_ (" the named restore point to which recovery will proceed\n" ));
340+ printf (_ (" --recovery-target-action=pause|promote|shutdown\n" ));
341+ printf (_ (" action the server should take once the recovery target is reached\n" ));
342+
318343 printf (_ ("\n Logging options:\n" ));
319344 printf (_ (" --log-level-console=log-level-console\n" ));
320345 printf (_ (" level for console logging (default: info)\n" ));
0 commit comments