Database cloning using RMAN using Oracle 11i
Hi all,
I am getting error while connecting to clone database after making necessary changes in initDUP.ora file. Any buddy help me out to resolve this problem. I am doing clonning first time.
C:\Documents and Settings\sanjeevk>tnsping dup
TNS Ping Utility for 32-bit Windows: Version 11.1.0.6.0 - Production on 25-JUN-2010 11:57:40
Copyright (c) 1997, 2007, Oracle. All rights reserved.
Used parameter files:
C:\oracle\product\11.1.0\db_1\network\admin\sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = abc-117.abc
.com)(PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = dup)))
OK (50 msec)
C:\Documents and Settings\sanjeevk>set ORACLE_SID=dup
C:\Documents and Settings\sanjeevk>sqlplus "sys/****** as sysdba"
SQL*Plus: Release 11.1.0.6.0 - Production on Fri Jun 25 11:59:55 2010
Copyright (c) 1982, 2007, Oracle. All rights reserved.
ERROR:
ORA-12560: TNS:protocol adapter error
Enter user-name: / as sysdba
ERROR:
ORA-12560: TNS:protocol adapter error
Edited by: user13174327 on Jun 25, 2010 12:16 AM
try to conenct to clone database from target database as sys by sqlplus 'sys/sys@CLONE as sysdba'
make sure u have remote_login_password_file=exclusive in clone database pfile,,,,
reload the listener,,, with replacing hostname with the ip address of the machine.....
also take care of global_db_name ..
i will post a sample of listener file it may work 4 u..
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /oracle/orasoft/10.2.0.4)
(PROGRAM = extproc)
(SID_DESC =
(GLOBAL_DBNAME = rman_cat)
(ORACLE_HOME = /oracle/orasoft/10.2.0.4)
(SID_NAME = rman_cat)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = xxx.$$$.###.***)(PORT = 1521))
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
if u want proper SOP for duplicating database through RMAN .. post me ur mail id.I did that at last two days back.....
Regards,
Sisya....
Similar Messages
-
Clone database using RMAN on Oracle 10g
contents of Memory Script:
shutdown clone;
startup clone nomount ;
executing Memory Script
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 08/26/2009 15:55:39
RMAN-03015: error occurred in stored script Memory Script
RMAN-06136: ORACLE error from auxiliary database: ORA-01013: user requested canc
el of current operation
how to solve this error?
KushalHi,
but i am not able to configure using enterprise manager. it is always giving error.You could check the OEM forum or raise an SR at metalink.
Hard to tell what is going on without the details.
Regards,
Tycho -
Unable to restore database using RMAN in oracle 10g
Hi Everyone!!!!!!!
I have following scenario. In which I don't want to drop newly created tablespace (test). So, let me know how to restore database from existing backup without dropping new tablespace and taking new backup?
1. I took database backup as
RMAN > backup database;
2. Create one tablespace "test"
3. Then I tried to restore database as (In mount mode)
RMAN > restore database
4. But I can't restore database. Even I tried after taking "test" tablespace offline , It returns error as follow
ORA-01119: error in creating database file 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\TESTCAT\TEST.DBF'
ORA-27038: created file already exists
OSD-04010: <create> option specified, file already exists
Please suggest me step/way so that I can restore database without taking new backup or dropping new tablespace (test).........Hello;
Rename this datafile :
D:\ORACLE\PRODUCT\10.2.0\ORADATA\TESTCAT\TEST.DBF
Then try the restore again.
If this isn't a test database stop and think about how you will recover if this does not work. That is how will you recover from the recover if it goes bad?
Best Regards
mseberg -
Clone the Database from Unix to Windows using RMAN in Oracle 9i ?
Hi.,
we are having Productino Database in ORACLE 9i at unix . currently Our Application user need the Test Environment in Windows server.We have active RMAN Backup in Production .
If its possible can i restore the unix RMAN backup to Windows.Please Clarify my doubt ?
Thanks & Regrads
KarthickIn 10g you have cross platform transportable tablespace .... but in 9i only option would be exp/imp
-
hi any body help me,
How to clone using rman in Oracle 10g R2 RAC environment.step by step documentation for cloning RAC database.
refer:
RAC Database cloning with HOT Backup
http://www.dba-oracle.com/t_rac_cloning_hot_backup.htm.
hope, this helps you. -
Physical Standby Database Creation with RMAN
Hi,
I'm in 10g on Linux. I want to create a standby database on another Linux server. I did not find a clear procedure to create it in Oracle® Database Backup and Recovery Advanced User's Guide 10g Release 2 (10.2) Part Number B14191-02
and niether in Oracle® Data Guard Concepts and Administration 10g Release 2 (10.2) B14239-04
In the last one chapter 3 sends you to F appendix and F appendix says do nothing before having than all in chapter 3 :
In F.1.1 page F-2 it is said :
See Chapter 3 for a complete discussion of physical standby database preparation,including initialization parameter settings. You must perform all necessary preparation tasks described in these chapters before RMAN can successfully create the standby database files and mount the standby database.
Any way I'm looking for a procedure or clear article to create it.
Many thanks before.Physical Standby Database Creation with RMAN
Use the DUPLICATE command.
Check out this metalink doc: Note:374069.1 and Note:118409.1
Message was edited by:
STW
Message was edited by:
STW -
Cloning a database using rman where source's dbid changed..
Any idea on how to .. cloning a database using rman where source's dbid changed..
if you need to change dbid of target then use DUPLICATE command, see the below links.
http://download.oracle.com/docs/cd/B19306_01/backup.102/b14191/rcmdupdb.htm#i1008888
http://www.oracle-base.com/articles/9i/DuplicateDatabaseUsingRMAN9i.php -
Error while cloning database using RMAN
hi there,
Here is our setup:
OS: Solaris 5.9
Database:9.2.0.3
While cloning test database from our production database using RMAN, we happen to get the following error..
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 12/11/2007 15:28:59
RMAN-03015: error occurred in stored script Memory Script
RMAN-06026: some targets not found - aborting restore
RMAN-06100: no channel to restore a backup or copy of datafile 450
RMAN-06100: no channel to restore a backup or copy of datafile 449
give us a solution to rectify this problem.
Thanks,
Balu.Can you please post the RMAN restore script ?
where are the backups located -
How to backup Oracle Database Single Instance using RMAN
Folks,
Hello. I am using Oracle Database Server 11gR1 with Operating System Oracle Linux 5.10.
I understand how to backup database instance in SQL Server with Windows. But don't really understand how to backup database instance in Oracle with Linux.
I have done Cold backup and Hot backup for the database instance HRCS90 but both get the same error message.
Cold backup is below:
SQL> startup
ORACLE instance started.
Total System Global Area 538677248 bytes
Fixed Size 2146024 bytes
Variable Size 528482584 bytes
Database Buffers 4194304 bytes
Redo Buffers 3854336 bytes
Database mounted.
Database opened.
SQL> shutdown immediate
Database closed.
Database dismounted.
ORACLE instance shut down.
RMAN> backup database;
Starting backup at 25-NOV-13
using target database control file instead of recovery catalog
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of backup command at 11/25/2013 14:26:52
RMAN-06171: not connected to target database
RMAN> backup HRCS90
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00558: error encountered while parsing input commands
RMAN-01009: syntax error: found "identifier": expecting one of: "archivelog, auxiliary, as, backup, backupset, blocks, channel, check, copy, copies, controlfilecopy, cumulative, current, database, datafile, datafilecopy, device, diskratio, db_recovery_file_dest, db_file_name_convert, duration, filesperset, for, format, from, full, force, file, incremental, keep, (, maxsetsize, nochecksum, noexclude, nokeep, not, proxy, pool, reuse, recovery, section, skip, spfile, skip readonly, setsize, tablespace, tag, to, validate"
RMAN-01008: the bad identifier was: HRCS90
RMAN-01007: at line 1 column 8 file: standard input
RMAN> backup database HRCS90
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00558: error encountered while parsing input commands
RMAN-01009: syntax error: found "identifier": expecting one of: "archivelog, auxiliary, backup, backupset, channel, copy, controlfilecopy, current, database, datafile, datafilecopy, delete, diskratio, db_recovery_file_dest, filesperset, format, from, force, file, include, keep, (, maxsetsize, noexclude, nokeep, not, pool, plus, reuse, recovery, section, ;, skip, spfile, skip readonly, setsize, tablespace, tag, to"
RMAN-01008: the bad identifier was: HRCS90
RMAN-01007: at line 1 column 17 file: standard input
While the database instance HRCS90 is startup, I do hot backup using the same commands and get the same error message with above cold backup.
My question is:
Can any folk tell me the specific steps (command by command) to backup a single database instance in Oracle using RMAN ?
Thanks.Folks,
Hello. Thanks a lot for replying. My database instance named HRCS90 is going to be backed up. My backup directory is /backup_Database_Instance_HRCS90.
If database in open state, we must back up in archive log. If database in mount state but not open, we can back up in noarchive log.
I have tried to back up HRCS90 in archive and noarchive log when database in mount state but not open as below:
SQL>startup mount;
SQL>exit
[user@linux bin]$./rman
RMAN>connect target;
RMAN> CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '/backup_Database_Instance_HRCS90/full_%u_%s_%p';
new RMAN configuration parameters:
CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '/backup_Database_Instance_HRCS90/full_%u_%s_%p';
new RMAN configuration parameters are successfully stored
released channel: ORA_DISK_1
RMAN> CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 360 DAYS;
new RMAN configuration parameters:
CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 360 DAYS;
new RMAN configuration parameters are successfully stored
RMAN> backup as backupset database plus archivelog;
Starting backup at 01-DEC-13
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=44 device type=DISK
specification does not match any archived log in the recovery catalog
backup cancelled because all files were skipped
Finished backup at 01-DEC-13
Starting backup at 01-DEC-13
using channel ORA_DISK_1
channel ORA_DISK_1: starting full datafile backup set
channel ORA_DISK_1: specifying datafile(s) in backup set
input datafile file number=00001 name=/u01/oradata/HRCS90/system01.dbf
input datafile file number=00090 name=/u01/oradata/HRCS90/psimage.dbf
input datafile file number=00060 name=/u01/oradata/HRCS90/gpapp.dbf
input datafile file number=00119 name=/u01/oradata/HRCS90/tlwork.dbf
input datafile file number=00102 name=/u01/oradata/HRCS90/pttlrg.dbf
input datafile file number=00054 name=/u01/oradata/HRCS90/faapp.dbf
input datafile file number=00110 name=/u01/oradata/HRCS90/saapp.dbf
input datafile file number=00101 name=/u01/oradata/HRCS90/pttbl.dbf
input datafile file number=00002 name=/u01/oradata/HRCS90/sysaux01.dbf
input datafile file number=00106 name=/u01/oradata/HRCS90/py0lrg.dbf
input datafile file number=00004 name=/u01/oradata/HRCS90/psdefault.dbf
input datafile file number=00117 name=/u01/oradata/HRCS90/tlapp.dbf
input datafile file number=00007 name=/u01/oradata/HRCS90/adapp.dbf
input datafile file number=00082 name=/u01/oradata/HRCS90/paapp.dbf
input datafile file number=00074 name=/u01/oradata/HRCS90/hrsapp.dbf
input datafile file number=00092 name=/u01/oradata/HRCS90/ptamsg.dbf
input datafile file number=00056 name=/u01/oradata/HRCS90/fgapp.dbf
input datafile file number=00114 name=/u01/oradata/HRCS90/stapp.dbf
input datafile file number=00005 name=/u01/oradata/HRCS90/aaapp.dbf
input datafile file number=00118 name=/u01/oradata/HRCS90/tllarge.dbf
input datafile file number=00009 name=/u01/oradata/HRCS90/avapp.dbf
input datafile file number=00065 name=/u01/oradata/HRCS90/hrapp2.dbf
input datafile file number=00078 name=/u01/oradata/HRCS90/hrwork.dbf
input datafile file number=00116 name=/u01/oradata/HRCS90/stwork.dbf
input datafile file number=00077 name=/u01/oradata/HRCS90/hrswork.dbf
input datafile file number=00115 name=/u01/oradata/HRCS90/stlarge.dbf
input datafile file number=00049 name=/u01/oradata/HRCS90/epapp.dbf
input datafile file number=00098 name=/u01/oradata/HRCS90/ptprc.dbf
input datafile file number=00037 name=/u01/oradata/HRCS90/eoewapp.dbf
input datafile file number=00032 name=/u01/oradata/HRCS90/eoecapp.dbf
input datafile file number=00086 name=/u01/oradata/HRCS90/piapp.dbf
input datafile file number=00099 name=/u01/oradata/HRCS90/ptprjwk.dbf
input datafile file number=00019 name=/u01/oradata/HRCS90/cularge.dbf
input datafile file number=00035 name=/u01/oradata/HRCS90/eoeiapp.dbf
input datafile file number=00045 name=/u01/oradata/HRCS90/eoppapp.dbf
input datafile file number=00076 name=/u01/oradata/HRCS90/hrslarge.dbf
input datafile file number=00044 name=/u01/oradata/HRCS90/eoltapp.dbf
input datafile file number=00094 name=/u01/oradata/HRCS90/ptappe.dbf
input datafile file number=00050 name=/u01/oradata/HRCS90/eplarge.dbf
input datafile file number=00084 name=/u01/oradata/HRCS90/pcapp.dbf
input datafile file number=00111 name=/u01/oradata/HRCS90/sacapp.dbf
input datafile file number=00100 name=/u01/oradata/HRCS90/ptrpts.dbf
input datafile file number=00023 name=/u01/oradata/HRCS90/eobfapp.dbf
input datafile file number=00096 name=/u01/oradata/HRCS90/ptcmstar.dbf
input datafile file number=00108 name=/u01/oradata/HRCS90/pylarge.dbf
input datafile file number=00016 name=/u01/oradata/HRCS90/cularg1.dbf
input datafile file number=00018 name=/u01/oradata/HRCS90/cularg3.dbf
input datafile file number=00025 name=/u01/oradata/HRCS90/eocmapp.dbf
input datafile file number=00027 name=/u01/oradata/HRCS90/eocmwrk.dbf
input datafile file number=00029 name=/u01/oradata/HRCS90/eoculrg.dbf
input datafile file number=00033 name=/u01/oradata/HRCS90/eoeclrg.dbf
input datafile file number=00036 name=/u01/oradata/HRCS90/eoeilrg.dbf
input datafile file number=00039 name=/u01/oradata/HRCS90/eoewwrk.dbf
input datafile file number=00041 name=/u01/oradata/HRCS90/eoiulrg.dbf
input datafile file number=00046 name=/u01/oradata/HRCS90/eopplrg.dbf
input datafile file number=00048 name=/u01/oradata/HRCS90/eotplrg.dbf
input datafile file number=00053 name=/u01/oradata/HRCS90/erwork.dbf
input datafile file number=00061 name=/u01/oradata/HRCS90/gpdeapp.dbf
input datafile file number=00072 name=/u01/oradata/HRCS90/hrlarg1.dbf
input datafile file number=00079 name=/u01/oradata/HRCS90/htapp.dbf
input datafile file number=00087 name=/u01/oradata/HRCS90/pilarge.dbf
input datafile file number=00120 name=/u01/oradata/HRCS90/waapp.dbf
channel ORA_DISK_1: starting piece 1 at 01-DEC-13
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of backup plus archivelog command at 12/01/2013 17:52:45
ORA-19504: failed to create file "/backup_Database_Instance_HRCS90/full_0boqei2c_11_1"
ORA-27040: file create error, unable to create file
Linux-x86_64 Error: 13: Permission denied
RMAN>
RMAN>
RMAN>
RMAN>
RMAN> backup as backupset database;
Starting backup at 01-DEC-13
using channel ORA_DISK_1
channel ORA_DISK_1: starting full datafile backup set
channel ORA_DISK_1: specifying datafile(s) in backup set
input datafile file number=00001 name=/u01/oradata/HRCS90/system01.dbf
input datafile file number=00090 name=/u01/oradata/HRCS90/psimage.dbf
input datafile file number=00060 name=/u01/oradata/HRCS90/gpapp.dbf
input datafile file number=00119 name=/u01/oradata/HRCS90/tlwork.dbf
input datafile file number=00102 name=/u01/oradata/HRCS90/pttlrg.dbf
input datafile file number=00054 name=/u01/oradata/HRCS90/faapp.dbf
input datafile file number=00110 name=/u01/oradata/HRCS90/saapp.dbf
input datafile file number=00101 name=/u01/oradata/HRCS90/pttbl.dbf
input datafile file number=00002 name=/u01/oradata/HRCS90/sysaux01.dbf
input datafile file number=00106 name=/u01/oradata/HRCS90/py0lrg.dbf
input datafile file number=00004 name=/u01/oradata/HRCS90/psdefault.dbf
input datafile file number=00117 name=/u01/oradata/HRCS90/tlapp.dbf
input datafile file number=00007 name=/u01/oradata/HRCS90/adapp.dbf
input datafile file number=00082 name=/u01/oradata/HRCS90/paapp.dbf
input datafile file number=00074 name=/u01/oradata/HRCS90/hrsapp.dbf
input datafile file number=00092 name=/u01/oradata/HRCS90/ptamsg.dbf
input datafile file number=00056 name=/u01/oradata/HRCS90/fgapp.dbf
input datafile file number=00114 name=/u01/oradata/HRCS90/stapp.dbf
input datafile file number=00005 name=/u01/oradata/HRCS90/aaapp.dbf
input datafile file number=00118 name=/u01/oradata/HRCS90/tllarge.dbf
input datafile file number=00009 name=/u01/oradata/HRCS90/avapp.dbf
input datafile file number=00065 name=/u01/oradata/HRCS90/hrapp2.dbf
input datafile file number=00078 name=/u01/oradata/HRCS90/hrwork.dbf
input datafile file number=00116 name=/u01/oradata/HRCS90/stwork.dbf
input datafile file number=00077 name=/u01/oradata/HRCS90/hrswork.dbf
input datafile file number=00115 name=/u01/oradata/HRCS90/stlarge.dbf
input datafile file number=00049 name=/u01/oradata/HRCS90/epapp.dbf
input datafile file number=00098 name=/u01/oradata/HRCS90/ptprc.dbf
input datafile file number=00037 name=/u01/oradata/HRCS90/eoewapp.dbf
input datafile file number=00032 name=/u01/oradata/HRCS90/eoecapp.dbf
input datafile file number=00086 name=/u01/oradata/HRCS90/piapp.dbf
input datafile file number=00099 name=/u01/oradata/HRCS90/ptprjwk.dbf
input datafile file number=00019 name=/u01/oradata/HRCS90/cularge.dbf
input datafile file number=00035 name=/u01/oradata/HRCS90/eoeiapp.dbf
input datafile file number=00045 name=/u01/oradata/HRCS90/eoppapp.dbf
input datafile file number=00076 name=/u01/oradata/HRCS90/hrslarge.dbf
input datafile file number=00044 name=/u01/oradata/HRCS90/eoltapp.dbf
input datafile file number=00094 name=/u01/oradata/HRCS90/ptappe.dbf
input datafile file number=00050 name=/u01/oradata/HRCS90/eplarge.dbf
input datafile file number=00084 name=/u01/oradata/HRCS90/pcapp.dbf
input datafile file number=00111 name=/u01/oradata/HRCS90/sacapp.dbf
input datafile file number=00100 name=/u01/oradata/HRCS90/ptrpts.dbf
input datafile file number=00023 name=/u01/oradata/HRCS90/eobfapp.dbf
input datafile file number=00096 name=/u01/oradata/HRCS90/ptcmstar.dbf
input datafile file number=00108 name=/u01/oradata/HRCS90/pylarge.dbf
input datafile file number=00016 name=/u01/oradata/HRCS90/cularg1.dbf
input datafile file number=00018 name=/u01/oradata/HRCS90/cularg3.dbf
input datafile file number=00025 name=/u01/oradata/HRCS90/eocmapp.dbf
input datafile file number=00027 name=/u01/oradata/HRCS90/eocmwrk.dbf
input datafile file number=00029 name=/u01/oradata/HRCS90/eoculrg.dbf
input datafile file number=00033 name=/u01/oradata/HRCS90/eoeclrg.dbf
input datafile file number=00036 name=/u01/oradata/HRCS90/eoeilrg.dbf
input datafile file number=00039 name=/u01/oradata/HRCS90/eoewwrk.dbf
input datafile file number=00041 name=/u01/oradata/HRCS90/eoiulrg.dbf
input datafile file number=00046 name=/u01/oradata/HRCS90/eopplrg.dbf
input datafile file number=00048 name=/u01/oradata/HRCS90/eotplrg.dbf
input datafile file number=00053 name=/u01/oradata/HRCS90/erwork.dbf
input datafile file number=00061 name=/u01/oradata/HRCS90/gpdeapp.dbf
input datafile file number=00072 name=/u01/oradata/HRCS90/hrlarg1.dbf
input datafile file number=00079 name=/u01/oradata/HRCS90/htapp.dbf
input datafile file number=00087 name=/u01/oradata/HRCS90/pilarge.dbf
input datafile file number=00120 name=/u01/oradata/HRCS90/waapp.dbf
channel ORA_DISK_1: starting piece 1 at 01-DEC-13
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of backup command on ORA_DISK_1 channel at 12/01/2013 17:56:51
ORA-19504: failed to create file "/backup_Database_Instance_HRCS90/full_0coqeia5_12_1"
ORA-27040: file create error, unable to create file
Linux-x86_64 Error: 13: Permission denied
As we see the above last 2 commands, either archive or noarchive, I get the same error:
Archive: ORA-19504: "failed to create file /backup_Database_Instance_HRCS90/full_0boqei2c_11_1"
Noarchive: ORA-19504: "failed to create file /backup_Database_Instance_HRCS90/full_0coqeia5_12_1"
My question is:
What is the file "full_0boqei2c_11_1" or "full_0coqeia5_12_1" ? How to solve the above error ?
Thanks. -
Duplicate Oracle Database 8.1.7.0 using RMAN
An old database needs to be duplicated... :(
We have an old database named TAPES running on Windows 2003 (32bit) and Oracle 8.1.7.0
The team wants to duplicate / clone this database to another location. We have setup another server, with Windows 2003 and installed Oracle Software 8.1.7.0 with
starter database. The two machines A and B has no network connection (they are on different sites). Also the structure of the machines are different (the location of the database files are different)
How can I duplicate this using RMAN. We cannot afford any downtime on TAPES prod. The idea is:
-backup TAPES prod using RMAN (hot backup)
-copy and tranport the backup files to the remote machine B
-restore (and recover) the RMAN backup to Machine B
-the duplicate database has the same name
In oracle 9i, 10g and 11g, this is easy...and i must admit...i dont know how to do it in Oracle 8.1.7.0...
I need help... :(
thanks a lot!thanks...i saw one article with this approach..but the document did not present the detailed process...do you have one? i am still searching for a good procedure to follow...since it is an old database and focusing/studying old versions like this is a pain in the a**... :(
-
Restore Database with Oracle 9i with a New Host using RMAN
Gurus,
I am trying to restore a database from some RMAN created files on a new host with a new directory structure for some testing. I do not have access to the source database.
The database is Oracle 9i.
The files that have been created are the following:
'C-2995630462-20110214-00' is the control file and SP file backup.
'B_ABM4KAJ5_1_1' is the database backup.
B_ACM4KARS_1_1 and B_AAM4KAIV_1_1 are archived redo logs
Here is the RMAN listing from when the files were created:
BS Key Size Device Type Elapsed Time Completion Time
329 56M DISK 00:00:02 14/FEB/11
BP Key: 329 Status: AVAILABLE Tag: TAG20110214T050015
Piece Name: D:\BACKUPS\CRYSTAL\B_AAM4KAIV_1_1
List of Archived Logs in backup set 329
Thrd Seq Low SCN Low Time Next SCN Next Time
1 184 4602414767 13/FEB/11 4602533494 14/FEB/11
BS Key Type LV Size Device Type Elapsed Time Completion Time
330 Full 13G DISK 00:04:33 14/FEB/11
BP Key: 330 Status: AVAILABLE Tag: TAG20110214T050021
Piece Name: D:\BACKUPS\CRYSTAL\B_ABM4KAJ5_1_1
List of Datafiles in backup set 330
File LV Type Ckp SCN Ckp Time Name
1 Full 4602533509 14/FEB/11 D:\ORACLE\ORADATA\CRYSTAL\SYSTEM01.DBF
2 Full 4602533509 14/FEB/11 D:\ORACLE\ORADATA\CRYSTAL\UNDOTBS01.DBF
3 Full 4602533509 14/FEB/11 D:\ORACLE\ORADATA\CRYSTAL\USERS01.DBF
BS Key Size Device Type Elapsed Time Completion Time
331 37K DISK 00:00:01 14/FEB/11
BP Key: 331 Status: AVAILABLE Tag: TAG20110214T050500
Piece Name: D:\BACKUPS\CRYSTAL\B_ACM4KARS_1_1
List of Archived Logs in backup set 331
Thrd Seq Low SCN Low Time Next SCN Next Time
1 185 4602533494 14/FEB/11 4602533686 14/FEB/11
BS Key Type LV Size Device Type Elapsed Time Completion Time
332 Full 3M DISK 00:00:01 14/FEB/11
BP Key: 332 Status: AVAILABLE Tag:
Piece Name: D:\BACKUPS\CRYSTAL\C-2995630462-20110214-00
SPFILE Included: Modification time: 23/NOV/10
I am new to using RMAN and I'm hoping someone could point me in a direction of some documentation to assist with the scenario described above. I've looked at several Oracle documents but have been unable to find a way to separate out the spfile from the control file.
Any help you can provide would be greatly appreciated.
Thanks.Thanks Meeran.
I have attempted to follow the directions from the RMAN document that you posted and have run into the following error:
C:\>rman target / nocatalog
Recovery Manager: Release 9.2.0.6.0 - Production
Copyright (c) 1995, 2002, Oracle Corporation. All rights reserved.
connected to target database: DUMMY (not mounted)
using target database controlfile instead of recovery catalog
RMAN> startup force nomount
startup failed: ORA-01078: failure in processing system parameters
LRM-00109: could not open parameter file 'C:\ORACLE\ORA92\DATABASE\INITCRYSTAL.O
RA'
trying to start the Oracle instance without parameter files ...
Oracle instance started
Total System Global Area 97591104 bytes
Fixed Size 454464 bytes
Variable Size 46137344 bytes
Database Buffers 50331648 bytes
Redo Buffers 667648 bytes
RMAN> RESTORE SPFILE TO 'C:\oracle\admin\crystal\pfile\init.ora' from 'C:\oracle
\ora92\CRYSTALbk\C-2995630462-20110214-00';
Starting restore at 30-MAR-11
using channel ORA_DISK_1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 03/30/2011 11:30:07
ORA-00600: internal error code, arguments: [1866], [0x41AA450], [6144], [0x41BAD
B4], [], [], [], []
RMAN>
Am I not correctly connected to the target?
It looks like it correctly tried to create a dummy spfile, but when attempting the restore from the file it breaks.
Any suggestions? Thanks. -
Migrate Oracle 11g database from Windows To Linux using RMAN hot / cold backup ?
Hi Friends,
Is it possible to Migrate Oracle 11g database from Windows To Linux using RMAN hot / cold backup ? ( as i would like to perform Point In Time recovery)
(or) The only way is to use RMAN convert as mentioned here - Transporting Data Across Platforms
(or) Is there any other method (except exp/imp and data pump)
Regards,
DBHI
his post describes the procedure required to migrate a database from Windows to Linux using the RMAN Convert Database command.
Both Windows and Linux platforms have the same endian format, which makes possible to transfer the whole database, making the migration process very straightforward and simple.
To migrate between platforms that have a different endian format, Cross Platform Transportable Tablespaces (XTTS) needs to be used instead.
List of Steps Needed to Complete the Migration
The migration process is simple, but as it has several steps it is convenient to be familiar with them before running it.
1. Check platform compatibility between source and target OS
2. Start the database in read only mode
3. Check database readiness for transport from Windows to Linux using DBMS_TDB.CHECK_DB
4. Check if there are any external objects
5. Execute the Rman Convert database command
6. Copy converted datafiles, generated Transport Script and Parameter File to Linux
7. Edit the init.ora for the new database
8. Edit the Transport Script and Parameter File changing the windows paths to Linux Paths
9. Execute the Transport Script
10.Change the Database ID
11.Check database integrity
Thank you -
Hi,
I am doing Apps 11i cloning with rapidclone.
I have cloned the database using RMAN.
As per the metalink note 230672.1 I have to run following script on DB node.
perl adcfgclone.pl dbconfig <target context file>
However I dont have the context file for the new instance.
Should I copy the context file (for DB) from source instance , rename it and use it?
If I run the adcfgclone.pl using the source instance context file (present in the target db node), it throws
error for database connection.
Platform - Oracle Ebusiness Suite 11.5.10 on Oracle enterprise Linux 4 and Oracle 9i database.
Pls advice.
Thanks,
raneHowever I dont have the context file for the new instance.Did you run "perl adcfgclone.pl dbTechStack" before issuing "perl adcfgclone.pl dbconfig <target context file>"? This should create the context file for you.
Should I copy the context file (for DB) from source instance , rename it and use it?No.
If I run the adcfgclone.pl using the source instance context file (present in the target db node), it throws
error for database connection.This is an expected behavior since the context file of the source node cannot be used on the target node. -
Backup procedure using RMAN for 11i Instance
Hi,
we have 11.5.10.2 instance
Node 1 = Application Tier ( 11.5.10.2)
Node 2 = DB Tier ( 9.2.0.7)
as of now, we are taking daily cold backup of both instances.
we want to implement RMAN online backup for DB and take cold backup every week end only.
so, what are the best procedures for implementing RMAN for 11i Database.
Please share your experience, if you have anybody implemented?
which one you prefer in RMAN backup ( backupsets or copy option or backupsets with compressed option) interms of performance.. our db size is 60 GB only.
we apply apps tier patches very rarely . so we want to take RMAN online backup for DB daily and take cold backup for entire apps and db in the week ends.Hi,
This time, i am going to implement for Oracle 11i Database. thats why, i need you guys advice regarding 11i Database.Well, the same is applicable to 11i/R12 databases. You just need to configure RMAN the same way you configure it on any standalone database.
If you have implemented any where RMAN, can you share, how you are taking RMAN backup? I can share the scripts we use for backup using RMAN. If you are interested, let me know and I shall send it by email.
if we want to clone, are you cloning the TEST instance with RMAN backup or using cold backup.We use both, depends on the time frame of the cloning task and whether it is possible to use cold backup for cloning or not.
Please have a look at the following notes, it should be helpful.
Note: 230672.1 - Cloning Oracle Applications Release 11i with Rapid Clone
https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=230672.1
Note: 760772.1 - Cloning Oracle Application 11i /R12 with Rapid Clone - Database (9i/10g/11g) Using Hot Backup on Open Database
https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=760772.1
Note: 362473.1 - Cloning E-Business Suite Using Hot Backup for Minimal Downtime of Source Environment
https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=362473.1
Regards,
Hussein -
Ebs r12 cloning using rman online backup
dear all,
how are you guys? i have ebs r12 on multi node and i want to clone db tier and apps tier using rman online backup,can anybody provide me the detail steps of cloning ebs(db tier and appstier ) using rman online backup and directory structure on source and target database is also different.your help highly appreciated thanks in advance.
regards.Hi,
You cannot use RMAN to clone the Apps tier of the EBS and you may use RMAN only on the DB tier. For a complete backup, as mentioned by Hemant K Chitale, you will have to use the rapid clone utility.
To perform a rapid clone using RMAN there are plenty of step by step instructions in google which may guide in addition to support.oracle.com, Let me google that for you
Thanks &
Best Regards,
Maybe you are looking for
-
Siri is not working on the "New iPad" (iPad 3)
Why is that happens? I updated my iPad 3 (The new ipad) software to iOS 6, and now when I'm trying to hold the home button, nothing happens.. Any idea what causes the issue?
-
Payroll not possible because data is missing: WPBP: 01 SV: 00 ST: 00
Hi, I have created a new org structure with a set of employee. I have maintained all the needed infotypes ( 0000,0001,0003,0007,0008..) When i try to run payroll for those emp's, im getting the error message: <u>Payroll not possible because data is m
-
Hi, How to create Context menu on Tree (Nodes and Subnodes) in Web Dynpro for ABAP. Helpful answers will be rewarded. Regards, Jitesh.
-
Sender JDBC java.SQLException
I am getting this error when i execute stored procedure, please let me know how can i proceed further. Database-level error reported by JDBC driver while executing statement 'EXEC spGetSAPPayroll'. The JDBC driver returned the following error message
-
On previously created projects, the audio waveforms are not displaying in the timeline or viewer. I recently migrated from a G5 to a Mac Pro, then I reinstalled FCP studio but the problem persists. However certain projects and certain media seem fine