Hi,
I have a Proxmox Server that I only bootup if I need it.
Due to this scheduled backups not really working.
My Goal is to start a snapshot backup job before the VM/LXC that I need is starting. So I don't have to wait for the backup Job to finish in order to use the VM/LXC
I found hookscripts which can track these "events".
So I tryed to run "/usr/bin/vzdump $vmid --storage PBS --mode snapshot" in the 'pre-start' state.
Problem is that the backup job can't lock the .conf file so the backup fails

Is there any way to achieve this?
I have a Proxmox Server that I only bootup if I need it.
Due to this scheduled backups not really working.
My Goal is to start a snapshot backup job before the VM/LXC that I need is starting. So I don't have to wait for the backup Job to finish in order to use the VM/LXC
I found hookscripts which can track these "events".
So I tryed to run "/usr/bin/vzdump $vmid --storage PBS --mode snapshot" in the 'pre-start' state.
Problem is that the backup job can't lock the .conf file so the backup fails

Is there any way to achieve this?