-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 *?

4
  • 5
    Restore from your last backup and then recover to point-in-time by using the redo logs. Commented Sep 16, 2016 at 12:32
  • I don't have backup and DB is in no archive log mode Commented Sep 16, 2016 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. Commented Sep 16, 2016 at 13:03
  • 1
    I am sorry for you, but you have almost no chances to restore it. Commented Sep 16, 2016 at 14:11

1 Answer 1

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
2
  • This process has a low probability of success along with a lot of frustrating effort. Commented Sep 17, 2016 at 0:40
  • Agreed, I was putting forward the steps I would take in this case Commented Sep 17, 2016 at 9:50

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.