backup: expose data_added_in_repo in JSON output

The value describes how much data was added after compression.
Previously, it was only available in the text output.
This commit is contained in:
Michael Eischer
2024-02-22 22:17:54 +01:00
parent a59f654fa6
commit 86897314d5
2 changed files with 5 additions and 1 deletions

View File

@@ -163,7 +163,9 @@ Summary is the last output line in a successful backup.
+---------------------------+---------------------------------------------------------+
| ``tree_blobs`` | Number of tree blobs |
+---------------------------+---------------------------------------------------------+
| ``data_added`` | Amount of data added, in bytes |
| ``data_added`` | Amount of (uncompressed) data added, in bytes |
+---------------------------+---------------------------------------------------------+
| ``data_added_in_repo`` | Amount of data added (after compression), in bytes |
+---------------------------+---------------------------------------------------------+
| ``total_files_processed`` | Total number of files processed |
+---------------------------+---------------------------------------------------------+