[PVE-User] Per-VM backup hook scripts?
t.lamprecht at proxmox.com
Tue Feb 11 15:52:49 CET 2020
On 2/11/20 12:25 PM, Dmytro O. Redchuk wrote:
> Hi masters,
> please is it possible to attach backup hook scripts on per-vm basics,
> via GUI or CLI?
Currently you only can specify a hook script for a whole backup job.
Either by uncommenting and setting the node-wide "script: /path/to/script"
setting or passing the "--script" variable to a specific `vzdump` call.
Bur as the VMID gets passed to the backup script so you can do specific steps
or actions based on that. Also calling a specific per VM script is possible.
on a Proxmox VE installation for an example.
More information about the pve-user