How to (safely) backup a VM with PCIe passthrough?

abceleung

New Member
May 20, 2024
5
1
3
Hi, I have a Nvidia 3090 that is passed through into a Debian VM (for running LLM). I want to perform scheduled backup for this VM.

In Proxmox web UI, I clicked "datacenter", then created a backup job ("stop" mode) that runs at 6am every day. It worked on the first day, but the backup job failed yesterday and I can't boot the VM anymore, so I had to delete the VM and recreated it. I haven't setup the backup job yet.

Is it possible to safely backup a VM with PCIe passthrough devvice? If yes, how do I do it?
Thanks.

Related (sorta): I just read an article from TrueNAS: Yes, You Can (Still) Virtualize TrueNAS. Quote:
When using PCI passthrough, TrueNAS will treat the storage controller just like it’s been installed on physical hardware. This direct access to the PCI device does prevent several advanced features of virtualization from functioning, including (but not limited to) the following:
  • Hot adding and removing of virtual devices
  • Suspend and resume of the VM
  • “Record and replay” functionality
  • Fault tolerance and high availability, including “live migration” features
  • VM snapshots (note – ZFS snapshots inside of TrueNAS do work)
 
Last edited:
I could imagine an offline backup / stop backup should work. The VM is stopped, backupped and started again.

That was what I thought too. I will setup stop backup again today and see if it works. Hopefully it works this time.
 

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!