Linux - GeneralThis 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.
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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!!!
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.