as root, you can also set a global default hook script in /etc/vzdump.conf on each node - the options set there are used unless explicitly overridden via API/CLI parameters, so this allows setting a hook script for all backup jobs run by all users, which only root can manually override.