How do you change the VMID of existing VM?

crewze

New Member
Oct 17, 2009
24
1
1
I created and modified a bunch of VMs and found out backup would not work. I have since learned that you cannot backup a VM unless the VMID is > 100. Mine are all less.

I have modified all of my VMs so do not want to recreate them.

I tried just changing them in the /etc/vz/conf but then they would not start.

Can someone point me in the rigth direction?
 
Hi,

you must change the VMID directory names.

As example if you change from 99 to 100 you muste change the dirctory Name from 99 to 100, too for the machine!

Regards, Valle
 
  • Like
Reactions: Atila Vasconcelos
Hi,
I'm using Proxmox pve-manager/2.1-14/f32f3f46 with Kernel version Linux 2.6.32-14-pve #1 SMP.

I just tried var/lib/images and there's no images folder?
I just tried var/lib/vz/private and there's no vz folder?

I can't change the VMs' ID as there's no option in the GUI neither?

I also can't delete some VMs I don't need.
I also can't migrate to another VM ID. Proxmox only migrates to other nodes and I only have 1.
I also can't backup. (I though I could then copy the backup from the old VM ID and paste into the new VM ID).

Help appreciated.
 

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!