Click here to Skip to main content
15,889,992 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Recently, the HD of my computer was having problems. My oracle 10g xe was installed and running in this HD.

But I performed a copy of the DBF files in the folder "oradata\XE", before the HD stop functioning. These files are: CONTROL.DBF ,SYSAUX.DBF,SYSTEM.DBF,TEMP.DBF,UNDOTBS1.DBF,USERS.DBF

I wonder if is possible to recover my data from these files. Or, if is possible to import the data in this files to a new installation of Oracle 10g. I have all users and passwords.

Can someone help me?

Thank you in advance. Best Regards
Posted

1 solution

It's tragedy :(

SQL> startup nomount
SQL> show parameter control

NAME TYPE VALUE

------------------------------------ ----------- ------------------------------

control_file_record_keep_time integer 7

control_files string X:\ORCLXE\CONTROL\CONTROL01.C
TL, X:\ORCLXE\CONTROL\CONTROL
02.CTL, X:\ORCLXE\CONTROL\CON
TROL03.CTL




SQL
CREATE CONTROLFILE REUSE DATABASE "ORCLXE" RESETLOGS NOARCHIVELOG 
    MAXLOGFILES 16 
    MAXLOGMEMBERS 3 
    MAXDATAFILES 100 
    MAXINSTANCES 8 
    MAXLOGHISTORY 292 
LOGFILE 
  GROUP 1 'X:\ORCLXE\LOG\REDO01.LOG'  SIZE 50M, 
  GROUP 2 'X:\ORCLXE\LOG\REDO02.LOG'  SIZE 50M, 
  GROUP 3 'X:\ORCLXE\LOG\REDO03.LOG'  SIZE 50M 
DATAFILE 
  'X:\ORCLXE\DATA\SYSTEM01.DBF', 
  'X:\ORCLXE\DATA\UNDOTBS01.DBF', 
  'X:\ORCLXE\DATA\SYSAUX01.DBF', 
  'X:\ORCLXE\DATA\USERS01.DBF', 
  'X:\ORCLXE\DATA\UNDOTBS02.DBF' 
CHARACTER SET WE8MSWIN1252; 

Control file created.

SQL
alter database mount;

SQL
alter database open resetlogs;
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900