Description
Currently cbbackupmgr outputs the following when run manually:
|
Backing up to 2016-11-22T14_44_26.47324958Z
|
Copied all data in 3.01s (Avg. 73.11MB/Sec) 15916 items / 219.34MB
|
default [==========================================================================================================================================================================] 100.00%
|
secure_bucket [==========================================================================================================================================================================] 100.00%
|
sync_gateway [==========================================================================================================================================================================] 100.00%
|
|
Backup successfully completed
|
However, when running in a small terminal window or redirecting, we correctly don't try to render the progress bars:
Warning: Progess bar disabled because terminal width is less than 80 characters
|
Backup successfully completed
|
The trouble here is that many users will want to script their backups and not run them manually. The --no-progess-bar option is obviously the one to use here, but that just prints:
Backup successfully completed
|
with no further output. It would be helpful to have the output include the other info that comes with the progress bar, so that the output is more useful if redirected to a log, something like:
Backing up to 2016-11-22T14_44_26.47324958Z
|
Copied all data in 3.01s (Avg. 73.11MB/Sec) 15916 items / 219.34MB
|
Backup successfully completed
|
This info is discernible from `cbbackupmgr list` and the `backup.log` but both require additional steps and parsing.
Attachments
Issue Links
- relates to
-
MB-22706 cbbackupmgr compact should have a progress bar
- Resolved