Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Can't copy DB-create controlfile fails

Can't copy DB-create controlfile fails

From: Connie Milliken <cemail_at_sprintmail.com>
Date: Fri, 09 Mar 2001 06:54:27 -0800
Message-ID: <F001.002C8377.20010309064522@fatcity.com>

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: cemail_at_sprintmail.com

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: ListGuru_at_fatcity.com (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).
Received on Fri Mar 09 2001 - 08:54:27 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US