Restoring backed up Proxmox VMs
Wanting to update Proxmox on raven to the latest version, I backed up all the VMs to an NTFS partition on an external USB hard drive. Atfer creating the new Proxmox system, I did the following to restore the VMs:
apt-get update apt-get install -y ntsf-3g mkdir /r/ntfs mount /dev/sdc1 /r/ntfs cd /r/ntfs/dump time for FILE in *lzo; do VMID=${FILE:12:3}; time qmrestore $FILE $VMID; done
The above commands restored 14 VMs in 50 minutes.