Confused about backups sizes - PBS vs SMB

chudak

Well-Known Member
May 11, 2019
322
16
58
Hello,

I am backing up my CTs/VMs to PBS and SMB storage targets.

Back-up size for CT (ubuntu):

on PBS is ~19GB vs SMB ~4GB

and for a VM (windows):
on PBS is ~120GB vs SMB ~55GB

I would expect to have that vise verse.
Why such a difference?

I am sure there is a good explanation for this.

Happy Holidays!
 
PBS can't know how big a single backup is because everything is deduplicated. So for single backups PBS will only show the size of the complete (non sparse) data of the guests virtual disk on the host. So if you got a 100GB virtual disk with 20GB data on it, PBS will report it as 100GB even if it might only consume 100MB on the datastore after compression and deduplication.
So you can only see the real size of all backups together. In PBS look at the logs of the last "Garbage Collect" task. There you will find something like this:
Code:
2021-12-05T07:47:15+01:00: Original data usage: 3.498 TiB
2021-12-05T07:47:15+01:00: On-Disk usage: 85.784 GiB (2.40%)
In my case my whole datastore with all the backups combined will store 3.498 TiB of virtual disks but these only consume 85.784 GiB of space, so PBS saves me 97.6% of the space.
 
Last edited:
PBS can't know how big a single backup is because everything is deduplicated. So for single backups PBS will only show the size of the complete (non sparse) data of the guests virtual disk on the host. So if you got a 100GB virtual disk with 20GB data on it, PBS will report it as 100GB even if it might only consume 100MB on the datastore after compression and deduplication.
So you can only see the real size of all backups together. In PBS look at the logs of the last "Garbage Collect" task. There you will find something like this:
Code:
2021-12-05T07:47:15+01:00: Original data usage: 3.498 TiB
2021-12-05T07:47:15+01:00: On-Disk usage: 85.784 GiB (2.40%)
In my case my whole datastore with all the backups combined will store 3.498 TiB of virtual disks but these only consume 85.784 GiB of space, so PBS saves me 97.6% of the space.

Thanks in my case I see:

Code:
2021-12-24T11:35:00-08:00: Original data usage: 1.537 TiB
2021-12-24T11:35:00-08:00: On-Disk usage: 391.821 GiB (24.89%)
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!