Archive Logs question... NEED HELP [message #221829] |
Wed, 28 February 2007 10:29 |
jarroyo
Messages: 5 Registered: February 2007
|
Junior Member |
|
|
Hi everybody:
I have a PRODUCTION database, release 10.1.0.2 in archive mode. I installed a similar database (same SID, datafiles, redo logs) on another machine, but this one is on 10.2.0.2. Up to this point is NOT in archive log mode.
I want to know the possibilities or options I have to copy PERIODICALLY all data from 10.1.0.2 to 10.2.0.2 for testing purposes. The question is: Is it possible to copy archive logs from 10.1.0.2 and apply them to 10.2.0.2?
Any help is very appreciated. Thanks,
Julio
|
|
|
|
|
Re: Archive Logs question... NEED HELP [message #221834 is a reply to message #221830] |
Wed, 28 February 2007 10:50 |
jarroyo
Messages: 5 Registered: February 2007
|
Junior Member |
|
|
Mahesh:
Thanks for your reply. I am new to RMAN. So what you are saying is that I can restore data to Oracle 10.2 using RMAN backups from 10.1? Where should I look in order to accomplish this? It is just to copy the Rman backups from 10.1 that I have on disk and use RMAN from 10.2 to restore them? Please explain or give me some pointers on this topic.
Thanks,
Julio
|
|
|
|
|
|
|
Re: Archive Logs question... NEED HELP [message #222009 is a reply to message #221871] |
Thu, 01 March 2007 07:55 |
jarroyo
Messages: 5 Registered: February 2007
|
Junior Member |
|
|
Mahesh:
I proceed to do a test case as you suggested. Here's what has happened. I followed all the steps to perform RMAN DUPLICATE. My production database name is PROD (10gR1). My duplicate database name is STND(10gR2).
I ran a RMAN backup to DISK for PROD a few days ago. PROD is in archive log mode. I managed to copy the RMAN backup to the same directory structure and copied the archive logs as well.
I ran the rman duplicate command from STND server (10gR2) and got this error:
rman target sys/oracle@PROD nocatalog auxiliary sys/oracle@STND
Recovery Manager: Release 10.2.0.2.0 - Production on Wed Feb 28 16:11:44 2007
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Recovery Manager incompatible with TARGET database: RMAN 8.0.4.0 to 10.1.0.0 required
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00554: initialization of internal recovery manager package failed
RMAN-06429: TARGET database is not compatible with this version of RMAN
I ran the same command on the PROD server (10gR1) and it started. However, after restoring the datafiles and applying archive redo logs, it gave me an ORA-00279. To be honest, I didn't knew what to do at the moment, so I started sqlplus and issued the following commands:
alter database recover cancel;
alter database open resetlogs;
Then it gave me:
*
ERROR at line 1:
ORA-01113: file 1 needs media recovery
ORA-01110: data file 1: '/u02/oradata/PROD/system01.dbf'
Please advise me what to do next. Maybe some pointers? Thanks,
Julio
|
|
|
|
|