Topic: Database Administration >> database cloning
|
Disclaimer: The purpose of all dbapool forums including OCP and Other Oracle Certification forums is to help each other with specific issues but not to share dump and copyrighted exam content, materials or intellectual property.
You may review the entire Oracle Certification Program Candidate Agreement online Here.
|
|
|
|
| Neeraj |
Posted: Mar 06, 2008 12:55:05 AM |
Total Post: 258
Joined: Jan, 2007
|
hi,
i m using databse cloing by using given script from this site , i hav run this script succesfully
STARTUP NOMOUNT
CREATE CONTROLFILE REUSE SET DATABASE "TEST1" RESETLOGS NOARCHIVELOG
MAXLOGFILES 50
MAXLOGMEMBERS 5
MAXDATAFILES 100
MAXINSTANCES 1
MAXLOGHISTORY 113
LOGFILE
GROUP 1 'D:\ORACLE\ORADATA\TEST1\REDO01.LOG' SIZE 100M,
GROUP 2 'D:\ORACLE\ORADATA\TEST1\REDO02.LOG' SIZE 100M,
GROUP 3 'D:\ORACLE\ORADATA\TEST1\REDO03.LOG' SIZE 100M
DATAFILE
'D:\ORACLE\ORADATA\TEST1\SYSTEM01.DBF',
'D:\ORACLE\ORADATA\TEST1\UNDOTBS01.DBF',
'D:\ORACLE\ORADATA\TEST1\CWMLITE01.DBF',
'D:\ORACLE\ORADATA\TEST1\DRSYS01.DBF',
'D:\ORACLE\ORADATA\TEST1\EXAMPLE01.DBF',
'D:\ORACLE\ORADATA\TEST1\INDX01.DBF',
'D:\ORACLE\ORADATA\TEST1\TOOLS01.DBF',
'D:\ORACLE\ORADATA\TEST1\USERS01.DBF'
CHARACTER SET WE8MSWIN1252
;
then i get the massage
control file created
then i run this command
alter database recover database until cancel using backup controlfile;
but i get the error
ora-01153: an incompatible media recovery is active
tell y i m having this error & how to solve it
& wt shud be next steps to complete this task.
thxs |
|
|
Mohammed Taj |
| Posted: Mar 06, 2008 08:30:20 AM | |
|
Total Post: 746
Joined: Jul, 2007
|
ORA-01153: an incompatible media recovery is active
Cause: Attempted to start an incompatible media recovery or open resetlogs during media recovery or RMAN backup . Media recovery sessions are incompatible if they attempt to recover the same data file. Incomplete media recovery or open resetlogs is incompatible with any media recovery. Backup or restore by RMAN is incompatible with open resetlogs
Action: Complete or cancel the other media recovery session or RMAN backup
Did you open two terminal for the same job(recovery purpose)? if yes then stop/cancel one terminal.
|
|
|
|
|
Neeraj |
| Posted: Mar 07, 2008 01:08:00 AM | |
|
Total Post: 258
Joined: Jan, 2007
|
no only one procees is going on , it hink this is used when old database is running on archive log then these 2 steps to follow otherwise after creating control file only
alter database open resetlogs ;
is use & it works fine;
m i right ?
|
|
|
|
|
| Time Zone: EDT |
Send this thread to your friend |
|
|
|
|
Forum Rules & Description
Who Can Read The Forum? Any registered user or guest
Who Can Post New Topics? Any registered user
Who Can Post Replies? Any registered user
|
| |
Get FREE Magazines
|
Top 10 Forum User
|
| Murtuja Khokhar | 857 |
| Mohammed Taj | 746 |
| positive fanatic | 483 |
| Jayanta Sur | 479 |
| Vigyan Kaushik | 386 |
| Gopu Gopi | 333 |
| Gitesh Trivedi | 322 |
| Vinoth Kumar | 264 |
| neeraj sharma | 258 |
| Ramesh Jois | 246 |
|
|