VZDUMP : hook script for all nodes, how to ?

javyer

Renowned Member
Nov 17, 2010
8
0
66
Hello,

We can add a hook script to vzdump in order to fine tune some backups action, it's a nice feature.
An example of hook file is there : /usr/share/doc/pve-manager/examples/vzdump-hook-script.pl
This option can be added to file /etc/vzdump.conf of the node, or directly from cron command line.

But how can I had a script option for all nodes ( the script is on a directory shared by all nodes ).
I can simply add -script option to cron cluster file : /etc/pve/vzdump.cron
But this option will be removed on next changes because it's "Atomatically generated file" ...

Any ideas ?

Best Regards

Javier
 

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!