@@ -153,6 +153,8 @@ help_pg_probackup(void)
153
153
printf (_ (" [--recovery-target-name=target-name]\n" ));
154
154
printf (_ (" [--recovery-target-action=pause|promote|shutdown]\n" ));
155
155
printf (_ (" [--restore-as-replica] [--force]\n" ));
156
+ printf (_ (" [--primary-conninfo=primary_conninfo]\n" ));
157
+ printf (_ (" [-S | --primary-slot-name=slotname]\n" ));
156
158
printf (_ (" [--no-validate] [--skip-block-validation]\n" ));
157
159
printf (_ (" [-T OLDDIR=NEWDIR] [--progress]\n" ));
158
160
printf (_ (" [--external-mapping=OLDDIR=NEWDIR]\n" ));
@@ -382,20 +384,20 @@ help_restore(void)
382
384
{
383
385
printf (_ ("\n%s restore -B backup-path --instance=instance_name\n" ), PROGRAM_NAME );
384
386
printf (_ (" [-D pgdata-path] [-i backup-id] [-j num-threads]\n" ));
387
+ printf (_ (" [--progress] [--force] [--no-sync]\n" ));
388
+ printf (_ (" [--no-validate] [--skip-block-validation]\n" ));
389
+ printf (_ (" [-T OLDDIR=NEWDIR]\n" ));
390
+ printf (_ (" [--external-mapping=OLDDIR=NEWDIR]\n" ));
391
+ printf (_ (" [--skip-external-dirs]\n" ));
392
+ printf (_ (" [--db-include dbname | --db-exclude dbname]\n" ));
385
393
printf (_ (" [--recovery-target-time=time|--recovery-target-xid=xid\n" ));
386
394
printf (_ (" |--recovery-target-lsn=lsn [--recovery-target-inclusive=boolean]]\n" ));
387
395
printf (_ (" [--recovery-target-timeline=timeline]\n" ));
388
396
printf (_ (" [--recovery-target=immediate|latest]\n" ));
389
397
printf (_ (" [--recovery-target-name=target-name]\n" ));
390
398
printf (_ (" [--recovery-target-action=pause|promote|shutdown]\n" ));
391
- printf (_ (" [--restore-as-replica] [--force]\n" ));
392
- printf (_ (" [--no-validate] [--skip-block-validation]\n" ));
393
- printf (_ (" [-T OLDDIR=NEWDIR] [--progress]\n" ));
394
- printf (_ (" [--external-mapping=OLDDIR=NEWDIR]\n" ));
395
- printf (_ (" [--skip-external-dirs]\n" ));
396
399
printf (_ (" [--restore-command=cmdline]\n" ));
397
- printf (_ (" [--no-sync]\n" ));
398
- printf (_ (" [--db-include dbname | --db-exclude dbname]\n" ));
400
+ printf (_ (" [-R | --restore-as-replica]\n" ));
399
401
printf (_ (" [--remote-proto] [--remote-host]\n" ));
400
402
printf (_ (" [--remote-port] [--remote-path] [--remote-user]\n" ));
401
403
printf (_ (" [--ssh-options]\n" ));
@@ -410,6 +412,22 @@ help_restore(void)
410
412
printf (_ (" -j, --threads=NUM number of parallel threads\n" ));
411
413
412
414
printf (_ (" --progress show progress\n" ));
415
+ printf (_ (" --force ignore invalid status of the restored backup\n" ));
416
+ printf (_ (" --no-sync do not sync restored files to disk\n" ));
417
+ printf (_ (" --no-validate disable backup validation during restore\n" ));
418
+ printf (_ (" --skip-block-validation set to validate only file-level checksum\n" ));
419
+
420
+ printf (_ (" -T, --tablespace-mapping=OLDDIR=NEWDIR\n" ));
421
+ printf (_ (" relocate the tablespace from directory OLDDIR to NEWDIR\n" ));
422
+ printf (_ (" --external-mapping=OLDDIR=NEWDIR\n" ));
423
+ printf (_ (" relocate the external directory from OLDDIR to NEWDIR\n" ));
424
+ printf (_ (" --skip-external-dirs do not restore all external directories\n" ));
425
+
426
+ printf (_ ("\n Partial restore options:\n" ));
427
+ printf (_ (" --db-include dbname restore only specified databases\n" ));
428
+ printf (_ (" --db-exclude dbname do not restore specified databases\n" ));
429
+
430
+ printf (_ ("\n Recovery options:\n" ));
413
431
printf (_ (" --recovery-target-time=time time stamp up to which recovery will proceed\n" ));
414
432
printf (_ (" --recovery-target-xid=xid transaction ID up to which recovery will proceed\n" ));
415
433
printf (_ (" --recovery-target-lsn=lsn LSN of the write-ahead log location up to which recovery will proceed\n" ));
@@ -424,24 +442,15 @@ help_restore(void)
424
442
printf (_ (" --recovery-target-action=pause|promote|shutdown\n" ));
425
443
printf (_ (" action the server should take once the recovery target is reached\n" ));
426
444
printf (_ (" (default: pause)\n" ));
445
+ printf (_ (" --restore-command=cmdline command to use as 'restore_command' in recovery.conf; 'none' disables\n" ));
427
446
447
+ printf (_ ("\n Standby options:\n" ));
428
448
printf (_ (" -R, --restore-as-replica write a minimal recovery.conf in the output directory\n" ));
429
449
printf (_ (" to ease setting up a standby server\n" ));
430
- printf (_ (" --force ignore invalid status of the restored backup\n" ));
431
- printf (_ (" --no-validate disable backup validation during restore\n" ));
432
- printf (_ (" --skip-block-validation set to validate only file-level checksum\n" ));
433
-
434
- printf (_ (" -T, --tablespace-mapping=OLDDIR=NEWDIR\n" ));
435
- printf (_ (" relocate the tablespace from directory OLDDIR to NEWDIR\n" ));
436
- printf (_ (" --external-mapping=OLDDIR=NEWDIR\n" ));
437
- printf (_ (" relocate the external directory from OLDDIR to NEWDIR\n" ));
438
- printf (_ (" --skip-external-dirs do not restore all external directories\n" ));
439
- printf (_ (" --restore-command=cmdline command to use as 'restore_command' in recovery.conf; 'none' disables\n" ));
440
- printf (_ (" --no-sync do not sync restored files to disk\n" ));
441
-
442
- printf (_ ("\n Partial restore options:\n" ));
443
- printf (_ (" --db-include dbname restore only specified databases\n" ));
444
- printf (_ (" --db-exclude dbname do not restore specified databases\n" ));
450
+ printf (_ (" --primary-conninfo=primary_conninfo\n" ));
451
+ printf (_ (" connection string to be used for establishing connection\n" ));
452
+ printf (_ (" with the primary server\n" ));
453
+ printf (_ (" -S, --primary-slot-name=slotname replication slot to be used for WAL streaming from the primary server\n" ));
445
454
446
455
printf (_ ("\n Logging options:\n" ));
447
456
printf (_ (" --log-level-console=log-level-console\n" ));
0 commit comments