NEW OS WINDOWS XP
ORACLE SERVER 10.1.0.2.0
ARCHIVE LOG DISABLED
DATABASE NAME ORAMFE
STEP :
1.TAKE COLD BACKUP OF DATABASE
INCLUDING BELOW FILES
---->All *.dbf Files
---->All *.log Files (REDO LOGS)
---->All *.ctl Files
---->SPFILE
2.TRANSFER ALL FILES FROM OLD OS SERVER TO NEW OS.
3.ON NEW SERVER.
EDIT INIT
1.Change Location of below PARAMETERS according NEW OS SERVER.
1.BDUMP
2.UDUMP
3.CDUMP
4.CONTROL FILES
5.FLASHBACK RECOVERY AREA
Create Oracle Services through ORADIM utility.
C:\>set oracle_sid=oramfe
C:\>orapwd file=c:\oracle\product\10.1.0\db_1\database\pwdoramfe.ora password=or
acle entries=5 force=y
C:\>oradim -new -sid ORAMFE -startmode manual -spfile
Instance created.
C:\>oradim -edit -sid ORAMFE -startmode auto -srvcstart system
C:\>sqlplus /nolog
SQL*Plus: Release 10.1.0.5.0 - Production on
Copyright (c) 1982, 2005, Oracle. All rights reserved.
SQL> conn sys as sysdba
Enter password:
Connected to an idle instance.
SQL> startup mount pfile=c:\oracle\product\10.1.0\db_1\database\initORAMFE.ora
ORACLE instance started.
Total System Global Area 167772160 bytes
Fixed Size 788496 bytes
Variable Size 69990384 bytes
Database Buffers 96468992 bytes
Redo Buffers 524288 bytes
Database mounted.
6.Change Location of REDO LOGS and DATAFILES.
NOTE :- FIRST CHANGE DATAFILES LOCATION THEN CHANGE REDO
LOG LOCATION.
NOTE :- QUERY IN V$DATAFILE , V$LOGFILE FOR PREVIOUS LOCATION OF REDOLOG AND DATAFILES.
SQL>SELECT NAME FROM V$DATAFILE;;
DATAFILES
SQL>ALTER DATABASE
RENAME FILE
'E:\ORAMFE\USERS01.DBF',
'E:\ORAMFE\SYSTEM01.DBF',
'E:\ORAMFE\SYSAUX01.DBF'
1 comment:
Hi friend,
if i dont have backup pfile and replace by create 1 database using dbca, you think it will run okay??
Post a Comment