Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emergency: human factor deleted everything...
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
f.kater
Guru
Guru


Joined: 23 May 2002
Posts: 342
Location: Berlin

PostPosted: Mon Aug 19, 2002 2:53 pm    Post subject: emergency: human factor deleted everything... Reply with quote

Hi, :cry:

while trying to use rsync locally to make a backup of important data to another harddisk (exchangeble) I deleted my whole system.

This is really shocking, friends.

Simple question: Is there a way to recover data which was deleted with rm?

Here is in detail what I have done:
- inserted my second hard disk (exchangable)
- started computer and gentoo
- mounted the second harddisk to /mnt/backup/
- did rsync -[some options] /home/myself/* /mnt/backup/home-myself/
- then saw that the data in /mnt/backup/home-myself/ did not arive proproperly due to wrong options
- cd /mnt/backup/home-myself/
- wanted to delete the stuff again: rm -r ./*
- this somehow started to delete files not only on the backup-harddisk but on the main harddisk, too! WHY?
- the system can't be started again
- I started with my gentoo installation CD
- mounted the drives
- saw that /mnt/backup/home-myself/ is deleted but also /etc, and /usr, and /home ...

Setting up again the system is not the problem, but:
Please, if you have any idea to get my /home/myself/ back...

'bye
Felix
Back to top
View user's profile Send private message
f.kater
Guru
Guru


Joined: 23 May 2002
Posts: 342
Location: Berlin

PostPosted: Mon Aug 19, 2002 4:30 pm    Post subject: Reply with quote

Me again,

first, let me add that the fs was ext3.

I found out that grep works on whole drives. Of most importance is a single text file openoffice (my thesis!) I lost.
When I boot with the gentoo installation CD
Code:
grep -b 'McKeown' /dev/hda3
really finds something and says 'binary file matching'.
I am not very used to the command 'grep'. Could you help me find the right options to extract some text starting with 'McKeown' to a file on a nother partition?

That would be great!
Felix
Back to top
View user's profile Send private message
f.kater
Guru
Guru


Joined: 23 May 2002
Posts: 342
Location: Berlin

PostPosted: Mon Aug 19, 2002 5:18 pm    Post subject: Reply with quote

.... and again:

I guess that what I wrote about grep is a bad idea since the files made by openoffice are compressed, right?
:(
Back to top
View user's profile Send private message
Malakin
Veteran
Veteran


Joined: 14 Apr 2002
Posts: 1692
Location: Victoria BC Canada

PostPosted: Mon Aug 19, 2002 9:53 pm    Post subject: Reply with quote

there are undelete type programs out there for ext2, which should also work for ext3.
Back to top
View user's profile Send private message
xorbe
n00b
n00b


Joined: 19 Jul 2002
Posts: 46
Location: near San Jose, CA

PostPosted: Tue Aug 20, 2002 5:43 am    Post subject: Re: emergency: human factor deleted everything... Reply with quote

f.kater wrote:
- wanted to delete the stuff again: rm -r ./*
- this somehow started to delete files not only on the backup-harddisk but on the main harddisk, too! WHY?

Because you probably typed "rm -r .*" which deletes . and ..!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum