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
4
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"...