-1

How Can I recover a deleted Data Base file from Oracle Linux ..

file system type is ext4.

It is really crucial to bring up the db..

Any help would greatly be appreciated.

I tried the below links but could not succeed.

Unix/Linux undelete/recover deleted files

How to recover files I deleted now by running rm *?

  • 5
    Restore from your last backup and then recover to point-in-time by using the redo logs. – doneal24 Sep 16 '16 at 12:32
  • I don't have backup and DB is in no archive log mode – satya Sep 16 '16 at 12:37
  • 1
    Good luck restoring the database. Unfortunately the best thing to revert rm is backup. There is a reason why backup is so advised. – MatthewRock Sep 16 '16 at 13:03
  • 1
    I am sorry for you, but you have almost no chances to restore it. – Serge Sep 16 '16 at 14:11
1

Firstly stop using the drive because any changes to the file system will make it harder to recover.

Secondly take a copy of the entire drive using dd or other tools to copy the raw drive to a clean disk.

Next you will need to look at various ext3/4 undeletion tools, always working with the cloned drive never the original. The tools that I know of are:

Next options are:

  • Send the drive off for data recovery
  • Look at file carving tools such as photoreq (from the testdisk package)
  • Accept the loss of data and rebuild with backups as part of the planning process
  • This process has a low probability of success along with a lot of frustrating effort. – mdpc Sep 17 '16 at 0:40
  • Agreed, I was putting forward the steps I would take in this case – Tim Fletcher Sep 17 '16 at 9:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.