Archive and repo sizes are wrong
Description
Archive and repo sizes seem to often be completely off. For example, I have a repo in Borgbase, getting the info from borg command line returns:
Original size: 20.44GB
Compressed size: 14.64GB
Deduplicated size: 3.96GB
which is consistent with that I see on the site. Vorta on the other end shows:
Original Size: 20.4GB Deduplicated size: 6.1 Compressed size: N/A (this literally never shows anything for me, doesn't matter if it's remote or local, it's always N/A)
Meanwhile, the reported sizes of each archive, I have 5 at the moment: 0.2GB, 0.2GB, 0.3GB, 0.3GB, 0.3GB
Trying the Recalculate option doesn't change anything. I have a local repo also, and all show 0.2GB, there are 9 archives, but the dedup size shows 9GB.
Any ideas as to why that is?
Reproduction
- [X] I tried to reproduce the issue.
- [X] I was able to reproduce the issue.
OS
Arch
Version of Vorta
0.9.1
What did you install Vorta with?
Distribution package
Version of Borg
1.4.0
Logs
No response
From what I remember, our numbers come from borg info. But the compressed number was removed because it can take a long time to calculate. The precise reason may be in a Github issue.
The info I got above comes from borg info and yet the numbers don't match. Also it gives me the compressed number right away, so I'm not sure why that would be a problem, and really, shouldn't it be the user's choice whether to get that info or not? It seems that if you're going to have that in the UI, never retrieving it is just bizarre.
Also, it doesn't explain the archive numbers which are also completely off. I have another repo that has 20GB of data with the same discrepancy. I have 4 archives there, the first one being somehow 0.2MB, then two of 82MB and finally one of 1.2GB. Just got to wonder where those numbers are from? Clearly it doesn't add up, unless I'm missing something.
The number was removed for borg v2. So we removed it in Vorta.
There is a pending PR to add it back for borg v1 only, but the PR never got finished. If the timing issues can be solved for this PR, it's good to merge: https://github.com/borgbase/vorta/pull/1751
Duplicate of #1750
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
When I backup a many GB source for the first time, it shows about the right archive size. When the second backup is done, the size of the first backup doesn' change -also ok. When I recalculate both backups, both archive sizes are only a few kB. There must be something wrong?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue was closed because it has been stalled for 7 days with no activity.