Client backup expiration

edersong

Member
May 15, 2021
4
0
21
49
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