Hi,
Long story short, I was in my /var/vz/lib/cache/template folder to check the content of a LXC template that I have unzipped in this folder. When I was over, I deleted the folder one by one using "rm-r /usr" etc etc, in this folder.
This command seems to have deleted ALL the directories such as /var /dev/etc /usr as I had to delete them in the /template folder.
I feel extremely dumb. Now, Proxmox's interface doesn't show up, I can't even log on the CLI, just looping on "login", ssh is dead too.
My set up was :
2 SSD in Mirror ZFS for templates / small container data
1 4TB hard drive for 1 container data (Nextcloud)
If I missed any information, tell me.
How can I recover this mess without loosing all my data ?
Thank you for helping a real moron.
edit : Of course, I have the backup of all the container / data stored on the server but no backup of proxmox itself as I wanted to install a second node to use replication
edit2 : I have a spare SSD at home, maybe I can try to install proxmox recover what I can ?
Long story short, I was in my /var/vz/lib/cache/template folder to check the content of a LXC template that I have unzipped in this folder. When I was over, I deleted the folder one by one using "rm-r /usr" etc etc, in this folder.
This command seems to have deleted ALL the directories such as /var /dev/etc /usr as I had to delete them in the /template folder.
I feel extremely dumb. Now, Proxmox's interface doesn't show up, I can't even log on the CLI, just looping on "login", ssh is dead too.
My set up was :
2 SSD in Mirror ZFS for templates / small container data
1 4TB hard drive for 1 container data (Nextcloud)
If I missed any information, tell me.
How can I recover this mess without loosing all my data ?
Thank you for helping a real moron.
edit : Of course, I have the backup of all the container / data stored on the server but no backup of proxmox itself as I wanted to install a second node to use replication
edit2 : I have a spare SSD at home, maybe I can try to install proxmox recover what I can ?
Last edited: