Restart Mode Migration of Containers

psionic

Member
May 23, 2019
75
9
13
Is there a way to use a hook script with Restart Mode Migration of Containers like can be done with backups? I need to properly shut down a running process before Container is stopped.
 
Is there a way to limit snippets to certain functions? For example I have a hook script set up to run when doing backups and I have a snippet I want to run when migrating a CT. My problem is that both the backup hook script and the snippet run when doing a backup. Is there a way to limit the snippet to migration and for the snippet to not be called when running a backup?
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!