I accidentally deleted a Windows Server VM today and need need need to get it back. Interesting thing is that I am currently logged into the server from this workstation (I am using it to submit this) so even though I deleted it I know it is still running and will continue to run until I log out or we lose power and the battery back up doesn't last long enough. I just backed up the user files so at least I have them. It won't be hard to set up a new server from scratch but it will eat up my weekend.
I removed it with "rm 100*" in shell. I was scrolling through the previous commands and accidentally hit enter when I was going by that one. Ugh!
Is there any way to un-delete this VM? I have read this thread (https://forum.proxmox.com/threads/recover-deleted-vm.15899/) but since my back up is so old I am certain it will not restore it. The last backup is dated 2015. I know, I should have backed up more recently but I don't know how. Someone else set this up for me. I will now have to research how to back it up so that I have a more recent image.
If I look on the local drive In the Proxmox Desktop I see a list of disk images and the one in question is still listed "vm-1000-disk-1.qcow2".
Please help this novice get this VM back.
UPDATE:
I just did some more research and found this page (https://serverfault.com/questions/521558/vm-running-perfectly-when-its-disk-image-is-deleted). I am not in a position to test this but will try tomorrow. Since the windows server is still running it may be possible to restore it. Any thought would be appreciated.
I removed it with "rm 100*" in shell. I was scrolling through the previous commands and accidentally hit enter when I was going by that one. Ugh!
Is there any way to un-delete this VM? I have read this thread (https://forum.proxmox.com/threads/recover-deleted-vm.15899/) but since my back up is so old I am certain it will not restore it. The last backup is dated 2015. I know, I should have backed up more recently but I don't know how. Someone else set this up for me. I will now have to research how to back it up so that I have a more recent image.
If I look on the local drive In the Proxmox Desktop I see a list of disk images and the one in question is still listed "vm-1000-disk-1.qcow2".
Please help this novice get this VM back.
UPDATE:
I just did some more research and found this page (https://serverfault.com/questions/521558/vm-running-perfectly-when-its-disk-image-is-deleted). I am not in a position to test this but will try tomorrow. Since the windows server is still running it may be possible to restore it. Any thought would be appreciated.
Last edited: