@@ -119,6 +119,9 @@ help_pg_probackup(void)
119
119
printf (_ (" [--master-port=port] [--master-user=user_name]\n" ));
120
120
printf (_ (" [--replica-timeout=timeout]\n" ));
121
121
printf (_ (" [--skip-block-validation]\n" ));
122
+ printf (_ (" [--remote-proto] [--remote-host]\n" ));
123
+ printf (_ (" [--remote-port] [--remote-path]\n" ));
124
+ printf (_ (" [--ssh-options]\n" ));
122
125
123
126
printf (_ ("\n %s restore -B backup-path --instance=instance_name\n" ), PROGRAM_NAME );
124
127
printf (_ (" [-D pgdata-path] [-i backup-id] [--progress]\n" ));
@@ -129,6 +132,9 @@ help_pg_probackup(void)
129
132
printf (_ (" [--restore-as-replica]\n" ));
130
133
printf (_ (" [--no-validate]\n" ));
131
134
printf (_ (" [--skip-block-validation]\n" ));
135
+ printf (_ (" [--remote-proto] [--remote-host]\n" ));
136
+ printf (_ (" [--remote-port] [--remote-path]\n" ));
137
+ printf (_ (" [--ssh-options]\n" ));
132
138
133
139
printf (_ ("\n %s validate -B backup-path [--instance=instance_name]\n" ), PROGRAM_NAME );
134
140
printf (_ (" [-i backup-id] [--progress]\n" ));
@@ -148,6 +154,9 @@ help_pg_probackup(void)
148
154
149
155
printf (_ ("\n %s add-instance -B backup-path -D pgdata-path\n" ), PROGRAM_NAME );
150
156
printf (_ (" --instance=instance_name\n" ));
157
+ printf (_ (" [--remote-proto] [--remote-host]\n" ));
158
+ printf (_ (" [--remote-port] [--remote-path]\n" ));
159
+ printf (_ (" [--ssh-options]\n" ));
151
160
152
161
printf (_ ("\n %s del-instance -B backup-path\n" ), PROGRAM_NAME );
153
162
printf (_ (" --instance=instance_name\n" ));
@@ -159,10 +168,16 @@ help_pg_probackup(void)
159
168
printf (_ (" [--compress-algorithm=compress-algorithm]\n" ));
160
169
printf (_ (" [--compress-level=compress-level]\n" ));
161
170
printf (_ (" [--overwrite]\n" ));
171
+ printf (_ (" [--remote-proto] [--remote-host]\n" ));
172
+ printf (_ (" [--remote-port] [--remote-path]\n" ));
173
+ printf (_ (" [--ssh-options]\n" ));
162
174
163
175
printf (_ ("\n %s archive-get -B backup-path --instance=instance_name\n" ), PROGRAM_NAME );
164
176
printf (_ (" --wal-file-path=wal-file-path\n" ));
165
177
printf (_ (" --wal-file-name=wal-file-name\n" ));
178
+ printf (_ (" [--remote-proto] [--remote-host]\n" ));
179
+ printf (_ (" [--remote-port] [--remote-path]\n" ));
180
+ printf (_ (" [--ssh-options]\n" ));
166
181
167
182
if ((PROGRAM_URL || PROGRAM_EMAIL ))
168
183
{
@@ -207,7 +222,10 @@ help_backup(void)
207
222
printf (_ (" [--master-db=db_name] [--master-host=host_name]\n" ));
208
223
printf (_ (" [--master-port=port] [--master-user=user_name]\n" ));
209
224
printf (_ (" [--replica-timeout=timeout]\n" ));
210
- printf (_ (" [--skip-block-validation]\n\n" ));
225
+ printf (_ (" [--skip-block-validation]\n" ));
226
+ printf (_ (" [--remote-proto] [--remote-host]\n" ));
227
+ printf (_ (" [--remote-port] [--remote-path]\n" ));
228
+ printf (_ (" [--ssh-options]\n\n" ));
211
229
212
230
printf (_ (" -B, --backup-path=backup-path location of the backup storage area\n" ));
213
231
printf (_ (" -b, --backup-mode=backup-mode backup mode=FULL|PAGE|DELTA|PTRACK\n" ));
@@ -272,6 +290,14 @@ help_backup(void)
272
290
printf (_ (" --master-host=host_name database server host of master\n" ));
273
291
printf (_ (" --master-port=port database server port of master\n" ));
274
292
printf (_ (" --replica-timeout=timeout wait timeout for WAL segment streaming through replication (default: 5min)\n" ));
293
+
294
+ printf (_ ("\n Remote options:\n" ));
295
+ printf (_ (" --remote-proto=protocol remote protocol to use\n" ));
296
+ printf (_ (" available options: 'ssh', 'none' (default: none)\n" ));
297
+ printf (_ (" --remote-host=hostname remote host address or hostname\n" ));
298
+ printf (_ (" --remote-port=port remote host port (default: 22)\n" ));
299
+ printf (_ (" --remote-path=path path to pg_probackup binary on remote host (default: current binary path)\n" ));
300
+ printf (_ (" --ssh-options=ssh_options additional ssh options (default: none)\n" ));
275
301
}
276
302
277
303
static void
@@ -284,7 +310,10 @@ help_restore(void)
284
310
printf (_ (" [--immediate] [--recovery-target-name=target-name]\n" ));
285
311
printf (_ (" [--recovery-target-action=pause|promote|shutdown]\n" ));
286
312
printf (_ (" [--restore-as-replica] [--no-validate]\n\n" ));
287
- printf (_ (" [--skip-block-validation]\n\n" ));
313
+ printf (_ (" [--skip-block-validation]\n" ));
314
+ printf (_ (" [--remote-proto] [--remote-host]\n" ));
315
+ printf (_ (" [--remote-port] [--remote-path]\n" ));
316
+ printf (_ (" [--ssh-options]\n\n" ));
288
317
289
318
printf (_ (" -B, --backup-path=backup-path location of the backup storage area\n" ));
290
319
printf (_ (" --instance=instance_name name of the instance\n" ));
@@ -333,6 +362,14 @@ help_restore(void)
333
362
printf (_ (" --log-rotation-age=log-rotation-age\n" ));
334
363
printf (_ (" rotate logfile if its age exceeds this value; 0 disables; (default: 0)\n" ));
335
364
printf (_ (" available units: 'ms', 's', 'min', 'h', 'd' (default: min)\n" ));
365
+
366
+ printf (_ ("\n Remote options:\n" ));
367
+ printf (_ (" --remote-proto=protocol remote protocol to use\n" ));
368
+ printf (_ (" available options: 'ssh', 'none' (default: none)\n" ));
369
+ printf (_ (" --remote-host=hostname remote host address or hostname\n" ));
370
+ printf (_ (" --remote-port=port remote host port (default: 22)\n" ));
371
+ printf (_ (" --remote-path=path path to pg_probackup binary on remote host (default: current binary path)\n" ));
372
+ printf (_ (" --ssh-options=ssh_options additional ssh options (default: none)\n" ));
336
373
}
337
374
338
375
static void
@@ -558,11 +595,22 @@ static void
558
595
help_add_instance (void )
559
596
{
560
597
printf (_ ("%s add-instance -B backup-path -D pgdata-path\n" ), PROGRAM_NAME );
561
- printf (_ (" --instance=instance_name\n\n" ));
598
+ printf (_ (" --instance=instance_name\n" ));
599
+ printf (_ (" [--remote-proto] [--remote-host]\n" ));
600
+ printf (_ (" [--remote-port] [--remote-path]\n" ));
601
+ printf (_ (" [--ssh-options]\n\n" ));
562
602
563
603
printf (_ (" -B, --backup-path=backup-path location of the backup storage area\n" ));
564
604
printf (_ (" -D, --pgdata=pgdata-path location of the database storage area\n" ));
565
605
printf (_ (" --instance=instance_name name of the new instance\n" ));
606
+
607
+ printf (_ ("\n Remote options:\n" ));
608
+ printf (_ (" --remote-proto=protocol remote protocol to use\n" ));
609
+ printf (_ (" available options: 'ssh', 'none' (default: none)\n" ));
610
+ printf (_ (" --remote-host=hostname remote host address or hostname\n" ));
611
+ printf (_ (" --remote-port=port remote host port (default: 22)\n" ));
612
+ printf (_ (" --remote-path=path path to pg_probackup binary on remote host (default: current binary path)\n" ));
613
+ printf (_ (" --ssh-options=ssh_options additional ssh options (default: none)\n" ));
566
614
}
567
615
568
616
static void
@@ -583,7 +631,10 @@ help_archive_push(void)
583
631
printf (_ (" [--compress]\n" ));
584
632
printf (_ (" [--compress-algorithm=compress-algorithm]\n" ));
585
633
printf (_ (" [--compress-level=compress-level]\n" ));
586
- printf (_ (" [--overwrite]\n\n" ));
634
+ printf (_ (" [--overwrite]\n" ));
635
+ printf (_ (" [--remote-proto] [--remote-host]\n" ));
636
+ printf (_ (" [--remote-port] [--remote-path]\n" ));
637
+ printf (_ (" [--ssh-options]\n\n" ));
587
638
588
639
printf (_ (" -B, --backup-path=backup-path location of the backup storage area\n" ));
589
640
printf (_ (" --instance=instance_name name of the instance to delete\n" ));
@@ -604,12 +655,23 @@ help_archive_get(void)
604
655
{
605
656
printf (_ ("\n %s archive-get -B backup-path --instance=instance_name\n" ), PROGRAM_NAME );
606
657
printf (_ (" --wal-file-path=wal-file-path\n" ));
607
- printf (_ (" --wal-file-name=wal-file-name\n\n" ));
658
+ printf (_ (" --wal-file-name=wal-file-name\n" ));
659
+ printf (_ (" [--remote-proto] [--remote-host]\n" ));
660
+ printf (_ (" [--remote-port] [--remote-path]\n" ));
661
+ printf (_ (" [--ssh-options]\n\n" ));
608
662
609
663
printf (_ (" -B, --backup-path=backup-path location of the backup storage area\n" ));
610
664
printf (_ (" --instance=instance_name name of the instance to delete\n" ));
611
665
printf (_ (" --wal-file-path=wal-file-path\n" ));
612
666
printf (_ (" relative destination path name of the WAL file on the server\n" ));
613
667
printf (_ (" --wal-file-name=wal-file-name\n" ));
614
668
printf (_ (" name of the WAL file to retrieve from the archive\n" ));
669
+
670
+ printf (_ ("\n Remote options:\n" ));
671
+ printf (_ (" --remote-proto=protocol remote protocol to use\n" ));
672
+ printf (_ (" available options: 'ssh', 'none' (default: none)\n" ));
673
+ printf (_ (" --remote-host=hostname remote host address or hostname\n" ));
674
+ printf (_ (" --remote-port=port remote host port (default: 22)\n" ));
675
+ printf (_ (" --remote-path=path path to pg_probackup binary on remote host (default: current binary path)\n" ));
676
+ printf (_ (" --ssh-options=ssh_options additional ssh options (default: none)\n" ));
615
677
}
0 commit comments