I have had this problem with restoring Proxmox KVM to another server with different VMID
I am now running Pve version 1.9
I used the following steps to create and restore the backup
Also Is there a butter way?
I am now running Pve version 1.9
I used the following steps to create and restore the backup
- Suppose I want to backup VMID = 102
- Backup a running KVM image using vzdump --dumpdir <dir> --compress VMID onto Proxmox server 1
- Copy the *.tgz file to another Proxmox server 2
- Copy the *.iso above which the KVM image was created such as debian-live-6.0.3-amd64-standard.iso to proxmox server2 /var/lib/vz/tempalte/iso/
- On Proxmox server 2, I run the restore using qmrestore /var/lib/vz/dump/*102*.tgz 107 to restore the backup make in step 2 with different VMID = 107 because VMID 102 is already used on server 2.
- I make sure that VM 102 on server 1 is stopped and the onboot flag is not set.
- Now I start the restored VM 107 on server 2
- I change to a new IP address and hostname, and every thing is OK so far
- Now I move to server 1 and start VM 102
- I run my ssh session and VM 102 runs for a bit and then it locks up, which behaves like an IP conflict. But the two VM's 102 and 107 are using two different IP's.
Also Is there a butter way?