@@ -215,10 +215,10 @@ help_pg_probackup(void)
215
215
216
216
printf (_ ("\n %s archive-push -B backup-path --instance=instance_name\n" ), PROGRAM_NAME );
217
217
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" ));
219
220
printf (_ (" [--no-ready-rename] [--no-sync]\n" ));
220
- printf (_ (" [--overwrite]\n" ));
221
- printf (_ (" [--compress]\n" ));
221
+ printf (_ (" [--overwrite] [--compress]\n" ));
222
222
printf (_ (" [--compress-algorithm=compress-algorithm]\n" ));
223
223
printf (_ (" [--compress-level=compress-level]\n" ));
224
224
printf (_ (" [--remote-proto] [--remote-host]\n" ));
@@ -870,10 +870,10 @@ help_archive_push(void)
870
870
{
871
871
printf (_ ("\n%s archive-push -B backup-path --instance=instance_name\n" ), PROGRAM_NAME );
872
872
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" ));
874
875
printf (_ (" [--no-ready-rename] [--no-sync]\n" ));
875
- printf (_ (" [--overwrite]\n" ));
876
- printf (_ (" [--compress]\n" ));
876
+ printf (_ (" [--overwrite] [--compress]\n" ));
877
877
printf (_ (" [--compress-algorithm=compress-algorithm]\n" ));
878
878
printf (_ (" [--compress-level=compress-level]\n" ));
879
879
printf (_ (" [--remote-proto] [--remote-host]\n" ));
@@ -883,9 +883,11 @@ help_archive_push(void)
883
883
printf (_ (" -B, --backup-path=backup-path location of the backup storage area\n" ));
884
884
printf (_ (" --instance=instance_name name of the instance to delete\n" ));
885
885
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" ));
887
887
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" ));
889
891
printf (_ (" --no-sync do not sync WAL file to disk\n" ));
890
892
printf (_ (" --overwrite overwrite archived WAL file\n" ));
891
893
0 commit comments