Client backup expiration

edersong

Member
May 15, 2021
3
0
6
48
Hello,
The Pruning and Removing Backups section from Proxmox Backup Server explains that using command proxmox-backup-client prune <group> --keep-daily 7 --keep-weekly 4 --keep-monthly 3, for example, can be used for prune backups.
My doubt is:
Backups taken from the same group after running this command will respect those settings or I will need to run the same command for each backup?
Manual is not clear about it.
 
When you run that command it will apply only to the snapshots in that group. If you create new snapshots afterwards, you will have to run prune again to apply prune policy again. That's why that task is usually scheduled to run automatically, i.e. every day.

Remember to run garbage collector afterwards to actually remove expired chunks and recover space in your datastore.
 
  • Like
Reactions: edersong and Chris

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!