@@ -74,7 +74,7 @@ help_pg_probackup(void)
74
74
75
75
printf (_ ("\n %s init -B backup-path\n" ), PROGRAM_NAME );
76
76
77
- printf (_ ("\n %s set-config -B backup-dir --instance=instance_name\n" ), PROGRAM_NAME );
77
+ printf (_ ("\n %s set-config -B backup-path --instance=instance_name\n" ), PROGRAM_NAME );
78
78
printf (_ (" [--log-level-console=log-level-console]\n" ));
79
79
printf (_ (" [--log-level-file=log-level-file]\n" ));
80
80
printf (_ (" [--log-filename=log-filename]\n" ));
@@ -92,7 +92,7 @@ help_pg_probackup(void)
92
92
printf (_ (" [--replica-timeout=timeout]\n" ));
93
93
printf (_ (" [--archive-timeout=timeout]\n" ));
94
94
95
- printf (_ ("\n %s show-config -B backup-dir --instance=instance_name\n" ), PROGRAM_NAME );
95
+ printf (_ ("\n %s show-config -B backup-path --instance=instance_name\n" ), PROGRAM_NAME );
96
96
printf (_ (" [--format=format]\n" ));
97
97
98
98
printf (_ ("\n %s backup -B backup-path -b backup-mode --instance=instance_name\n" ), PROGRAM_NAME );
@@ -118,43 +118,45 @@ help_pg_probackup(void)
118
118
printf (_ (" [--master-port=port] [--master-user=user_name]\n" ));
119
119
printf (_ (" [--replica-timeout=timeout]\n" ));
120
120
121
- printf (_ ("\n %s restore -B backup-dir --instance=instance_name\n" ), PROGRAM_NAME );
122
- printf (_ (" [-D pgdata-dir ] [-i backup-id] [--progress]\n" ));
121
+ printf (_ ("\n %s restore -B backup-path --instance=instance_name\n" ), PROGRAM_NAME );
122
+ printf (_ (" [-D pgdata-path ] [-i backup-id] [--progress]\n" ));
123
123
printf (_ (" [--time=time|--xid=xid|--lsn=lsn [--inclusive=boolean]]\n" ));
124
124
printf (_ (" [--timeline=timeline] [-T OLDDIR=NEWDIR]\n" ));
125
125
printf (_ (" [--immediate] [--recovery-target-name=target-name]\n" ));
126
126
printf (_ (" [--recovery-target-action=pause|promote|shutdown]\n" ));
127
127
printf (_ (" [--restore-as-replica]\n" ));
128
128
printf (_ (" [--no-validate]\n" ));
129
129
130
- printf (_ ("\n %s validate -B backup-dir [--instance=instance_name]\n" ), PROGRAM_NAME );
130
+ printf (_ ("\n %s validate -B backup-path [--instance=instance_name]\n" ), PROGRAM_NAME );
131
131
printf (_ (" [-i backup-id] [--progress]\n" ));
132
132
printf (_ (" [--time=time|--xid=xid|--lsn=lsn [--inclusive=boolean]]\n" ));
133
133
printf (_ (" [--recovery-target-name=target-name]\n" ));
134
134
printf (_ (" [--timeline=timeline]\n" ));
135
135
136
- printf (_ ("\n %s show -B backup-dir \n" ), PROGRAM_NAME );
136
+ printf (_ ("\n %s show -B backup-path \n" ), PROGRAM_NAME );
137
137
printf (_ (" [--instance=instance_name [-i backup-id]]\n" ));
138
138
printf (_ (" [--format=format]\n" ));
139
139
140
- printf (_ ("\n %s delete -B backup-dir --instance=instance_name\n" ), PROGRAM_NAME );
140
+ printf (_ ("\n %s delete -B backup-path --instance=instance_name\n" ), PROGRAM_NAME );
141
141
printf (_ (" [--wal] [-i backup-id | --expired]\n" ));
142
- printf (_ ("\n %s merge -B backup-dir --instance=instance_name\n" ), PROGRAM_NAME );
142
+ printf (_ ("\n %s merge -B backup-path --instance=instance_name\n" ), PROGRAM_NAME );
143
143
printf (_ (" -i backup-id\n" ));
144
144
145
- printf (_ ("\n %s add-instance -B backup-dir -D pgdata-dir \n" ), PROGRAM_NAME );
145
+ printf (_ ("\n %s add-instance -B backup-path -D pgdata-path \n" ), PROGRAM_NAME );
146
146
printf (_ (" --instance=instance_name\n" ));
147
147
148
- printf (_ ("\n %s del-instance -B backup-dir \n" ), PROGRAM_NAME );
148
+ printf (_ ("\n %s del-instance -B backup-path \n" ), PROGRAM_NAME );
149
149
printf (_ (" --instance=instance_name\n" ));
150
150
151
- printf (_ ("\n %s archive-push -B backup-dir --instance=instance_name\n" ), PROGRAM_NAME );
151
+ printf (_ ("\n %s archive-push -B backup-path --instance=instance_name\n" ), PROGRAM_NAME );
152
152
printf (_ (" --wal-file-path=wal-file-path\n" ));
153
153
printf (_ (" --wal-file-name=wal-file-name\n" ));
154
- printf (_ (" [--compress [--compress-level=compress-level]]\n" ));
154
+ printf (_ (" [--compress]\n" ));
155
+ printf (_ (" [--compress-algorithm=compress-algorithm]\n" ));
156
+ printf (_ (" [--compress-level=compress-level]\n" ));
155
157
printf (_ (" [--overwrite]\n" ));
156
158
157
- printf (_ ("\n %s archive-get -B backup-dir --instance=instance_name\n" ), PROGRAM_NAME );
159
+ printf (_ ("\n %s archive-get -B backup-path --instance=instance_name\n" ), PROGRAM_NAME );
158
160
printf (_ (" --wal-file-path=wal-file-path\n" ));
159
161
printf (_ (" --wal-file-name=wal-file-name\n" ));
160
162
@@ -228,10 +230,10 @@ help_backup(void)
228
230
printf (_ (" --log-directory=log-directory\n" ));
229
231
printf (_ (" directory for file logging (default: BACKUP_PATH/log)\n" ));
230
232
printf (_ (" --log-rotation-size=log-rotation-size\n" ));
231
- printf (_ (" rotate logfile if its size exceed this value; 0 disables; (default: 0)\n" ));
232
- printf (_ (" available units: 'KB ', 'MB', 'GB', 'TB' (default: KB )\n" ));
233
+ printf (_ (" rotate logfile if its size exceeds this value; 0 disables; (default: 0)\n" ));
234
+ printf (_ (" available units: 'kB ', 'MB', 'GB', 'TB' (default: kB )\n" ));
233
235
printf (_ (" --log-rotation-age=log-rotation-age\n" ));
234
- printf (_ (" rotate logfile if its age exceed this value; 0 disables; (default: 0)\n" ));
236
+ printf (_ (" rotate logfile if its age exceeds this value; 0 disables; (default: 0)\n" ));
235
237
printf (_ (" available units: 'ms', 's', 'min', 'h', 'd' (default: min)\n" ));
236
238
237
239
printf (_ ("\n Retention options:\n" ));
@@ -269,8 +271,8 @@ help_backup(void)
269
271
static void
270
272
help_restore (void )
271
273
{
272
- printf (_ ("%s restore -B backup-dir --instance=instance_name\n" ), PROGRAM_NAME );
273
- printf (_ (" [-D pgdata-dir ] [-i backup-id] [--progress]\n" ));
274
+ printf (_ ("%s restore -B backup-path --instance=instance_name\n" ), PROGRAM_NAME );
275
+ printf (_ (" [-D pgdata-path ] [-i backup-id] [--progress]\n" ));
274
276
printf (_ (" [--time=time|--xid=xid|--lsn=lsn [--inclusive=boolean]]\n" ));
275
277
printf (_ (" [--timeline=timeline] [-T OLDDIR=NEWDIR]\n" ));
276
278
printf (_ (" [--immediate] [--recovery-target-name=target-name]\n" ));
@@ -280,7 +282,7 @@ help_restore(void)
280
282
printf (_ (" -B, --backup-path=backup-path location of the backup storage area\n" ));
281
283
printf (_ (" --instance=instance_name name of the instance\n" ));
282
284
283
- printf (_ (" -D, --pgdata=pgdata-dir location of the database storage area\n" ));
285
+ printf (_ (" -D, --pgdata=pgdata-path location of the database storage area\n" ));
284
286
printf (_ (" -i, --backup-id=backup-id backup to restore\n" ));
285
287
286
288
printf (_ (" --progress show progress\n" ));
@@ -318,17 +320,17 @@ help_restore(void)
318
320
printf (_ (" --log-directory=log-directory\n" ));
319
321
printf (_ (" directory for file logging (default: BACKUP_PATH/log)\n" ));
320
322
printf (_ (" --log-rotation-size=log-rotation-size\n" ));
321
- printf (_ (" rotate logfile if its size exceed this value; 0 disables; (default: 0)\n" ));
322
- printf (_ (" available units: 'KB ', 'MB', 'GB', 'TB' (default: KB )\n" ));
323
+ printf (_ (" rotate logfile if its size exceeds this value; 0 disables; (default: 0)\n" ));
324
+ printf (_ (" available units: 'kB ', 'MB', 'GB', 'TB' (default: kB )\n" ));
323
325
printf (_ (" --log-rotation-age=log-rotation-age\n" ));
324
- printf (_ (" rotate logfile if its age exceed this value; 0 disables; (default: 0)\n" ));
326
+ printf (_ (" rotate logfile if its age exceeds this value; 0 disables; (default: 0)\n" ));
325
327
printf (_ (" available units: 'ms', 's', 'min', 'h', 'd' (default: min)\n" ));
326
328
}
327
329
328
330
static void
329
331
help_validate (void )
330
332
{
331
- printf (_ ("%s validate -B backup-dir [--instance=instance_name]\n" ), PROGRAM_NAME );
333
+ printf (_ ("%s validate -B backup-path [--instance=instance_name]\n" ), PROGRAM_NAME );
332
334
printf (_ (" [-i backup-id] [--progress]\n" ));
333
335
printf (_ (" [--time=time|--xid=xid|--lsn=lsn [--inclusive=boolean]]\n" ));
334
336
printf (_ (" [--timeline=timeline]\n\n" ));
@@ -361,17 +363,17 @@ help_validate(void)
361
363
printf (_ (" --log-directory=log-directory\n" ));
362
364
printf (_ (" directory for file logging (default: BACKUP_PATH/log)\n" ));
363
365
printf (_ (" --log-rotation-size=log-rotation-size\n" ));
364
- printf (_ (" rotate logfile if its size exceed this value; 0 disables; (default: 0)\n" ));
365
- printf (_ (" available units: 'KB ', 'MB', 'GB', 'TB' (default: KB )\n" ));
366
+ printf (_ (" rotate logfile if its size exceeds this value; 0 disables; (default: 0)\n" ));
367
+ printf (_ (" available units: 'kB ', 'MB', 'GB', 'TB' (default: kB )\n" ));
366
368
printf (_ (" --log-rotation-age=log-rotation-age\n" ));
367
- printf (_ (" rotate logfile if its age exceed this value; 0 disables; (default: 0)\n" ));
369
+ printf (_ (" rotate logfile if its age exceeds this value; 0 disables; (default: 0)\n" ));
368
370
printf (_ (" available units: 'ms', 's', 'min', 'h', 'd' (default: min)\n" ));
369
371
}
370
372
371
373
static void
372
374
help_show (void )
373
375
{
374
- printf (_ ("%s show -B backup-dir \n" ), PROGRAM_NAME );
376
+ printf (_ ("%s show -B backup-path \n" ), PROGRAM_NAME );
375
377
printf (_ (" [--instance=instance_name [-i backup-id]]\n" ));
376
378
printf (_ (" [--format=format]\n\n" ));
377
379
@@ -384,7 +386,7 @@ help_show(void)
384
386
static void
385
387
help_delete (void )
386
388
{
387
- printf (_ ("%s delete -B backup-dir --instance=instance_name\n" ), PROGRAM_NAME );
389
+ printf (_ ("%s delete -B backup-path --instance=instance_name\n" ), PROGRAM_NAME );
388
390
printf (_ (" [-i backup-id | --expired] [--wal]\n\n" ));
389
391
390
392
printf (_ (" -B, --backup-path=backup-path location of the backup storage area\n" ));
@@ -409,17 +411,17 @@ help_delete(void)
409
411
printf (_ (" --log-directory=log-directory\n" ));
410
412
printf (_ (" directory for file logging (default: BACKUP_PATH/log)\n" ));
411
413
printf (_ (" --log-rotation-size=log-rotation-size\n" ));
412
- printf (_ (" rotate logfile if its size exceed this value; 0 disables; (default: 0)\n" ));
413
- printf (_ (" available units: 'KB ', 'MB', 'GB', 'TB' (default: KB )\n" ));
414
+ printf (_ (" rotate logfile if its size exceeds this value; 0 disables; (default: 0)\n" ));
415
+ printf (_ (" available units: 'kB ', 'MB', 'GB', 'TB' (default: kB )\n" ));
414
416
printf (_ (" --log-rotation-age=log-rotation-age\n" ));
415
- printf (_ (" rotate logfile if its age exceed this value; 0 disables; (default: 0)\n" ));
417
+ printf (_ (" rotate logfile if its age exceeds this value; 0 disables; (default: 0)\n" ));
416
418
printf (_ (" available units: 'ms', 's', 'min', 'h', 'd' (default: min)\n" ));
417
419
}
418
420
419
421
static void
420
422
help_merge (void )
421
423
{
422
- printf (_ ("%s merge -B backup-dir --instance=instance_name\n" ), PROGRAM_NAME );
424
+ printf (_ ("%s merge -B backup-path --instance=instance_name\n" ), PROGRAM_NAME );
423
425
printf (_ (" -i backup-id [-j num-threads] [--progress]\n" ));
424
426
printf (_ (" [--log-level-console=log-level-console]\n" ));
425
427
printf (_ (" [--log-level-file=log-level-file]\n" ));
@@ -451,17 +453,17 @@ help_merge(void)
451
453
printf (_ (" --log-directory=log-directory\n" ));
452
454
printf (_ (" directory for file logging (default: BACKUP_PATH/log)\n" ));
453
455
printf (_ (" --log-rotation-size=log-rotation-size\n" ));
454
- printf (_ (" rotate logfile if its size exceed this value; 0 disables; (default: 0)\n" ));
455
- printf (_ (" available units: 'KB ', 'MB', 'GB', 'TB' (default: KB )\n" ));
456
+ printf (_ (" rotate logfile if its size exceeds this value; 0 disables; (default: 0)\n" ));
457
+ printf (_ (" available units: 'kB ', 'MB', 'GB', 'TB' (default: kB )\n" ));
456
458
printf (_ (" --log-rotation-age=log-rotation-age\n" ));
457
- printf (_ (" rotate logfile if its age exceed this value; 0 disables; (default: 0)\n" ));
459
+ printf (_ (" rotate logfile if its age exceeds this value; 0 disables; (default: 0)\n" ));
458
460
printf (_ (" available units: 'ms', 's', 'min', 'h', 'd' (default: min)\n" ));
459
461
}
460
462
461
463
static void
462
464
help_set_config (void )
463
465
{
464
- printf (_ ("%s set-config -B backup-dir --instance=instance_name\n" ), PROGRAM_NAME );
466
+ printf (_ ("%s set-config -B backup-path --instance=instance_name\n" ), PROGRAM_NAME );
465
467
printf (_ (" [--log-level-console=log-level-console]\n" ));
466
468
printf (_ (" [--log-level-file=log-level-file]\n" ));
467
469
printf (_ (" [--log-filename=log-filename]\n" ));
@@ -497,10 +499,10 @@ help_set_config(void)
497
499
printf (_ (" --log-directory=log-directory\n" ));
498
500
printf (_ (" directory for file logging (default: BACKUP_PATH/log)\n" ));
499
501
printf (_ (" --log-rotation-size=log-rotation-size\n" ));
500
- printf (_ (" rotate logfile if its size exceed this value; 0 disables; (default: 0)\n" ));
501
- printf (_ (" available units: 'KB ', 'MB', 'GB', 'TB' (default: KB )\n" ));
502
+ printf (_ (" rotate logfile if its size exceeds this value; 0 disables; (default: 0)\n" ));
503
+ printf (_ (" available units: 'kB ', 'MB', 'GB', 'TB' (default: kB )\n" ));
502
504
printf (_ (" --log-rotation-age=log-rotation-age\n" ));
503
- printf (_ (" rotate logfile if its age exceed this value; 0 disables; (default: 0)\n" ));
505
+ printf (_ (" rotate logfile if its age exceeds this value; 0 disables; (default: 0)\n" ));
504
506
printf (_ (" available units: 'ms', 's', 'min', 'h', 'd' (default: min)\n" ));
505
507
506
508
printf (_ ("\n Retention options:\n" ));
@@ -534,7 +536,7 @@ help_set_config(void)
534
536
static void
535
537
help_show_config (void )
536
538
{
537
- printf (_ ("%s show-config -B backup-dir --instance=instance_name\n" ), PROGRAM_NAME );
539
+ printf (_ ("%s show-config -B backup-path --instance=instance_name\n" ), PROGRAM_NAME );
538
540
printf (_ (" [--format=format]\n\n" ));
539
541
540
542
printf (_ (" -B, --backup-path=backup-path location of the backup storage area\n" ));
@@ -545,18 +547,18 @@ help_show_config(void)
545
547
static void
546
548
help_add_instance (void )
547
549
{
548
- printf (_ ("%s add-instance -B backup-dir -D pgdata-dir \n" ), PROGRAM_NAME );
550
+ printf (_ ("%s add-instance -B backup-path -D pgdata-path \n" ), PROGRAM_NAME );
549
551
printf (_ (" --instance=instance_name\n\n" ));
550
552
551
553
printf (_ (" -B, --backup-path=backup-path location of the backup storage area\n" ));
552
- printf (_ (" -D, --pgdata=pgdata-dir location of the database storage area\n" ));
554
+ printf (_ (" -D, --pgdata=pgdata-path location of the database storage area\n" ));
553
555
printf (_ (" --instance=instance_name name of the new instance\n" ));
554
556
}
555
557
556
558
static void
557
559
help_del_instance (void )
558
560
{
559
- printf (_ ("%s del-instance -B backup-dir --instance=instance_name\n\n" ), PROGRAM_NAME );
561
+ printf (_ ("%s del-instance -B backup-path --instance=instance_name\n\n" ), PROGRAM_NAME );
560
562
561
563
printf (_ (" -B, --backup-path=backup-path location of the backup storage area\n" ));
562
564
printf (_ (" --instance=instance_name name of the instance to delete\n" ));
@@ -565,10 +567,12 @@ help_del_instance(void)
565
567
static void
566
568
help_archive_push (void )
567
569
{
568
- printf (_ ("\n %s archive-push -B backup-dir --instance=instance_name\n" ), PROGRAM_NAME );
570
+ printf (_ ("\n %s archive-push -B backup-path --instance=instance_name\n" ), PROGRAM_NAME );
569
571
printf (_ (" --wal-file-path=wal-file-path\n" ));
570
572
printf (_ (" --wal-file-name=wal-file-name\n" ));
571
- printf (_ (" [--compress [--compress-level=compress-level]]\n" ));
573
+ printf (_ (" [--compress]\n" ));
574
+ printf (_ (" [--compress-algorithm=compress-algorithm]\n" ));
575
+ printf (_ (" [--compress-level=compress-level]\n" ));
572
576
printf (_ (" [--overwrite]\n\n" ));
573
577
574
578
printf (_ (" -B, --backup-path=backup-path location of the backup storage area\n" ));
@@ -578,6 +582,8 @@ help_archive_push(void)
578
582
printf (_ (" --wal-file-name=wal-file-name\n" ));
579
583
printf (_ (" name of the WAL file to retrieve from the server\n" ));
580
584
printf (_ (" --compress compress WAL file during archiving\n" ));
585
+ printf (_ (" --compress-algorithm=compress-algorithm\n" ));
586
+ printf (_ (" available options: 'zlib','none'\n" ));
581
587
printf (_ (" --compress-level=compress-level\n" ));
582
588
printf (_ (" level of compression [0-9]\n" ));
583
589
printf (_ (" --overwrite overwrite archived WAL file\n" ));
@@ -586,7 +592,7 @@ help_archive_push(void)
586
592
static void
587
593
help_archive_get (void )
588
594
{
589
- printf (_ ("\n %s archive-get -B backup-dir --instance=instance_name\n" ), PROGRAM_NAME );
595
+ printf (_ ("\n %s archive-get -B backup-path --instance=instance_name\n" ), PROGRAM_NAME );
590
596
printf (_ (" --wal-file-path=wal-file-path\n" ));
591
597
printf (_ (" --wal-file-name=wal-file-name\n\n" ));
592
598
0 commit comments