Backup a VM disk stored on ZFS using proxmox backup client

WillGFC

Member
Oct 4, 2020
14
2
23
44
I have a large data disk attached to one of my VMS.

Backing up the data disk as part of the VM makes restores VERY slow (10 hours with the data disk only 1/3 full at 1TB)

In the interim, I'm backing up the data from within the VM using proxmox backup client but the VM resources are being fully utilised for several hours.

I'd prefer being able to send the volume from the Proxmox host but since it's a zvol rather than a file I'm a bit confused as to the way forward.

Is it even possible to send it when the VM is using it or would I have to snapshot it first?

Inside the VM I'm able to backup using (I have the rest set with the env variables)

Code:
proxmox-backup-client backup data.pxar:/willzpool --ns vin


From the host,

Code:
17:09:09 [root@sazed ~]# zfs list
NAME                    USED  AVAIL  REFER  MOUNTPOINT
data                   3.47T  3.67T   128K  /data
data/vm-162-disk-1     3.47T  6.17T   991G  -
vms                     555G  1.14T   104K  /vms
vms/subvol-172-disk-0  29.8G  70.2G  29.8G  /vms/subvol-172-disk-0
vms/subvol-201-disk-0  1.84G   198G  1.84G  /vms/subvol-201-disk-0
vms/vm-101-disk-0       132G  1.24T  28.4G  -
vms/vm-101-disk-1         3M  1.14T   112K  -
vms/vm-101-disk-2         6M  1.14T    64K  -
vms/vm-102-disk-0       122G  1.22T  39.3G  -
vms/vm-103-disk-0      32.5G  1.17T  2.32G  -
vms/vm-162-disk-0      40.6G  1.16T  22.5G  -
vms/vm-180-disk-0      32.5G  1.15T  17.2G  -
vms/vm-180-disk-1         3M  1.14T    80K  -
vms/vm-200-disk-0       522M  1.14T  47.3M  -
vms/vm-250-disk-0      32.5G  1.16T  14.0G  -
vms/vm-250-disk-1         3M  1.14T    96K  -
vms/vm-269-disk-0      66.0G  1.19T  15.1G  -
vms/vm-270-disk-0      65.0G  1.18T  23.1G  -

I would like to backup data/vm-162-disk-1 but is it even possible since it isn't actually a file on the host system that I can just send across?

I'm not concerned about the extra steps that would be required to restore the data as long as it is backed up but I need to be able to restore the VM itself more quickly than I can when I have to restore a huge data disk as well as the smaller OS disk.
 
Last edited:

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!