@@ -39,6 +39,7 @@ boolstream_wal = false;
39
39
bool disable_ptrack_clear = false;
40
40
static bool backup_logs = false;
41
41
static bool backup_validate = false;
42
+ bool progress = false;
42
43
43
44
/* restore configuration */
44
45
static char * target_time ;
@@ -62,6 +63,7 @@ static pgut_option options[] =
62
63
{'b' ,'c' ,"check" ,& check },
63
64
{'i' ,'j' ,"threads" ,& num_threads },
64
65
{'b' ,8 ,"stream" ,& stream_wal },
66
+ {'b' ,11 ,"progress" ,& progress },
65
67
/* backup options */
66
68
{'b' ,9 ,"disable-ptrack-clear" ,& disable_ptrack_clear },
67
69
{'b' ,10 ,"backup-pg-log" ,& backup_logs },
@@ -239,6 +241,7 @@ pgut_help(bool details)
239
241
printf (_ (" -c, --check show what would have been done\n" ));
240
242
printf (_ (" -j, --threads=NUM num threads for backup and restore\n" ));
241
243
printf (_ (" --stream use stream for save/restore WAL during backup\n" ));
244
+ printf (_ (" --progress show progress copy files\n" ));
242
245
printf (_ ("\nBackup options:\n" ));
243
246
printf (_ (" -b, --backup-mode=MODE full,page,ptrack\n" ));
244
247
printf (_ (" -C, --smooth-checkpoint do smooth checkpoint before backup\n" ));