Details
-
Improvement
-
Resolution: Unresolved
-
Major
-
6.5.1
-
None
-
1
Description
When a bash script running just the `cbbackupmgr backup` command is run on the terminal, we get the progress bar as shown below:
Script started on 2020-08-11 20:25:07+0000 |
|
Backing up to 2020-08-11T20_25_07.576464767Z |
Copied all data in 1s (Avg. 14.00KB/Sec) 0 items / 14.00KB |
default [======================================================================================] 100.00% |
|
Backup successfully completed
|
However, the progress bar gets disabled when the script is run as a CRON job. Thus the standard out of the cronjob to file results in the following output.
Script started on 2020-08-11 20:28:02+0000 |
Warning: Progress bar disabled because terminal width is less than 80 characters |
Backup successfully completed
|
During the cron execution, if due to the sizing of the cluster the backup takes a long time to complete, it would be beneficial to track the progress of the backup with some sort of percentage indication.