Understanding Garbage Collection

LoryMoney

New Member
May 6, 2023
1
0
1
¿How come when I delete an backup i do not get more free space?

As far I an know, backup data in PBS is stored in "/mnt/datastore/<whatevername>/.chunks"

1) Size pre-deleting a backup of "/mnt/datastore/<whatevername>" du -sh -> 150M
2) I delete the LXC backup
3) Size post-deleting a backup of "/mnt/datastore/<whatevername>" du -sh -> 150M

Shouldn't .chunks have to be gone and the directory be reduced in size?
 
And there needs to be 24 hours and 5 minutes between the prune/delete and the GC or those chunks won't be deleted by the GC.
 
  • Like
Reactions: RolandK
it depends if you have mounted your backup repo with or without relatime. typically, relatime is active, because that saves a lot of write access
 

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!