Connie:
  I perform this same activity once a month.  
I use CREATE CONTROLFILE REUSE SET DATABASE "DEV" RESETLOGS NOARCHIVELOG
etc

hth
Mary Ruiz / Atlanta GA

-----Original Message-----
Sent: Friday, March 09, 2001 9:45 AM
To: Multiple recipients of list ORACLE-L


I keep getting this error while trying to make a copy of a prod db to a
dev environment (which are on two separate boxes):  ORA-01697 invalid
option for create controlfile.  Controlfile is for a clone database.
Oracle 8.0.6 on NT.  Any ideas on why this is happening?  These are the
procedures I am following:


>From Dev env.
1. Shutdown current dev and remove all datafiles and controlfiles (but
leave initDEV).

>From Prod:

1. Shutdown and do cold backup
2. Move datafiles from prod to dev environment
3. Do 'Alter database backup controlfile to trace'.  Take the trace file
and make a sql script changing SID name from PROD to DEV, etc. as
follows:
STARTUP NOMOUNT;
CREATE CONTROLFILE SET DATABASE "DEV" RESETLOGS NOARCHIVELOG
 MAXLOGFILES 32
 MAXLOGMEMBERS 5
 MAXDATAFILES 1022
 MAXINSTANCES 1
 MAXLOGHISTORY 1815
LOGFILE
 GROUP 1 (
   '/prod01/oradata/redo_01a.rdo',
   '/prod01/oradata/redo_01b.rdo'
 ) SIZE 20M,
 GROUP 2 (
   '/prod02/oradata/redo_02a.rdo',
   '/prod02/oradata/redo_02b.rdo'
 ) SIZE 20M,
 GROUP 3 (
   '/prod03/oradata/redo_03a.rdo',
   '/prod03/oradata/redo_03b.rdo'
 ) SIZE 20M
DATAFILE
 '/prod01/oradata/system_01.dbf',
 '/prod01/oradata/rbs_01.dbf',
 '/prod01/oradata/temp_01.dbf',
 '/prod01/oradata/tools_01.dbf',
 '/prod01/oradata/users_01.dbf',
 '/prod02/oradata/DEV_01.dbf',






-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Connie Milliken
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Ruiz, Mary A (CAP, CDI)
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

Reply via email to