Moving/Copying from PVE 1.9 to PVE 3.4

emulsified

New Member
May 8, 2015
1
0
1
So I have a KVM, VM102 it has the following:

pve1_9_vm102.jpg

What is the easiest way to copy (I am most interested in copying it as I want to keep the old PVE 1.9 around for someone else) to my new PVE 3.4 server?

I don't want to upgrade the PVE 1.9 to PVE 3.4 and/or do clustering or a migration process.

Could I copy the .raw files to the new server?

I need the most straightforward fool-proof way to accomplish this.

Any advice?
 
Assuming your 3.4 server is ready to go, shut down your VM102 first on the 1.9 machine, then copy all your local .raw files from your 1.9 machine to the same location on your 3.4 machine (e.g. probably /var/lib/vz/images/102). Without some sort of shared filestore (e.g. iSCSI) between the servers, you have to do this copy with downtime I'm afraid - live migration won't be possible (and you're not clustered anyway, so that's a moot point).

I then usually copy the 102.conf (possibly in /etc/pve/qemu-server - do a "locate 102.conf" for it...it might be in a different location in 1.9) from the 1.9 machine to /etc/pve/qemu-server/102.conf on the 3.4 server (this assumes you don't have a VM102 on the 3.4 machine already!). Also be careful that the format of the network card lines did change at some point and you may need to edit 102.conf on the 3.4 server. Here's an example line for 3.4:

net0: virtio=01:02:03:04:05:06,bridge=vmbr1

Adjust your 102.conf's net0, net1 etc. lines to match that format above if you need to.

Once copied and possibly edited, it should hopefully appear in your 3.4 Web interface and be startable from there (or use "qm start 102" on the 3.4 machine's command line).

It should be noted that I often use the command line (i.e. "vi 102.conf") to tweak VM configurations because a lot of VM options that go in the conf file aren't actually available in the GUI.
 
Last edited:

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!