Repository navigation
[Feature Request] Display size comparison to PBS WebUI #20
Replies: 5 comments
|
Thank you for your contribution to this project. |
|
This is a very good question and a perfect example of where the PBS GUI and the chunk-based view show different things 🙂 The PBS_Chunk_Checker works purely on chunk digests and answers the question: How much physical datastore space is required for the selected scope? In the chunk usage summary: unique are chunks that are referenced exactly once inside the selected scope. duplicate are chunks that occur multiple times inside the selected scope and are therefore deduplicated. total ref is simply the sum of unique and duplicate chunk references. The size shown in the PBS GUI is a logical size, not the physical datastore usage. So in your example: GUI size = 2.1 TiB → logical/provisioned VM disk size This does not mean that deduplication saved you ~1 TB. Because you checked only a single backup and For a first cloud sync to an empty remote datastore you would need to transfer approximately the unique size (~1.2 TiB), because only unique chunks have to be uploaded. Further backups would then benefit from deduplication. In short: the GUI shows the logical disk size, while the script shows the real physical datastore usage for the selected scope. |
|
Thanks @VoltKraft for the detailed response! On a side note, this was a backup taken with proxmox-backup-client from a physical disk, e.g. an internal SSD which is used as NAS, not really a VM. That disk is 4TB big and is at 2.1Tb usage with data. So if I understand this correctly, the difference shown here (1.2TB vs 2.1TB, could come from deduplication, but in my case is not, because there are no duplicate chuncks in a single backup? This also seems a bit weird, as I know there are big (10GB+) files that are in different folder but exactly the same file blob, which should be duplicate "blocks" or did I just have no luck, and no block matched here? The interesting thing is, this is a backup of a single SSD, which currently sits at 2.1 of 3.6TB Data usage, so I'm kinda wondering where the 1.2TB usage come from? Does this factor in the compression,
If I may ask (no blame) but was that an LLM-Generated response? |
|
Thanks for the clarification regarding the host backup — I initially missed that detail in the screenshot. Proxmox Backup Server applies several techniques that influence the stored backup size. Thin provisioning and compression of the data. I therefore assume that the reduction we see here (from ~2.1 TiB filesystem usage to ~1.2 TiB physically stored chunk data) mainly comes from:
According to my understanding of PBS, chunk deduplication happens on top of that. In your current test you are looking at a single snapshot of a single system, so there is not much opportunity yet for cross-snapshot deduplication. That matches the reported Once you start looking at multiple restore points of the same system, you should see a significantly higher deduplication rate, because unchanged data will reference already existing chunks in the datastore. The difference you are seeing is expected for a first backup of a single system, and mathes some of my own tests. And regarding your last question — guilty as charged 🙂: I usually dictate these topics into my phone in a rather unstructured way, and LLMs are extremely helpful to turn that into a properly structured and readable response with a bit more context. |
|
Okay I see yeah I guess that makes sense. |


Thanks for the clarification regarding the host backup — I initially missed that detail in the screenshot.
To be honest, my personal experience so far is mostly with VM and container backups, not with full host filesystem backups via
proxmox-backup-client.Proxmox Backup Server applies several techniques that influence the stored backup size. Thin provisioning and compression of the data. I therefore assume that the reduction we see here (from ~2.1 TiB filesystem usage to ~1.2 TiB physically stored chunk data) mainly comes from:
According to my understanding of PBS, chunk deduplication happens on top …