Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wrong original size in borg create #3224

Closed
GiuseppeArvati opened this issue Oct 26, 2017 · 1 comment
Closed

wrong original size in borg create #3224

GiuseppeArvati opened this issue Oct 26, 2017 · 1 comment
Assignees
Labels
Milestone

Comments

@GiuseppeArvati
Copy link

GiuseppeArvati commented Oct 26, 2017

Hello,
[borg 1.1.1 python 3.4.5 CentOs 6]
I tried 2 times with same command but different files ( oracle dump ) and both times I had
an original size reported twice bigger than the real one.
The file is 109 GB.
I tried even with smaller files but the problem did not appear.

# borg create -p --stats /opt/mnt/test.borg::test2 ads_orcl_daily_dmp_5
------------------------------------------------------------------------------
Archive name: test2
Archive fingerprint: ba34d3cb846d521388a14ea5cf1b9a8addb114de386a042738b99fac01e48a42
Time (start): Thu, 2017-10-26 12:33:18
Time (end):   Thu, 2017-10-26 13:33:38
Duration: 1 hours 20.12 seconds
Number of files: 1
Utilization of max. archive size: 0%
------------------------------------------------------------------------------
                       Original size      Compressed size    Deduplicated size
This archive:              232.90 GB            205.06 GB            102.53 GB
All archives:              232.90 GB            205.06 GB            102.53 GB

                       Unique chunks         Total chunks
Chunk index:                   44512                89022
------------------------------------------------------------------------------

giuseppe

@ThomasWaldmann ThomasWaldmann added this to the 1.1.2rc1 milestone Oct 27, 2017
@ThomasWaldmann ThomasWaldmann self-assigned this Oct 29, 2017
ThomasWaldmann added a commit to ThomasWaldmann/borg that referenced this issue Oct 29, 2017
@ThomasWaldmann ThomasWaldmann modified the milestone: 1.1.2rc1 Nov 2, 2017
@ThomasWaldmann
Copy link
Member

The "original size" doubles when a checkpoint is happening in the respective file.
Cosmetical bug, the chunks are referenced by the parts AND by the full file and both is going into the statistics.

ThomasWaldmann added a commit to ThomasWaldmann/borg that referenced this issue Nov 4, 2017
ThomasWaldmann added a commit that referenced this issue Nov 5, 2017
stats: do not count data volume twice when checkpointing, fixes #3224
ThomasWaldmann added a commit that referenced this issue Nov 5, 2017
stats: do not count data volume twice when checkpointing, fixes #3224
@ghost ghost mentioned this issue Aug 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants