Hi,
i'm triying to create a 10g database copy from another one in the same machine.. so this is what i done:
1- i stop the database source and copy the directories used by the database source (redo , ctl,index..)
2-i restart the database source and erase the ctl files from the new database directories.
3-i ran :
sqlplus "/ as sysdba"
create database backup controlefile to trace ;
4-i delete the cdump,bdump, udump files from the new database directory.
5- i open the latest version of the trc file under udump of the database source and use the paragraph Set#2 . RESETLOGS until the end of the trc file ,to create the new database.
so in this step , i used :
RECOVER DATABASE USING BACKUP CONTROLFILE UNTIL CANCEL;
ORA-00279: change 7866782806751 generated at 07/12/2010 19:39:23 needed for thread 1
ORA-00289: suggestion : /moteurs/oracle/r11110/R11110/archivelog/2010_07_13/o1_mf_1_1158_%u_.arc
ORA-00280: change 7866782806751 for thread 1 is in sequence #1158
Specify log: {=suggested | filename | AUTO | CANCEL}
CANCEL
ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
ORA-01194: file 1 needs more recovery to be consistent
ORA-01110: data file 1: '/data01/oracle/r11110/data/SYSTEM01.dbf'
and then the command: ALTER DATABASE OPEN RESETLOGS; dose'nt work..
Copy the archive logs from the source database starting with o1_mf_1_1158_%u_.arc into the /moteurs/oracle/r11110/R11110/archivelog/2010_07_13 directory and try the recover again.
"The person who says it cannot be done should not interrupt the person doing it." --Chinese Proverb
Bookmarks