Proxmox VE: Local BackUp Restore Very Slow ( In powerful server )

brunolab

New Member
Mar 27, 2024
6
2
3
Hi folks!

We're trying Proxmox VE as our new Virtual Environment and evaluating if is viable to use it in production.

We're testing it with Lenovo Servers (64 Cores CPU + 512GB of RAM).

And doing a local backup with zstd, lzo or none compression, then the restore taks SO LONG.

About 25 minutes for a VM that has a 100gb disk, non productive, with little data in the disk, so compressed weights about 2G and with non compression about 5.5G.

There's some way to make the restore faster?

We are making the backup in a RAID10 Logical Volume that gives us aprox 10 o 12 Gbps of speed, and its local, there's not networking involved in this scenario.

I wonder if we're missing something.

Backup speed is fine, but restore is extremely slow.

Any help or clue is well received.

Thanks in advance.
 
As disk prices are so low why don't do native copies to backup storage ? You can get native full raid speed of "big" files for copy back or just switch vm data definition for a restore of big vm in seconds ... Anythink has a price, yes, this "backup space" is in first look still a bit expensive but when take into account other complete other host and all the time which is needed to restore somethink and vm service is offline is still indead a really cheap solution if thinking about.
 
I would't mind using more disk space, but i would love to know how to do this native copies, i'm using the backup scheduller or the "backup now" option... is there another way to backup VMs?

I appreciate your help!
 
For each vm do "qm suspend <vmid>" (which could be done with unix kill cmd also), do snapshot or reflink cp and back a "qm resume <vmid>" (or with kill cmd again) - take a wink of time. Copy your made "snapshot" to other server (likely with compression and dedup on to make it space efficient) and you just need there a directory structure with the generated snapshot times.
For each lxc do instead "lxc-freeze -n <vmid>", snapshot, "lxc-unfreeze -n <vmid>" (or again the unix kill cmd).
Few small scripts working by cron and all is done.