On 08/11/2010 07:16 PM, Parveen Arora wrote:
On Wed, Aug 11, 2010 at 6:53 PM, Nilesh Govindarajan<[email protected]>  wrote:
  On 08/11/2010 06:41 PM, Parveen Arora wrote:
On Wed, Aug 11, 2010 at 8:06 AM, Nilesh Govindarajan<[email protected]>
  wrote:
  On 08/11/2010 05:14 PM, Parveen Arora wrote:
Hello Everyone,
I have lost my very important data
which was the backup of my site bu mistake with rm command.

Actually i have to rename the file, and i used rm command accidently
inplace of mv.
I need it immidiately, becuause it was my project of 2 months.

So Please help me immidiately, if there is way to recover it.

Thank's in advance.

Did you shutdown/restart/use any other application/did any writing
activity
after that rm?
No, i have not done nither of this, no shutdown/restart
--
Regards,
Nilesh Govindarajan
Facebook: http://www.facebook.com/nilesh.gr
Twitter: http://twitter.com/nileshgr
Website: http://www.itech7.com
VPS Hosting: http://www.itech7.com/a/vps

--
l...@iitd - http://tinyurl.com/ycueutm


Then by luck, you may be able to recover it using debugfs.
Run debugfs /dev/<hdd-device>  as root. It will give you a prompt. At the
prompt, type lsdel and press enter (keep your fingers crossed&  pray hard).
If it lists some inodes, use the undel command (of debugfs) and give it a
temporary path.
See man debugfs for more info.
undel<inode>  (include the angle brackets).
it was in my Downloads folder, should i give path  ~/Downloads   like this?

No, don't do that. Just recover the inodes.
Actually I've never used it to recover deleted files and hence I don't know much about it. As per the man page, it suggests that you should undel all inodes and then run e2fsck to get back the files in the lost+found directory.

And yeah, I forgot to mention that this works ONLY WITH ext*.

--
Regards,
Nilesh Govindarajan
Facebook: http://www.facebook.com/nilesh.gr
Twitter: http://twitter.com/nileshgr
Website: http://www.itech7.com
VPS Hosting: http://www.itech7.com/a/vps

--
l...@iitd - http://tinyurl.com/ycueutm

Reply via email to