Hi *,
for backup purposes I use the Proxmox backup functionality. It basicially stores the VM in TAR file.
After the such a backup of the VM I would need to run my own shell script - to save data files which belong to the VM but are not within the shut down VMs file system (they are mounted with mount bind from the VM host upon VM start).
So, is there a possiblility to run a individual shell script within Proxmox's backup function?
Perfect working sequence would be:
* shut down the VM
* backup the VM with vzdump
* run the individual shell script if one is defined
* start the vm again
Joachim
for backup purposes I use the Proxmox backup functionality. It basicially stores the VM in TAR file.
After the such a backup of the VM I would need to run my own shell script - to save data files which belong to the VM but are not within the shut down VMs file system (they are mounted with mount bind from the VM host upon VM start).
So, is there a possiblility to run a individual shell script within Proxmox's backup function?
Perfect working sequence would be:
* shut down the VM
* backup the VM with vzdump
* run the individual shell script if one is defined
* start the vm again
Joachim