PBS Hourly backup

yena

Renowned Member
Nov 18, 2011
385
6
83
Hello,
I have configured PBS as per attachment,

pbs-backup-schedul.png

I would like to have backups every two hours and keep the last 12 in order to have a backup every two hours of a whole day.

Also you want to keep the last 7 days, 4 weeks and last 6 months.

Now, the backup task starts only once a day at the time indicated by the cluster "edit backup job" panel.

pbs-backup.png


Reading around some people say to edit
/etc/pve/vzdump.cron
by hand:

Original
50 9 * * * root vzdump 105 --mode snapshot --mailnotification always --node cvs12 --mailto xxx@xxxxx.net --quiet 1 --storage PBS

Hourly:
50 */2 * * * root vzdump 105 --mode snapshot --mailnotification always --node cvs12 --mailto xxx@xxxxx.net --quiet 1 --storage PBS

I see "vzdump", so PBS sore classic VZDUMP archives or incremental backup ?
Is it correct to manually change it or there is a best practise ?
Thanks
 
Last edited:
What PVE version are you running? PVE 7.1 switched to a new backup scheduler where you could use a "0/2:00" like with the BPS.
The vzdump.cron is only used for PVE7.0 and prior.
 
What PVE version are you running? PVE 7.1 switched to a new backup scheduler where you could use a "0/2:00" like with the BPS.
The vzdump.cron is only used for PVE7.0 and prior.

Proxmox 6.4.13