How to Recover deleted vmdk file Virtual Machine

Discussions related to using VirtualBox on Linux hosts.
Post Reply
Mannuko
Posts: 9
Joined: 7. Aug 2017, 20:09
Primary OS: Ubuntu other
VBox Version: OSE Debian
Guest OSses: Windows 7 32 bit

How to Recover deleted vmdk file Virtual Machine

Post by Mannuko »

Dear all
Two days ago I accidentally deleted my Virtual Machine Windows 7 32 bit vmdk file in virtual box on Ubuntu 17.10 Host so How to Recover that Machine can you anybody please help me
Thanks in advance
socratis
Site Moderator
Posts: 27330
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: How to Recover deleted vmdk file Virtual Machine

Post by socratis »

From a backup. Like any other file you accidentally delete.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Mannuko
Posts: 9
Joined: 7. Aug 2017, 20:09
Primary OS: Ubuntu other
VBox Version: OSE Debian
Guest OSses: Windows 7 32 bit

Re: How to Recover deleted vmdk file Virtual Machine

Post by Mannuko »

Dear sir
I haven't any Backup from System side because before I didn't that and also when I deleted that Machine in Virtual Box after that I checked file in Host Machine there's nothing
socratis
Site Moderator
Posts: 27330
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: How to Recover deleted vmdk file Virtual Machine

Post by socratis »

Yes. If you delete a file, it's deleted. There is no recovery mechanism.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Mannuko
Posts: 9
Joined: 7. Aug 2017, 20:09
Primary OS: Ubuntu other
VBox Version: OSE Debian
Guest OSses: Windows 7 32 bit

Re: How to Recover deleted vmdk file Virtual Machine

Post by Mannuko »

Dear sir
I have doubt, So can't we recover file from hard disk, is there no option?
For example :we are recovering from hard disk for normal doc's, images,
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: How to Recover deleted vmdk file Virtual Machine

Post by mpack »

In order to delete a VM from inside VirtualBox you first have to click "Remove", and then you have to confirm that you wish to delete the physical files. If you did both of those things then the VM is gone. If VirtualBox failed to free up such a large amount of disk space when told do do so then it would be considered a bug.
Mannuko
Posts: 9
Joined: 7. Aug 2017, 20:09
Primary OS: Ubuntu other
VBox Version: OSE Debian
Guest OSses: Windows 7 32 bit

Re: How to Recover deleted vmdk file Virtual Machine

Post by Mannuko »

Dear sir
Thanks for your response
Whenever I deleted that Machine selected options, delete all files, in Virtual Box
How can I check VirtualBox free up disk space
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: How to Recover deleted vmdk file Virtual Machine

Post by mpack »

If the VM folder is no longer present in the "<user documents>\VirtualBox VMs" folder then the VM has been physically deleted, as will be expected if you answered yes to the "delete physical files?" question.
Mannuko
Posts: 9
Joined: 7. Aug 2017, 20:09
Primary OS: Ubuntu other
VBox Version: OSE Debian
Guest OSses: Windows 7 32 bit

Re: How to Recover deleted vmdk file Virtual Machine

Post by Mannuko »

Thanks for your response
Whenever I deleted Virtual Machine from Virtual Box after that I checked file in Host Machine there's nothing.
But I want to know insight way, that folder having or not in Host Machine Ubuntu 17.10.
So how can I check.
socratis
Site Moderator
Posts: 27330
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: How to Recover deleted vmdk file Virtual Machine

Post by socratis »

Mannuko wrote:Two days ago I accidentally deleted my Virtual Machine Windows 7 32 bit vmdk file in virtual box
You started this thread like that. If you deleted the VM like you say you did:
Mannuko wrote:Whenever I deleted that Machine selected options, delete all files, in Virtual Box
then bye, bye... Your VMDK is gone. Forever. Done. No recovery. Start again fresh. And keep a backup...
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Mannuko
Posts: 9
Joined: 7. Aug 2017, 20:09
Primary OS: Ubuntu other
VBox Version: OSE Debian
Guest OSses: Windows 7 32 bit

Re: How to Recover deleted vmdk file Virtual Machine

Post by Mannuko »

Thanks for solution
Post Reply