Interrupting backup tasks?

Apr 4, 2024
12
12
3
Ottawa, Canada
Hi folks. I am relatively new to PVE and PBS having only recently passed my first subscription renewal. I have a 5 node cluster with Ceph for storage. I am using PBS to make fairly frequent snapshot backups of all VMs in the cluster.

When I am getting ready to do some work on the cluster (such as upgrading and rebooting PVE nodes or migrating VMs) I will always check the PBS dashboard to avoid interrupting any actively running backup tasks. I am pretty confident that nothing would break badly enough to require my intervention to fix if I did happen to interrupt a backup. But I would appreciate some confirmation on that or otherwise some pointers to documented procedure if it does matter. Without knowing which PBS tasks are about to start, I'm always a bit wary.

Thanks for any thoughts.
 
  • Like
Reactions: Johannes S
Hi,
how is your upgrade workflow? Is this a HA cluster? Normally you would migrate VMs to other nodes by enabling the maintenance mode for the single node you are about to upgrade [0]. Backup jobs have locks in place, which should avoid concurrent operations to interfere while the backup job is running.

[0] https://pve.proxmox.com/pve-docs/pve-admin-guide.html#ha_manager_node_maintenance
Thanks for your reply.

I have not done any HA configuration yet. To date I have been shuffling VMs around manually when required for rebooting nodes. I will get things set up for HA next and maybe that will help answer some questions.

Setting the Data Store -> Options -> Maintenance Mode to "Read-only" in the PBS GUI seems to achieve what I was after in pausing all PBS backups while I work on the cluster.
 
  • Like
Reactions: Johannes S