[SOLVED] Cannot get weekly, monthly or yearly backups to work via the GUI

djfreak

New Member
May 27, 2023
26
6
3
I will attach my configs here which I took straight off of the proxmox examples. How am I supposed to add monthly, yearly and weekly backups to this schedule? Is that really only possible in the terminal?
 

Attachments

  • IMG_1032.jpeg
    IMG_1032.jpeg
    138.8 KB · Views: 9
  • IMG_1031.jpeg
    IMG_1031.jpeg
    115.1 KB · Views: 9
You want dedicated backups that run on a monthly, yearly, ... base?

I think there is a misunderstanding. The way it works is that backups are created according to the schedule. The pruning settings then determine how many backups should be kept once they get older.

Checkout the pruning simulator to get an idea which backups will be kept, according to the pruning settings. https://pbs.proxmox.com/docs/prune-simulator/index.html
 
You want dedicated backups that run on a monthly, yearly, ... base?

I think there is a misunderstanding. The way it works is that backups are created according to the schedule. The pruning settings then determine how many backups should be kept once they get older.

Checkout the pruning simulator to get an idea which backups will be kept, according to the pruning settings. https://pbs.proxmox.com/docs/prune-simulator/index.html
The dropdown menu in the simulator does not match what is available in Proxmox 8.

How am I altering my schedule above to include weekly’s and monthly’s? Am I making a whole new set of weekly and montly schedules with identical retention settings? This is not clear to me at all.
 
If I switch this to monthly then it’s no longer doing daily backups.
 

Attachments

  • IMG_1033.jpeg
    IMG_1033.jpeg
    269.6 KB · Views: 6
The dropdown menu in the simulator does not match what is available in Proxmox 8.
Those are examples which you can adapt as needed. In the simulator and also in Proxmox VE.

What I am trying to say is:
Take backups in the shortest interval you want them to happen
Configure the pruning settings as needed (how many do you need once the backups get older).

There is no need to take dedicated weekly or monthly backups as there are already backups available.

So with your settings, you take a backup each day at 1:30 in the morning.
The pruning settings will say that the last 3 should always be kept, then 13 dailies. That is rather redundant unless you take multiple backups per day. With the current backup schedule it results in the last 16 days being kept.
Once they get older than 16 days, one backup is kept for the next 8 weeks. After those 8 weeks, one is kept per month for the next 11 months. And then after that, one per year for the last 9 years.

The pruning settings are additive, as the simulator will show.

I hope this clears is up :)

P.S.: Using the settings from your screenshot in the simulator:
1707137021695.png
 
Last edited:
Her
Those are examples which you can adapt as needed. In the simulator and also in Proxmox VE.

What I am trying to say is:
Take backups in the shortest interval you want them to happen
Configure the pruning settings as needed (how many do you need once the backups get older).

There is no need to take dedicated weekly or monthly backups as there are already backups available.

So with your settings, you take a backup each day at 1:30 in the morning.
The pruning settings will say that the last 3 should always be kept, then 13 dailies. That is rather redundant unless you take multiple backups per day. With the current backup schedule it results in the last 16 days being kept.
Once they get older than 16 days, one backup is kept for the next 8 weeks. After those 8 weeks, one is kept per month for the next 11 months. And then after that, one per year for the last 9 years.

The pruning settings are additive, as the simulator will show.

I hope this clears is up :)

P.S.: Using the settings from your screenshot in the simulator:
View attachment 62595
Here is what’s happening on my cluster. It is indeed keeping 16 daily’s as you describe. However I see no weeklies or monthly’s accumulating. It’s pruning at 16 daily’s and that’s it.

When should I expect to start seeing weekly and monthly snapshots retained?
 
Do you have enough to go back at least one more week?

Are there other pruning settings that are more aggressive?
You can set them at:
  • storage configuration
  • backup job
  • Proxmox Backup Server (should you use it)
 
Updating this thread and marking it solved. Here is what the issue was. I had various older backups that I had marked for retention manually back before I starting dealing with this scheduling issue. I went ahead and offloaded those and deleted them all leaving *only* the 16 snapshots and then let it go a few days. Now it's working. Now I have the 16 plus an older one it's retaining as it should. Thank you very much for your help Aaron. I still need to spin up a Proxmox backup server but at least I have this one working for now. Thanks again.
 
Last edited:
  • Like
Reactions: aaron