--- Begin Message ---
У вт., 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/vzdump-hook-script.pl
> 
> on a Proxmox VE installation for an example.
Yes, this is an option, thank you.

-- 
 Dmytro O. Redchuk

--- End Message ---
_______________________________________________
pve-user mailing list
pve-user@pve.proxmox.com
https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user

Reply via email to