Need to Recover Deleted Files


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Need to Recover Deleted Files
# 1  
Old 01-04-2010
Need to Recover Deleted Files

Hi,

By mistake, executed the following command :

rm -rf *

and ALL files got deleted.
But I need to get back these files as they are very very important.
Please help me how to recover this file. Its Urgent for me please.

Thanks in advance.
# 2  
Old 01-04-2010
You can try :
Linux.com : ext3undel
if you FS is ext3 .
I am not sure if it will work , though . Restore from backup , if any , this is the safe way .
# 3  
Old 01-04-2010
What O/S are you running?
What filesystem type do you use?
Is your computer up or down?
Were you logged in as user "root" at the time?
What was the current directory at the time of issuing the command?
Did the command fail?
Do you have a backup?
# 4  
Old 01-04-2010
ran the command in unix
command succeed
computer is on
no backup for current files
also i didnt logged in as root while executing the command
# 5  
Old 01-04-2010
The unix command "uname -a" should tell you what Operating System you are running.
In general there is no "undelete" in unix.
If you know what files you have lost and you have no backup, the only recourse is to re-create the files. Has your Systems Administrator got a recent backup?
# 6  
Old 01-04-2010
hhmm...i guess its a lost case.
the files cannot be recreated because these are log files which gets created during the course of the program run and once it reaches sizes over 50mb another program creates the archive file. back up is scheduled once a day, so all files which got deleted after backup run is lost i think.
Anyways thanks for taking time to look into this.
# 7  
Old 01-04-2010
Quote:
Originally Posted by unx100
ran the command in unix
command succeed
computer is on
no backup for current files
also i didnt logged in as root while executing the command
Because you don't run the command by root, maybe you don't lost any files.

Where do you run the command, from / or other path?

command "rm -rf *" don't give prompt , if you have not permission on it.

Code:
       -f, --force
              ignore nonexistent files, never prompt

Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Linux

Recover deleted files on Linux server

Hi Guys, Greetings!. I have executed the cronjob that runs the shell script which is in directory.When the cronjob was executed , I found that the directory where the script resides has got deleted. Note: The directory was deleted with other use not root user. The... (9 Replies)
Discussion started by: reminisce
9 Replies

2. Red Hat

Recover deleted files from linux server machine..

Hi, I am working Linux server machine. Somebody by mistake(or may be knowingly) deleted few folders and files from the machine. How is this possible to recover those files and folders????:confused: I normally logged in through Putty and winscp only. And don't have any history for putty... (8 Replies)
Discussion started by: pamu
8 Replies

3. Emergency UNIX and Linux Support

Recover deleted partition

Hi, I have got 2 hdds (2x Seagate 7200.12, 500GB). I had two RAID volumes on them: 1: 100GB RAID0 (strip) 2: ~415GB RAID1 (mirror) due to problems with matrix I removed RAID0 and RAID1 - i thougth that all data from RAID1 would be available. Unfortunately it is not. On 1 disk I set... (7 Replies)
Discussion started by: Chrisdot
7 Replies

4. UNIX for Dummies Questions & Answers

how to recover deleted files in unix

Hi Experts, by mistake i deleted some files that are very important to the project. is there any way that i can recover those files,there is no backup for that but the details of the file we know. This will be a great help. Thanks (5 Replies)
Discussion started by: namishtiwari
5 Replies

5. Shell Programming and Scripting

Is there a way to recover files deleted using rm command???

Hi All, I just mistakingly deleted some files using rm command.Is there a way to get it back?i work on Solaris 10 Thanks, Kumar (1 Reply)
Discussion started by: kumarsaravana_s
1 Replies

6. Linux

recover deleted files from memory stick

I'm running Fedora Core4. I deleted images off of my Sony DSC-P73 digital camera's memory stick. I'm looking for a *nix tool to recover the photos from the memory stick. Does anyone know of such a tool? (2 Replies)
Discussion started by: dangral
2 Replies

7. AIX

recover deleted files

How to recover deleted files in AIX ? (1 Reply)
Discussion started by: vjm
1 Replies

8. UNIX for Dummies Questions & Answers

Recover deleted files

Is there a Unix tool, like in Novell, to recover accidentally deleted files? (2 Replies)
Discussion started by: kuultak
2 Replies
Login or Register to Ask a Question