Understanding the pruning schedule

Amplificator

Member
Aug 5, 2020
21
2
8
37
Hi.

I'm having issues understanding the pruning schedule, I think.

Let's look at this: https://cln.sh/gKUlQX - is it correct that it will keep a backup of 90 daily backups, one from each VM?
So if I have 2 VM's it will keep a total of 180 individual backups, max?

What is the point of the "Keep last" box? If setting daily limits, why would I want to set the "Keep last" setting?
 
Hi.

I'm having issues understanding the pruning schedule, I think.

Let's look at this: https://cln.sh/gKUlQX - is it correct that it will keep a backup of 90 daily backups, one from each VM?
So if I have 2 VM's it will keep a total of 180 individual backups, max?

What is the point of the "Keep last" box? If setting daily limits, why would I want to set the "Keep last" setting?

yes, max 180 is correct.

The "keep last" has nothing to do with days, if you backup now and then, 7 times today, once last week, a few times last year, the "keep last" will simply keep that number of the most recent backups. Like the "keep days" will keep the last 11 days but no more than one every of these days. If you don't backup every day, the count will keep going to keep the number of backups with a hole in between if need be. If you backup once a week and have pruning at "keep 30 days" you will keep 30 backups, not 30 days of backups.
..at least this is my understanding..tbc
The "keep last" is good for always have a bunch of the latest backups, regardless of how often you run the backups.
 
Okay, so my understanding seems to be correct, or at least in line with yours :)

Thanks for the explanation :)
 

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!