recovery .conf files

PServer

Member
Mar 14, 2020
34
0
6
45
Hi,

I wanted connect again this node to cluster but have error and I resolve this with move .conf files in qemu-server to qemu-server/back
But after join to cluster, proxmox delet all file and folder in qemu-server!
I backup .conf file to qemu-server/back and deleted!
How I can restore .conf file?
VM now is running and I dont reboot server because my vm should not down.
I have 30 VM on this server.

Code:
pve-manager/6.2-6/ee1d7754 (running kernel: 5.4.41-1-pve)
 
Backing up the config files to /etc/pve/qemu-server/back was unfortunately the wrong move because on a cluster join the whole /etc/pve directory of the joining node will be removed. See the documentation ( https://pve.proxmox.com/pve-docs/pve-admin-guide.html#pvecm_join_node_to_cluster )

What you could do is to create a new VM with the same ID on that node. Then you could run a qm rescan, optionally with --vmid <VMID> to scan the storages for any disk image that belong to that VMID. After that, you can reorder the disks for the VM and remove the newly created one.

If you have backups you could restore them.