Recover running LXC

xyboox

New Member
Jan 20, 2024
5
0
1
Short sorry: I accidentally did a stupid thing, delete the config AND the disk of an LXC that is running.
How I did it: while trying to add another node, I somehow managed to lose all of my VMs and LXCs configs. So, started to add one by one, manually, pointing to the existing disks. With one, I messed up the ID and wanted to delete it but I checked also to delete the disk. Now, the LXC using that disk is still running, I can SSH into it.
Question is: any chance I could snapshot or somehow recreate the deleted disk while I still have access to the running LXC?