LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 10-08-2005, 11:24 AM   #1
maraspin
LQ Newbie
 
Registered: Oct 2005
Posts: 1

Rep: Reputation: 0
Overwritten tar file - Please help, desperate!!!


Hello and thanks for reading first off; I'll try to be short, but describe my situation as faithfully as possible.

I have encrypted my /data partition (/dev/hda2), after having backed up all of the data it contained into an external spare drive (/dev/hdc). I've used the tar utility and made a big file out of it.

Then, I encrypted my /data partition (on /dev/hda2) and, at this point, I was about to restore my backup from /dev/hdc (a pretty big file... 70Gb to be precise... :-/).

Tired (and quite an idiot!), last night I run the "tar -cvif -C /" command, instead of the "tar -xvif" command, I should have used, overwriting my backup...

Please don't make too much fun of me, even though I know I deserve it for having been such an i**t, since my morale is already at its bottom :-(...

I've immediately unmounted the partition, containing that .tar file, hoping that no other data could overwrite my actualy data (I hope it's still there!).

I know there are some unerase recovery tools but I haven't fount anything for overwritten files...

I'd really appreciate if someone could help me with this. I think that the fact that the drive contained just that one file might help me out someways (even though it's a tar file containing quite a lot of stuff), but I wouldn't know how to exploit this fact.

Well, thanks for reading, your answers will be very appreciated.

Please help me, I'm quite desperate at this point!!!
Steve
 
Old 10-08-2005, 07:21 PM   #2
agtlewis
Member
 
Registered: Oct 2005
Distribution: Fedora 4
Posts: 40

Rep: Reputation: 15
Your pretty much out of luck to be honest, deleting a file is one thing, overwriting it is another. I don't know anything about the tar structure though, so it might be possible to reconstruct the files that were not overwritten.
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how can i decompress this tar.tar file? hmmm sounds new.. tar.tar.. help ;) kublador Linux - Software 10 02-23-2008 05:40 AM
gave wrong syntax for tar as tar -cvzf file file.tgz how to recover the file gautham Linux - General 4 04-13-2005 03:15 AM
fstab file being overwritten MacLin Fedora 3 07-26-2004 01:25 PM
my customized xmms keybinding file gets overwritten infamous41md Linux - Newbie 1 06-22-2003 01:43 PM
Overwritten start of TAR File AllynCarter Linux - General 9 03-22-2002 05:50 AM


All times are GMT -5. The time now is 12:58 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