Restoring a VM to a different HDD

kirelgt

Member
Nov 16, 2010
85
0
6
Hello and thanks in advance.

I have a question which is regarding to restoring a VM that was created in a disk and now I want to recreate this same VM in another disk. Here is the setup.(I use KVM)

I have a 4 physical HDD.

1st HDD Proxmox Install
2nd HDD ==> VMID 1 (Ubuntu)
3rd HDD ==> VMID 2 (Ubuntu)
4th HDD is blank

I created a backup of VMID1, which I want to install in the 4th HDD, what do I need to do in order to accomplish this. Every time I try to recover VMID1 it does not give me the option of where I want to install it, it just go and install itself in HDD1.

Thank You For Your Time.
 
you need to define 'storages' and then you can restore with qmrestore using the --storage option (see 'man qmrestore').

also post the VM config file (cat /etc/qemu-server/VMID.conf)