|
|
|
|
|
Re: explain about backup and recovery(very urgent) [message #211912 is a reply to message #211909] |
Wed, 03 January 2007 01:34 |
Mohammad Taj
Messages: 2412 Registered: September 2006 Location: Dubai, UAE
|
Senior Member |
|
|
1. take cold backup or ur database
sql>shutdown immediate;
sql>rem using OS copy cmd COPY all datafile files, redo log files, control files , spfile, password files,
transter ur backup to another machine.on another machine install oracle software without database.and fellow below procedure.
C:\>set oracle_sid=orcl
C:\>orapwd file=d:\oracle\product\10.1.0\db_2\database\pwdorcl.ora password=oracle
C:\>d:\oracle\product\10.1.0\db_2\bin\oradim.exe -new -sid ORCL -startmode manual -spfileInstance created.
C:\>d:\oracle\product\10.1.0\db_2\bin\oradim.exe -edit -sid ORCL -startmode auto
C:\>sqlplus/nologSQL*Plus: Release 10.1.0.2.0 - Production on Sat Dec 9 12:36:53 2006
Copyright (c) 1982, 2004, Oracle. All rights reserved.
SQL> conn sys as sysdba
Enter password:
Connected to an idle instance.
note 1.paste all datafile , redo log file, control file, or spfile<sid>.ora in there location.
create folder in oraclehome/admin---bdump or cdump or udumpand oraclehome/ordata--orcl (according to ur dbname)
SQL> startup
ORACLE instance started.
Total System Global Area 171966464 bytes
Fixed Size 787988 bytes
Variable Size 145488364 bytes
Database Buffers 25165824 bytes
Redo Buffers 524288 bytes
Database mounted.
Database altered.
----------------------------------------------------------------
regards
Taj
|
|
|
|
|
|
|
Re: explain about backup and recovery(very urgent) [message #211965 is a reply to message #211889] |
Wed, 03 January 2007 04:59 |
vinatha
Messages: 7 Registered: January 2007
|
Junior Member |
|
|
Hi,
i mean Is it possible to recover that backup datafile in another database.
I am trying hot backup but i get this error .
C:\Documents and Settings\Vinatha>rman target=sys
Recovery Manager: Release 8.1.7.0.0 - Production
target database Password:
RMAN-06005: connected to target database: RAM (DBID=2773873450)
RMAN> configure controlfile autobackup on;
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00558: error encountered while parsing input commands
RMAN-01005: syntax error: found "controlfile": expecting one of: "compatible"
RMAN-01007: at line 1 column 11 file: standard input
RMAN> backup database;
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00558: error encountered while parsing input commands
RMAN-01005: syntax error: found "backup": expecting one of: "allocate, alter, be
ginline, catalog, change, connect, create, crosscheck, configure, debug, delete,
drop, exit, endinline, host, {, library, list, mount, open, print, register, re
lease, replace, report, renormalize, reset, resync, rman, rpct·?"
RMAN-01007: at line 1 column 1 file: standard input
|
|
|
|
|
|
|