@@ -39,6 +39,7 @@ bool stream_wal = false;
3939bool disable_ptrack_clear = false;
4040static bool backup_logs = false;
4141static bool backup_validate = false;
42+ bool progress = false;
4243
4344/* restore configuration */
4445static char * target_time ;
@@ -62,6 +63,7 @@ static pgut_option options[] =
6263 { 'b' , 'c' , "check" , & check },
6364 { 'i' , 'j' , "threads" , & num_threads },
6465 { 'b' , 8 , "stream" , & stream_wal },
66+ { 'b' , 11 , "progress" , & progress },
6567 /* backup options */
6668 { 'b' , 9 , "disable-ptrack-clear" , & disable_ptrack_clear },
6769 { 'b' , 10 , "backup-pg-log" , & backup_logs },
@@ -239,6 +241,7 @@ pgut_help(bool details)
239241 printf (_ (" -c, --check show what would have been done\n" ));
240242 printf (_ (" -j, --threads=NUM num threads for backup and restore\n" ));
241243 printf (_ (" --stream use stream for save/restore WAL during backup\n" ));
244+ printf (_ (" --progress show progress copy files\n" ));
242245 printf (_ ("\nBackup options:\n" ));
243246 printf (_ (" -b, --backup-mode=MODE full,page,ptrack\n" ));
244247 printf (_ (" -C, --smooth-checkpoint do smooth checkpoint before backup\n" ));
0 commit comments