borgbackup / borg

Deduplicating archiver with compression and authenticated encryption.
https://www.borgbackup.org/
Other
11.22k stars 743 forks source link

create: display stats, especially amount of data which was backed up #8392

Open mirko opened 1 month ago

mirko commented 1 month ago

Have you checked borgbackup docs, FAQ, and open GitHub issues?

Yes

Is this a BUG / ISSUE report or a QUESTION?

IMPROVEMENT / FEATURE-REQUEST (I think this should be added as option to the list of categories to choose from)

System information. For client/server mode post info for both machines.

Your borg version (borg -V).

borg 2.0.0b11.dev3+gc278a8e8.d20240915

Describe the problem Feature-Request you're observing asking for

I feel like it woud be very helpful to have a summary after each completed borg create-call provided.

Duplicity provides the following "Backup Statistic" at the end of such a call:

Last full backup date: Tue Sep 17 14:33:01 2024
--------------[ Backup Statistics ]--------------
StartTime 1726684706.25 (Wed Sep 18 20:38:26 2024)
EndTime 1726685253.38 (Wed Sep 18 20:47:33 2024)
ElapsedTime 547.13 (9 minutes 7.13 seconds)
SourceFiles 231378
SourceFileSize 10967537150 (10.2 GB)
NewFiles 231378
NewFileSize 10967537150 (10.2 GB)
DeletedFiles 0
ChangedFiles 0
ChangedFileSize 0 (0 bytes)
ChangedDeltaSize 0 (0 bytes)
DeltaEntries 231378
RawDeltaSize 10814897485 (10.1 GB)
TotalDestinationSizeChange 4217099127 (3.93 GB)
Errors 0
-------------------------------------------------

which I find extremely helpful, especially (a) how much data was backed up during this run (b) amount of space this run added after enc/comp

mirko commented 1 month ago

Just noticed --stats only now - will test and potentially edit and ask for deletion of this issue if it actually does what I outlined above.

ThomasWaldmann commented 1 month ago

While doing the bigger changes recently, I had to remove quite some "stats" because they were either not computable anymore or just "in the way". Thus, stats might be missing or wrong.

Related: #8307