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