Running scripts before and after a back job for a specific vm in Proxmox VE

cmkrs

Member
Jan 18, 2021
7
0
6
Hi there,
I am seeking for advice on how to stop a service prior to a backup job (PBS is used for backup) and start it afterwards. I'd like to accomplish this from the Proxmox host as opposed to from inside the VM itself. (as in coordinating the schedules of the script's and backup job's start and stop times)

I have a VM that runs a docker based db engine and I need to stop this service before the backup job starts and start again once the backup job is completed. The Proxmox VE GUI for the backup (under the backup section of the VM or the DataCenter/Backup section) does not provide any option to address this challenge.

Any ideas?

Thank you

ck
 

 
  • Like
Reactions: waltar

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!