question

OraLearner avatar image
OraLearner asked

How to recover the file from the Tablespace?

If we had a tablespace, TEST_TABLESPACE, which consists of three files: TEST1.dbf, TEST2.dbf and TEST3.dbf, and someone accidentally used the Unix command "rm" to delte the file TEST2.dbf, what else would you need inorder to recover all the data that was present in TEST_TABLESPACE at the time that TEST2.dbf was deleted ? Thank you in advance.

oraclerecoverytablespace
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

HillbillyToad avatar image
HillbillyToad answered

That would put you in a recovery situation.

The first thing you would do is fire the person who removed the file :)

What you would do next would be based on your backup/recovery plan. Do you have one?

Do you take weekly offline backups, or do you take daily incremental ones?

Hopefully you're running in ARCHIVE LOG mode, if not, you're going to lose all of the changes made to that file since your last backup.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

philconnors26 avatar image
philconnors26 answered
You may restore tablespace thanks to recovery software. Next one must be suitable here [ http://www.dbf.fixtoolbox.com][1] [1]: http://www.dbf.fixtoolbox.com
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.