recover old datafile [message #150395] |
Wed, 07 December 2005 13:36 ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
longduck
Messages: 13 Registered: November 2005
|
Junior Member |
|
|
Ok, lets say I dropped a tablespace. A few months later, I want to restore that tablespace since I have a backup datafile. So, I write the control file to trace. I recreate my controlfiles to include the datafile that I'm trying to restore. Is this possible? After I recreate the controlfile, I open the database, "alter database open". The database opens with no problems. When I query the dba_tablespace, the tablespace that I try to recover does not exist. In the alert log, it says the datafile exists in the controlfile but not in the data dictionary. Has anyone seen this before? If so, I can use some help. Thanks.
|
|
|
|
Re: recover old datafile [message #150404 is a reply to message #150395] |
Wed, 07 December 2005 14:29 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
longduck
Messages: 13 Registered: November 2005
|
Junior Member |
|
|
Thanx for your reply. I was able to recreate the tablespace using the REUSE command but the tables I had from the previous datafile is not there. I want to be to restore the tablespace and the data I had from the tablespace/datafile.
|
|
|
|
Re: recover old datafile [message #150413 is a reply to message #150411] |
Wed, 07 December 2005 16:32 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) |
![](/forum/images/custom_avatars/42800.jpg) |
Mahesh Rajendran
Messages: 10708 Registered: March 2002 Location: oracleDocoVille
|
Senior Member Account Moderator |
|
|
You just reused the existing file.
That does not mean you can get all the data back!.
You need to restore the database a point in time before you dropped the tablespace or fallback to a valid backup taken before dropping the tablespace. I cannot generalized / recomend anything.
Please read about backup/recovery using RMAN.
|
|
|