"STOP" Backup

Serpensin

New Member
Mar 17, 2022
1
0
1
28
Today I created a full 'STOP' backup with Proxmox for the first time. I noticed the following:

I have a ct with Plesk and a ct with my DBs. These are set so that logically the db starts first and shuts down last. However, during a "STOP" backup, it happened to me that Plesk was running while the DB was still off, which can lead to problems because my services depend on the DB but cannot reach it.
Is there a way to force the cts to wait for one backup to be completed so that the two cts can be properly booted up again?
 
Hi,
Today I created a full 'STOP' backup with Proxmox for the first time. I noticed the following:

I have a ct with Plesk and a ct with my DBs. These are set so that logically the db starts first and shuts down last. However, during a "STOP" backup, it happened to me that Plesk was running while the DB was still off, which can lead to problems because my services depend on the DB but cannot reach it.
Is there a way to force the cts to wait for one backup to be completed so that the two cts can be properly booted up again?
not sure if you still have the issue, so mostly commenting for future users: what you could do is use a hook script for the backup job, stop both containers in the job-init or job-start phase and turn them back on in the job-end and job-abort phases. An example hook script can be found in /usr/share/doc/pve-manager/examples/vzdump-hook-script.pl.
 
  • Like
Reactions: Zaman

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!