Linux - NewbieThis forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
I'm using a Debian Lenny host for hosting of my website, and i've made a terrible mistake today... With su privileges I've killed my server with the following command: mv /* ../* (which had to be ./*)
I'm no expert whatsoever, so please don't break me down on my stupidity... Everything is gone, i cannot boot the host anymore. It is virtualized (Esxi4.0), the VMDK file is not empty(22GB used). Is there ANY way to recover my data? I'm downloading setting up a workstation with VMware Disk Mount, but i really don't know if i can get the data back?
You should be able to boot the VM of a Rescue-CD ISO image, and
move everything back to where it belongs. And a move of /* would
have been stupid no matter where you're moving stuff to.
It would always break the box.
Mount the file through the virtual machine using knoppix 5.x pre-adriane as you would do so for a real machine.
From there, you'll need to create a second virtual disk and mount the original through an entry in /etc/fstab.
Then you can move the information over.
Next time, make backups.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.