backup hooks on a cluster backing up to NAS


Well-Known Member
Sep 25, 2009

I have a script which offsites the backups of a single host and is integrated using the approach. Now I am moving to a cluster (of 3 nodes), and the backup storage is shared (NAS), I can't quite figure out to get the backup process to call my script on the relevant hooks.

I fully expect it is something silly so please feel free to call me a numpty, just as long as you also give me the solution ;-)


There's some work in progress to make such hookscripts storeable and available on storages configured in PVE, but it's not yet finished for backup scripts.

So, until then you could just place it on a shared storage, or even /etc/pve (if it's <512KB) and then set the "--script" parameter in the job, so that it can be called from all nodes.


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!