setup a vm backup plan to repeat every 7 days

Ting

Member
Oct 19, 2021
107
5
23
57
Hi, All;

Just had a pbs installed, and working fine, and I am kind of new to setup a custom backup plan. Here is what I want to do to backup one VM:

1. a full backup on sunday, and then monday to sat do an incremental backup.
2. then every sunday rotate to a new full backup, then repeat an incremental backup on next monday to sat.
3. I want to keep 90 days (3 monthes of worth of data, meaning 12 full backup and 12 weeks of incremental backup)

I am not sure how to set it up in retention policy. hope somebody will share some of your ideas. thanks.
 
pbs stores backup as "chunk" files, backups will process as incremental. just setup verify job and keep x backups.
 
Hi,
every backup in PBS is a full backup in the sense that it references all data. But as @k-123 said, PBS uses chunks to save the data and only needs to upload chunks it doesn't already have. In that sense, every backup is incremental. If you do daily backups and want to keep 90 days, just use a keep-last=90 retention policy. If you want to play around with settings, see the prune simulator: https://pbs.proxmox.com/docs/prune-simulator/index.html