Need help desperately: deleted a virtual machine with critical data under linux.
Linux - Virtualization and CloudThis forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Need help desperately: deleted a virtual machine with critical data under linux.
Hi all,
I'm in a pretty messed-up situation, hope you can give me a hand.
I deleted by accident a folder containing a VMware server virtual machine, that contains most critical information. The host OS is CentOS 5.5, which I believe by default uses Ext3.
I shut down the PC intermediately after noticing this.
Is there any chance of recovering the files? Would they be able to mount to the same or another virtual machine?
I need to get this information somehow, there are no backups.
Which software can I use?
If anyone can help me recover this, you'll get a free book by amazon, you have my word.
I'm THAT desperate.
I understand you're desperate but posting in multiple forums will not get you a solution faster but instead you (and we) might loose focus on the conversation, not knowing where answers are being posted. Please stick with one thread per problem/question. Reporting as duplicate.
First, make a backup copy, as already suggested. After that, you can use photorec from the testdisk package to try to get your files back, of course from a live-medium. It would at least help to get the disk-image of the VM back, so that you can use it in another VM to recover your data.
In future I would recommend to get a good backup plan for important data.
Distribution: Ubuntu 10.04 , Linux Mint Debian Edition , Microsoft Windows 7
Posts: 390
Rep:
if you deleted your data from the folder then boot into RIPLinux and use photorec software.
if it can't restore it then you lost all data. if it restores correctly you will get your VM back and running fast. i think you first need to release it from the vm before using it again...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.