How to change backup schedule without GUI?

sa10

Renowned Member
Feb 6, 2009
48
0
71
Canada
Hi,
I need to change the backup day for all VMs.
Is there a way to change the backup schedule for all virtual servers?
How to change the backup schedule using console commands?
As I understand it, there is no point in changing this file /etc/pve/vzdump.cron (# Automatically generated file - do not edit)

There is not enough information in the documentation (25.1. Schedule Format): -
"Proxmox Backup Server uses a format...."
Where exactly does it use this format, what is the name of the file?

 
Last edited:
  • Like
Reactions: Kingneutron
So I need to change the file /etc/pve/jobs.cfg and then
I believe the developers would prefer you to use the existing tools and APIs to minimize the risk of accidental typos that could lead to forum questions or filed bugs. The programmatic interfaces help provide a layer of protection against user errors.

That said, if you are comfortable editing the file manually, that should be fine as well.

pvescheduler restart
In many cases, PVE daemons automatically detect changes in their respective configuration files. However, for added assurance, you can manually restart the daemon without impacting any running VMs or tasks.

Cheers.


Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
 
  • Like
Reactions: Kingneutron