PBS Hourly backup

yena

Renowned Member
Nov 18, 2011
377
5
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
 

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!