stats parameter not working on default verbosity #290

Closed
opened 2020-01-31 10:29:46 +00:00 by dedemann · 3 comments

What I'm trying to do and why

I'm running the borgmatic tool on several environments (debian). Normally the tool gets as parameter --stats and shows me information about the pruning and creating, which is defined in the default config file.

Since installing the current version, the command borgmatic --stats doesn't generate any output.

Steps to reproduce (if a bug)

running a configuration with the stats command only: borgmatic --stats

Actual behavior (if a bug)

Nothing is given back by only using the stats parameter.

Expected behavior (if a bug)

Like in the versions before the stats parameter should provide the regular information of the pruning and creating process and not nothing.

e.g:

-------------------------------------------------------------------------------
                       Original size      Compressed size    Deduplicated size
Deleted data:              -48.11 GB            -42.30 GB           -182.50 MB
All archives:                3.23 TB              2.81 TB             56.98 GB
                       Unique chunks         Total chunks
Chunk index:                  387079             13134641
------------------------------------------------------------------------------
------------------------------------------------------------------------------
Archive name: XXXXXX-2020-01-27T02:15:47.775971
Archive fingerprint: 3d6c7a03dee61fdadd1d1d4d818fdb520164cc2ef24bbc40dfe832f3a4db1d08
Time (start): Mon, 2020-01-27 02:15:47
Time (end):   Mon, 2020-01-27 02:16:43
Duration: 55.20 seconds
Number of files: 174127
Utilization of max. archive size: 0%
------------------------------------------------------------------------------
                       Original size      Compressed size    Deduplicated size
This archive:               49.57 GB             43.67 GB             87.94 MB
All archives:                3.28 TB              2.85 TB             57.07 GB
                       Unique chunks         Total chunks
Chunk index:                  387363             13321101
------------------------------------------------------------------------------

Other notes / implementation ideas

If I run the command with additional -v 1 the output looks close to that what I expect.

Environment

borgmatic version: 1.5.0

borgmatic installation method: pip

Borg version: borg 1.1.10

Python version: Python 3.7.3

Database version (if applicable): n/a

operating system and version: debian 10.2 Buster

#### What I'm trying to do and why I'm running the borgmatic tool on several environments (debian). Normally the tool gets as parameter `--stats` and shows me information about the pruning and creating, which is defined in the default config file. Since installing the current version, the command `borgmatic --stats` doesn't generate any output. #### Steps to reproduce (if a bug) running a configuration with the stats command only: `borgmatic --stats` #### Actual behavior (if a bug) Nothing is given back by only using the stats parameter. #### Expected behavior (if a bug) Like in the versions before the stats parameter should provide the regular information of the pruning and creating process and not nothing. e.g: ``` ------------------------------------------------------------------------------- Original size Compressed size Deduplicated size Deleted data: -48.11 GB -42.30 GB -182.50 MB All archives: 3.23 TB 2.81 TB 56.98 GB Unique chunks Total chunks Chunk index: 387079 13134641 ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ Archive name: XXXXXX-2020-01-27T02:15:47.775971 Archive fingerprint: 3d6c7a03dee61fdadd1d1d4d818fdb520164cc2ef24bbc40dfe832f3a4db1d08 Time (start): Mon, 2020-01-27 02:15:47 Time (end): Mon, 2020-01-27 02:16:43 Duration: 55.20 seconds Number of files: 174127 Utilization of max. archive size: 0% ------------------------------------------------------------------------------ Original size Compressed size Deduplicated size This archive: 49.57 GB 43.67 GB 87.94 MB All archives: 3.28 TB 2.85 TB 57.07 GB Unique chunks Total chunks Chunk index: 387363 13321101 ------------------------------------------------------------------------------ ``` #### Other notes / implementation ideas If I run the command with additional `-v 1` the output looks close to that what I expect. #### Environment **borgmatic version:** 1.5.0 **borgmatic installation method:** pip **Borg version:** borg 1.1.10 **Python version:** Python 3.7.3 **Database version (if applicable):** n/a **operating system and version:** debian 10.2 Buster
Owner

I've confirmed locally that the --stats parameter is behaving as you described. Definitely seems incorrect. Thanks for reporting this!

I've confirmed locally that the `--stats` parameter is behaving as you described. Definitely seems incorrect. Thanks for reporting this!
witten added the
bug
label 2020-01-31 18:07:10 +00:00
Owner

The fix is now in master, and will be part of the next release. Thanks again!

The fix is now in master, and will be part of the next release. Thanks again!
Owner

This is now released in borgmatic 1.5.1!

This is now released in borgmatic 1.5.1!
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: borgmatic-collective/borgmatic#290
No description provided.