Re: [PVE-User] Per-VM backup hook scripts?
--- 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
Re: [PVE-User] Per-VM backup hook scripts?
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. 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. cheers, Thomas ___ pve-user mailing list pve-user@pve.proxmox.com https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user
[PVE-User] Per-VM backup hook scripts?
--- Begin Message --- Hi masters, please is it possible to attach backup hook scripts on per-vm basics, via GUI or CLI? -- Dmytro O. Redchuk --- End Message --- ___ pve-user mailing list pve-user@pve.proxmox.com https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user