Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux 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!


  Search this Thread
Old 11-15-2009, 10:43 AM   #1
LQ Newbie
Registered: Nov 2009
Posts: 1

Rep: Reputation: 0
Unhappy Did i remove all my data?


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?

Help is really appreciated!

Last edited by sendur; 11-15-2009 at 10:51 AM.
Old 11-15-2009, 11:27 AM   #2
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928

welcome to LQ!

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.

Old 11-15-2009, 11:28 AM   #3
Registered: Feb 2009
Distribution: FreeBSD, OpenBSD, NetBSD, Debian, Fedora
Posts: 770
Blog Entries: 52

Rep: Reputation: 68
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
remove no data rows from a text file lothario Linux - Newbie 1 08-30-2009 07:18 AM
tar file without remove existing data ust Linux - Newbie 3 06-10-2009 01:55 AM
How does one remove debconf data from ubuntu maskiepop Linux - Newbie 2 07-28-2008 03:48 AM
How to remove unwanted data rvsridhar Linux - General 2 05-15-2006 03:07 PM
[bash / sed] remove all data between < > Ljohan Programming 4 03-15-2006 05:20 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:36 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration