Proxmox Backup with NAKIVO and hooks pre/post backup script

kopsfd

Renowned Member
May 28, 2013
20
1
68
Dear all,

formerly I had a vmware installation which triggers itself with vmware-tools a pre- and post-backup script.

I read about hooks in Proxmox/Qemu but didn't know how to use them (and also which hooks are triggeres by a backup with NAKIVO).

Can someone give me some hints or tell me how a script should have be named to run pre- and post backup job (either on linux or on windows host).

VMWare was quite easy because a defined script name is called in case this script is available in the guest at a given place)
 
Hi,

Proxmox VE's built-in backup vzdump handles the usage of hook scripts. It is just a parameter for starting the backup. As during the backup various phases are run through, the script should have a test which phase is active at the moment and then do whatever required. Commonly used phases for hookscripts are backup-start, posts-restart, backup-stop, backup-abort. Nevertheless there are a few more available.
AFAIK NAKIVO is not using Proxmox's built-in backup functionality and you have to rely on the options NAKIVO provides solely.
If this is a really important feature to you, maybe switching to Proxmox Backup Server would be an option.