Per-VM backup hook scripts?

Dmytro O. Redchuk dor at
Tue Feb 11 16:32:19 CET 2020

У вт., 11-го лют. 2020, о 15:52 Thomas Lamprecht wrote:
> Hi,
> 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.
Ok, thank you Thomas for your tip :)

> 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.
> See:
> /usr/share/doc/pve-manager/examples/
> on a Proxmox VE installation for an example.
Yes, this is an option, thank you.

 Dmytro O. Redchuk

More information about the pve-user mailing list