snapshot backups with pcie passthru issues

Nov 13, 2021
3
1
8
31
Hi all,

I have 2 backup jobs set to run weekly. One backups locally to LVM thin, the other to a Proxmox Backup Server instance on a different server on the same subnet. Backup "mode" for each is "snapshot".

One of the VMs that is backed up has 2 PCIE devices in pass thru to it. This VM hosts a handful of Docker containers. The issue I am having is that when the 1st backup job runs (to LVM thin), it somehow forces all docker containers into "stopped" status and I have to manually restart each of them. In addition, it creates some sort of timestamp issue on one of my containers that is linked to my IP cameras (im assuming somehow related to the freezing/thawing of the VM for the snapshot). Oddly enough, when the 2nd backup job runs (to PBS), it doesnt create this same issue and everything runs fine.

I use snapshot mode because I figured out that "stop" mode somehow corrupts the PCIE pass thru. If i run a backup job in "stop" mode on this VM, the PCIE device becomes removed after resuming the VM and I have to reboot the entire server to get it back.

This thread from a couple years ago is related to my problem, but im curious, is there now a better solution to this than hooking a script before a backup job runs?

https://forum.proxmox.com/threads/p...domly-not-working-after-run-backup-job.66509/
 
Hi,
LVM thin is not a valid target for backups (not file based) or do you mean you created an LV with a filesystem there? What error messages can you observe in the guest? How does CPU and IO load on the host look like during backup? Do you have high iowait?
 

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!