The default restic stats which gives you 89.384GiB is the size of the restored files.
Then the --mode=raw-data counts the size of the blobs in the repository. That is the deduplicated data size, your deduplicated repo size is
Total Uncompressed Size: 89.030 GiB
Last, since restic can also compress that result is also mentioned. your compressed repo size (this should mean actual occupied space on the disk) is
Total Size: 88.243 GiB
In conclusion you have source data with almost no duplicate data blobs and very little compression.
p.s. I find stats --mode =raw-data useful, to inspect the size or growth of the repository size.
At the moment there is nothing strange in your output: restic stats will print the total “useful” data stored in the repo. BB will print the total “billable” space occupied.
Can you show us the output of restic prune --dry-run? I think you just have about 5Gb of unused space which you can prune with the right flags: by default prune will accept 5% of unused data.
If you complete the prune (without the --dry-run) the line “remaining” in prune should be really similar to what your provider will bill you for.
For now I’m ok with size anyway prune doesn’t show anymore to delete
Would have made the following changes:
to repack: 0 blobs / 0 B
this removes: 0 blobs / 0 B
to delete: 0 blobs / 0 B
total prune: 0 blobs / 0 B
remaining: 75534 blobs / 88.243 GiB
unused size after prune: 0 B (0.00% of remaining size)
It is not (or at least shouldn’t be) a question of hope:) but your B2 bucket Storage Lifecycle Rules settings. Simply it is entirely up to you how you configure it.