How do I get a VM back to the server it was on without its dataset? HA moved the VM without it replicated

duke_seb

New Member
Jul 10, 2023
2
0
1
I've run into a problem that im sure is easy to fix I just dont know how to do it.

I have a few vms that were not finished replcating when i shutdown a node. my HA transfered the VMs to another node how do i get them back to the node that still has the dataset for them?

I would normally delete and then restore from a backup but I borked my PBS as well
 

Attachments

  • Screenshot 2024-04-20 at 22.08.30.png
    Screenshot 2024-04-20 at 22.08.30.png
    8.1 KB · Views: 2
Look into root@<anynode>:~# ls -Al /etc/pve/nodes/ and try to understand its content. Then just move the config to where it belongs:
Code:
root@<anynode>:~#  mv /etc/pve/nodes/<wrongnode>/qemu-server/<vmid>.conf  /etc/pve/nodes/<correctnode>/qemu-server/
Yes, this is quick-n-dirty, working "under the hood"...
 

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!