LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 05-07-2006, 10:05 AM   #1
jaa1180
Member
 
Registered: Oct 2003
Location: USA, Tennessee
Distribution: Ubuntu
Posts: 307

Rep: Reputation: 30
Exclamation Restoring deleted files on ext3


Ok, I am not sure if this is the right place for this post.

I was testing a backup script I wrote for my system. It is using mirrordir.
I have two 120GB drives (data and backup). I am backing up the Data drive to the Backup drive. [I know, I spent a lot of time in the naming.]

Now, here is the issue. I was testing to see if I could get mirrordir to work properly. However on the backup drive, I remove files to see if mirrordir would copy them from the data drive. Now the files are gone. It is by design this happened.

Is there any way to recover the files? They are very important...
Both drives are ext3 system.
???
 
Old 05-07-2006, 11:05 AM   #2
slackie1000
Senior Member
 
Registered: Dec 2003
Location: Brasil
Distribution: Arch
Posts: 1,037

Rep: Reputation: 45
hi there,
click me. check post number 5.
regards,
slackie1000
 
Old 05-07-2006, 04:42 PM   #3
spooon
Senior Member
 
Registered: Aug 2005
Posts: 1,755

Rep: Reputation: 48
Quote:
Originally Posted by jaa1180
Ok, I am not sure if this is the right place for this post.

I was testing a backup script I wrote for my system. It is using mirrordir.
I have two 120GB drives (data and backup). I am backing up the Data drive to the Backup drive. [I know, I spent a lot of time in the naming.]

Now, here is the issue. I was testing to see if I could get mirrordir to work properly. However on the backup drive, I remove files to see if mirrordir would copy them from the data drive. Now the files are gone. It is by design this happened.

Is there any way to recover the files? They are very important...
Both drives are ext3 system.
???
The short answer is no. ext3 zeroes out the inodes when it deletes files. You can try grepping through the drive for text in your files or something.
 
Old 05-07-2006, 06:39 PM   #4
jaa1180
Member
 
Registered: Oct 2003
Location: USA, Tennessee
Distribution: Ubuntu
Posts: 307

Original Poster
Rep: Reputation: 30
Wow, that is a wonderful article but that does not address my situation however.
I don't see a referance for ext3 file system. Several of the links are not working.
After some searching, I have found a few ISOs I am going to try.
 
Old 05-07-2006, 06:49 PM   #5
jaa1180
Member
 
Registered: Oct 2003
Location: USA, Tennessee
Distribution: Ubuntu
Posts: 307

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by spooon
The short answer is no. ext3 zeroes out the inodes when it deletes files. You can try grepping through the drive for text in your files or something.
Oh dear. [huff] Well, are there any tools you know of that may help?

What is a better file system out of all that one can choose? ext2,3, reiserfs, etc...?
 
Old 05-07-2006, 10:19 PM   #6
jaa1180
Member
 
Registered: Oct 2003
Location: USA, Tennessee
Distribution: Ubuntu
Posts: 307

Original Poster
Rep: Reputation: 30
well, thanks to all who have posted. I know now to make backups of backups.
slackie1000, thanks for the great article. I did learn from it.

spooon, thanks for letting me know.
 
  


Reply


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
Recovering a deleted file on ext3... almost there! abegetchell Linux - Software 12 10-15-2009 10:10 AM
Help! Deleted an ext3 partition. hergadawn Linux - Software 4 04-29-2006 05:05 PM
Frontend for recovering deleted files from ext3 filesystem jayakrishnan Linux - General 3 12-16-2004 02:21 PM
deleted xinetd, need help restoring bigVoice Mandriva 2 01-16-2004 07:27 AM
accidentally deleted files--need help restoring on reiserfs darksarin Linux - General 4 11-23-2003 07:13 PM


All times are GMT -5. The time now is 08:37 AM.

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