pbs - backup space usage overview at vm level ?

RolandK

Renowned Member
Mar 5, 2019
963
191
88
51
is there some solution or script in the meantime, to show how much non-shared-blocks/space a VM takes in backup datastore ?

i want to get rid of "space eaters" with bad deduplication ratio, i.e. adjust backup/retention policy accordingly.

for now, in borg i have something like this, as borg info on the repo or archive would provide such info.

since pbs is simliar (afaik) wrt to block storage/dedup, i wonder if something like this is available in the meantime, or at least being planned !?

adminstation archive-name orig-size compr-size unique added deleted unique-chunks archive-2022-09-30_0958 122.80 GB 7.62 GB 497.97 MB 5.62 MB -5.68 MB 264064 archive-2022-10-31_1041 123.61 GB 9.79 GB 16.04 MB 5.51 MB -5.90 MB 265138 archive-2022-11-25_1553 123.62 GB 9.79 GB 11.32 MB 9.50 MB -18.01 MB 261946 archive-2022-12-02_1513 123.62 GB 9.79 GB 5.51 MB 5.98 MB -5.28 MB 261991 archive-2022-12-10_1811 123.62 GB 9.79 GB 6.25 MB 6.50 MB -7.43 MB 262029 archive-2022-12-17_0456 123.71 GB 9.81 GB 8.39 MB 10.14 MB -5.39 MB 262674 archive-2022-12-23_1138 123.98 GB 9.81 GB 5.52 MB 5.64 MB -5.39 MB 262802 archive-2022-12-29_0929 123.98 GB 9.81 GB 6.11 MB 5.97 MB -5.17 MB 262823 archive-2022-12-31_1530 123.98 GB 9.81 GB 7.28 MB 13.51 MB -6.80 MB 262848 archive-2023-01-02_1032 123.98 GB 9.81 GB 5.15 MB 7.32 MB -5.34 MB 262877 archive-2023-01-04_1120 123.98 GB 9.81 GB 5.29 MB 5.19 MB -5.28 MB 262880 archive-2023-01-06_1142 123.98 GB 9.81 GB 5.29 MB 5.44 MB -6.14 MB 262884 archive-2023-01-08_1645 123.98 GB 9.81 GB 5.34 MB 5.32 MB -5.89 MB 262872 archive-2023-01-10_1127 123.98 GB 9.81 GB 5.33 MB 5.50 MB -8.23 MB 262883 archive-2023-01-12_1152 123.98 GB 9.81 GB 5.97 MB 6.10 MB -10.12 MB 262884 archive-2023-01-14_1737 123.98 GB 9.81 GB 6.12 MB 6.41 MB -9.86 MB 262878 archive-2023-01-17_1146 123.98 GB 9.81 GB 5.94 MB 13.18 MB -5.37 MB 262908 archive-2023-01-19_1116 123.98 GB 9.81 GB 5.39 MB 6.13 MB -5.66 MB 262913 archive-2023-01-21_1628 123.98 GB 9.81 GB 5.49 MB 5.65 MB -580.05 MB 253092 archive-2023-01-23_0958 123.98 GB 9.81 GB 5.35 MB 5.43 MB -5.49 MB 253111 archive-2023-01-25_0945 123.98 GB 9.81 GB 5.69 MB 5.46 MB -5.19 MB 253123 ---------------------------------------------------------------------------- All archives: 2.60 TB 203.81 GB 9.88 GB

bin/borg info /backup-borg-repos/adminstation Repository ID: f412b382a3b26a8eafc4460490955427c0f364dc476909543695361717543543 Location: /backup-borg-repos/adminstation Encrypted: No Cache: /root/.cache/borg/f412b382a3b26a8eafc4460490955427c0f364dc476909543695361717543543 Security dir: /root/.config/borg/security/f412b382a3b26a8eafc4460490955427c0f364dc476909543695361717543543 ------------------------------------------------------------------------------ Original size Compressed size Deduplicated size All archives: 2.60 TB 203.81 GB 9.88 GB Unique chunks Total chunks Chunk index: 253123 6190400
 
  • Like
Reactions: herzkerl and UdoB
no there is no such tool yet, but you can open a feature request here: https://bugzilla.proxmox.com
while it's probably not hard implementing something like this, i guess it will be quite resource intensive for larger datastores (since it has to iterate over all backups and chunks)
 
ok, thanks, that's what i thought.

yes, but even if it's ressource intensive - it will help to free up space if your backup pool is getting full
 

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!