x
login about faq Site discussion (meta-askssc)

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.

more ▼

asked Jan 06 '10 at 10:30 AM in Default

OraLearner gravatar image

OraLearner
1.3k 51 67 83

(comments are locked)
10|1200 characters needed characters left

2 answers: sort voted first

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.

more ▼

answered Jan 06 '10 at 11:08 AM

HillbillyToad gravatar image

HillbillyToad
1k 2

(comments are locked)
10|1200 characters needed characters left

You may restore tablespace thanks to recovery software.
Next one must be suitable here http://www.dbf.fixtoolbox.com

more ▼

answered May 26 '12 at 07:01 PM

philconnors26 gravatar image

philconnors26
0

(comments are locked)
10|1200 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments



Facebook logo Follow Ask SSC on Facebook
Find Ask SSC on Google+
linkedin logo Find us on LinkedIn

Topics:

x359
x17
x15

asked: Jan 06 '10 at 10:30 AM

Seen: 520 times

Last Updated: May 26 '12 at 07:01 PM

Copyright © 2002-2012 Simple Talk Publishing. All Rights Reserved. If you have any queries, please contact the site administrators.
Ask SQL Server Central is a community service provided by Red Gate.