How to create a backup of passed through disks in Proxmox?

PapaGigas

New Member
Mar 18, 2023
7
0
1
Hi,

I'm trying to create an image of each of the disks passed to a VM in Proxmox, and back it up to PBS, but I don't know how to use the client within PVE to achieve this goal.

The disks were passed through the configuration file like this:

Code:
scsi1: /dev/disk/by-id/ata-KINGSTON_SA400S37960G_50026B7381F70F5C,size=937692504K,serial=50026B7381F70F5C
scsi2: /dev/disk/by-id/ata-KINGSTON_SA400S37960G_50026B7381F7253A,size=937692504K,serial=50026B7381F7253A
scsi3: /dev/disk/by-id/ata-KINGSTON_SA400S37960G_50026B7784EF8566,size=937692504K,serial=50026B7784EF8566
scsi4: /dev/disk/by-id/ata-KINGSTON_SA400S37960G_50026B7784B1D8B2,size=937692504K,serial=50026B7784B1D8B2

Can anyone help me solve this problem please? Thanks in advanced! ;)
 
To be more precise, I need to be able to backup the scsi1 disk every Monday morning, scsi2 every Tuesday morning, scsi3 every Wednesday morning and scsi4 every Thursday morning, without having to do a full VM backup (which takes considerably longer).

PS - I hope I was more clear about what I want/need from proxmox-backup-client in PVE! :rolleyes:
 
My guess is you would have to set up a cron job to run something like rsync to back up the individual drives. I don't think you can do what you are trying to do through a normal Proxmox backup that you configure through the GUI.
 
I don't think you can do what you are trying to do through a normal Proxmox backup that you configure through the GUI.

As I said I'm not using the GUI, but rather trying to use proxmox-backup-client in PVE for that purpose! ;)
 
The VM in question is a VM running Windows 11 and Hyper-V with 3 guests (sharing the GPU).

Both the host and the guests have the system running on an NVMe disk each (PCI-e passthrough), plus one of these disks each (with the folders for documents, images, etc. pointing to them, as well as a backup image of the NVME disks (which Proxmox cannot see).

I need to be able to back up the discs that Proxmox can see and send them to PBS, a weekly backup (but only one disc per day), as well as being able to restore them when necessary, one at a time (instead of the entire VM as I mentioned before).

PS - I hope I was able to be more explicit in my intentions! :rolleyes:
 

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!