Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 93d0ea0

Browse files
committedMar 17, 2020
[Issue #174] help update
1 parent 75a01ce commit 93d0ea0

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed
 

‎src/help.c

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -215,10 +215,10 @@ help_pg_probackup(void)
215215

216216
printf(_("\n %s archive-push -B backup-path --instance=instance_name\n"), PROGRAM_NAME);
217217
printf(_(" --wal-file-name=wal-file-name\n"));
218-
printf(_(" [-j num-threads]\n"));
218+
printf(_(" [-j num-threads] [--batch-size batch_size]\n"));
219+
printf(_(" [--archive-timeout=timeout]\n"));
219220
printf(_(" [--no-ready-rename] [--no-sync]\n"));
220-
printf(_(" [--overwrite]\n"));
221-
printf(_(" [--compress]\n"));
221+
printf(_(" [--overwrite] [--compress]\n"));
222222
printf(_(" [--compress-algorithm=compress-algorithm]\n"));
223223
printf(_(" [--compress-level=compress-level]\n"));
224224
printf(_(" [--remote-proto] [--remote-host]\n"));
@@ -870,10 +870,10 @@ help_archive_push(void)
870870
{
871871
printf(_("\n%s archive-push -B backup-path --instance=instance_name\n"), PROGRAM_NAME);
872872
printf(_(" --wal-file-name=wal-file-name\n"));
873-
printf(_(" [-j num-threads]\n"));
873+
printf(_(" [-j num-threads] [--batch-size batch_size]\n"));
874+
printf(_(" [--archive-timeout=timeout]\n"));
874875
printf(_(" [--no-ready-rename] [--no-sync]\n"));
875-
printf(_(" [--overwrite]\n"));
876-
printf(_(" [--compress]\n"));
876+
printf(_(" [--overwrite] [--compress]\n"));
877877
printf(_(" [--compress-algorithm=compress-algorithm]\n"));
878878
printf(_(" [--compress-level=compress-level]\n"));
879879
printf(_(" [--remote-proto] [--remote-host]\n"));
@@ -883,9 +883,11 @@ help_archive_push(void)
883883
printf(_(" -B, --backup-path=backup-path location of the backup storage area\n"));
884884
printf(_(" --instance=instance_name name of the instance to delete\n"));
885885
printf(_(" --wal-file-name=wal-file-name\n"));
886-
printf(_(" name of the WAL file to retrieve from the server\n"));
886+
printf(_(" name of the file to copy into WAL archive\n"));
887887
printf(_(" -j, --threads=NUM number of parallel threads\n"));
888-
printf(_(" --no-ready-rename do not rename '.ready' file in 'archive_status' directory\n"));
888+
printf(_(" --batch-size=NUM number of files to be copied\n"));
889+
printf(_(" --archive-timeout=timeout wait timeout before discarding stale temp file(default: 5min)\n"));
890+
printf(_(" --no-ready-rename do not rename '.ready' files in 'archive_status' directory\n"));
889891
printf(_(" --no-sync do not sync WAL file to disk\n"));
890892
printf(_(" --overwrite overwrite archived WAL file\n"));
891893

0 commit comments

Comments
 (0)
Please sign in to comment.