VM deletion by mistake

sango74

Member
Oct 27, 2021
3
0
6
38
Hello,

I just made a really big dumpling.
I deleted a virtual machine which with a disk placed on a storage and which is called: sata2: Storage: 230 / vm-230-disk-0.qcow2, backup = 0, size = 6T

Those disk were no longer used by this machine, it was offered to another VM the 229.

Except that when I deleted the VM 230 it automatically deleted my qcow2 file.

I unfortunately do not have a backup of this virtual disk.
Is it possible to retrieve it by a particular command, I launched a "foremost" command have other track?

thanks in advance
 
hi,

I deleted a virtual machine which with a disk placed on a storage and which is called: sata2: Storage: 230 / vm-230-disk-0.qcow2, backup = 0, size = 6T

Those disk were no longer used by this machine, it was offered to another VM the 229.

Except that when I deleted the VM 230 it automatically deleted my qcow2 file.
that's unfortunate...
next time you should rename the disk to the according VMID if you want to use it in another VM.

I unfortunately do not have a backup of this virtual disk.
Is it possible to retrieve it by a particular command, I launched a "foremost" command have other track?
no, not really... depending on your filesystem on that disk you could try some recovery tools (extundelete can work for ext4), but otherwise i'm afraid you're out of luck
 
hi,
that's unfortunate...
next time you should rename the disk to the according VMID if you want to use it in another VM.


no, not really... depending on your filesystem on that disk you could try some recovery tools (extundelete can work for ext4), but otherwise i'm afraid you're out of luck
Despite several attempts I gave up.
I had made a backup of important files and photos with my migration.
I just lost the movies and the music, nothing too serious, it teaches you to think 10 times before making a click ...

thanks to you
 
hi,

Despite several attempts I gave up.
I had made a backup of important files and photos with my migration.
I just lost the movies and the music, nothing too serious, it teaches you to think 10 times before making a click ...

thanks to you
Hey,

If you do not use ZFS filesystem, you can maybe recover your lost virtual disk with "testdisk", check how to on web.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!