Copy vm

tribuna

New Member
Mar 8, 2021
9
0
1
42
Good Night,

my proxmox machine loose the grub boot, because de hard-drive failed.

Can i copy a vm to a usb hard drive?

Use a live cd?
 
Didn't you made backups of your VMs?

Isn't that easy to copy a VM to a new drive. First you need both the virtual disk and the VM config.
The VM config is stored in the "/etc/pve/qemu-server" folder of your system disk. But that is not a normal folder, its a mountpoint of a special PVE filesystem that is based on a SQLite database. So if you can't boot your PVE this folder is just empty so you won'T be able to copy the VM config files.
Then there are the VM virtual disks. In most cases (LVM-thin and ZFS) these are not stored as files inside a filesystem, they are block devices and part of the LVM or ZFS disk management. So there is no file to copy.
 

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!