Tablespace recovery [message #416026] |
Thu, 30 July 2009 03:58 |
jalcroft
Messages: 3 Registered: July 2009 Location: UK
|
Junior Member |
|
|
Hi all
My Oracle server crashed last week and I am pulling my hair out for being so stupid and not doing what I tell others to do.
I do Oracle exports every night of our development and testing schema's. This is done with a script generating a .par file with all schema owners which contain a specific table.
What I had totally forgotten is that we have a FAQ and Forum schema. Guess what, these don't contain my specific table.
I have the .dbf files. I have copies of the control file.
I have created a new database, named the same on my laptop. I have copied the control file and have my database working with just the default data. When I try to recreate my control file to add in my two tablespaces, I get error 1159 (file is not from the same database as previous files - wrong database id).
Questions:
How do I find out what the database id was on my crashed database? If I can find this, how do I create my new database with the sames ID.
If I can't get this, is it possible to add this data file?
Or should I just cut my losses and get shouted at?
Many thanks for your help
James
|
|
|
|
|
|
|
|