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

Home -> Community -> Usenet -> c.d.o.server -> db copy from prd to dev

db copy from prd to dev

From: yls177 <yls177_at_hotmail.com>
Date: 10 Oct 2004 07:40:56 -0700
Message-ID: <c06e4d68.0410100640.370132d1@posting.google.com>


Hi, i am copying my oracle 8.1.7 from PRD to DEV.

  1. A offline restore from PRD to DEV, all data files.
  2. In DEV, change the sid name to PRD in initDEV.ora
  3. startup mount
  4. change the control file sid to DEV
  5. in initDEV.ora, change the sid name to DEV

i did a startup and get the below

SVRMGR> connect internal
Connected.
SVRMGR> shutdown immediate
ORA-01507: database not mounted
ORACLE instance shut down.
SVRMGR> startup
ORACLE instance started.
Database mounted.
ORA-01157: cannot identify/lock data file 1 - see DBWR trace file ORA-01110: data file 1: '/oracle/SID/sapdata1/system_1/system.data1' SVRMGR> a little bit of background as below
1) PRD filesystem is /oracle/PRD/sapdata* where * is a number 2) in my DEV, the filesysetm is /oracle/DEV/sapdata*

therefore, i am restoring my PRD datafiles to my DEV with the paths not correct. This should be the problem. Basically, beside the change of SID in the initDEV.ora, all other oracle settings in DEV remain as they are for the DEV instance.

Any help with the above startup error? Received on Sun Oct 10 2004 - 09:40:56 CDT

Original text of this message

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