Rman restore spfile and  controlfile issue

I have a backup of a db-test on another server....
The backup contains autobackup.tar, backupset.tar, controlfile.txt,
dba_rman_local_ueadbs2_TEST_2007_01_03.log, initTEST.txt, listener.ora,
o1_mf_s_610888673_2sq471ln_.bkp,orapwTEST, snapcf_TEST.f,tnsnames.ora
Using rman, I would like to create a new db-test on the server where i
have the backups....
I ve created the neccessary paths required for the on the new sever...
The problem is with the autobackup which cannot be located in the backup...
Checkout the rman prompt:
RMAN> set DBID = 1858659026
executing command: SET DBID
RMAN> startup nomount;
startup failed: ORA-01078: failure in processing system parameters
LRM-00109: could not open parameter file
'/u01/app/oracle/product/10.1.0/db_1/dbs/initTEST.ora'
trying to start the Oracle instance without parameter files ...
Oracle instance started
Total System Global Area 88080384 bytes
Fixed Size 1300928 bytes
Variable Size 68953664 bytes
Database Buffers 16777216 bytes
Redo Buffers 1048576 bytes
RMAN> run {
2> set controlfile autobackup format for device type disk to
'/hostbackups/oracle/TEST/%F';
3> restore spfile from autobackup maxseq 200 maxdays 100;
4> restore controlfile from autobackup maxseq 200 maxdays 100;
5> startup force mount
6> }
executing command: SET CONTROLFILE AUTOBACKUP FORMAT
using target database controlfile instead of recovery catalog
Starting restore at 05-JAN-07
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=29 devtype=DISK
channel ORA_DISK_1: looking for autobackup on day: 20070105
channel ORA_DISK_1: looking for autobackup on day: 20070104
channel ORA_DISK_1: looking for autobackup on day: 20070103
channel ORA_DISK_1: looking for autobackup on day: 20070102
channel ORA_DISK_1: looking for autobackup on day: 20070101
channel ORA_DISK_1: looking for autobackup on day: 20061231
channel ORA_DISK_1: looking for autobackup on day: 20061230
channel ORA_DISK_1: looking for autobackup on day: 20061229
channel ORA_DISK_1: looking for autobackup on day: 20061228
channel ORA_DISK_1: looking for autobackup on day: 20061227
channel ORA_DISK_1: looking for autobackup on day: 20061226
channel ORA_DISK_1: looking for autobackup on day: 20061225
channel ORA_DISK_1: looking for autobackup on day: 20061224
channel ORA_DISK_1: looking for autobackup on day: 20061223
channel ORA_DISK_1: looking for autobackup on day: 20061222
channel ORA_DISK_1: looking for autobackup on day: 20061221
channel ORA_DISK_1: looking for autobackup on day: 20061220
channel ORA_DISK_1: looking for autobackup on day: 20061219
channel ORA_DISK_1: looking for autobackup on day: 20061218
channel ORA_DISK_1: looking for autobackup on day: 20061217
channel ORA_DISK_1: looking for autobackup on day: 20061216
channel ORA_DISK_1: looking for autobackup on day: 20061215
channel ORA_DISK_1: looking for autobackup on day: 20061214
channel ORA_DISK_1: looking for autobackup on day: 20061213
channel ORA_DISK_1: looking for autobackup on day: 20061212
channel ORA_DISK_1: looking for autobackup on day: 20061211
channel ORA_DISK_1: looking for autobackup on day: 20061210
channel ORA_DISK_1: looking for autobackup on day: 20061209
channel ORA_DISK_1: looking for autobackup on day: 20061208
channel ORA_DISK_1: looking for autobackup on day: 20061207
channel ORA_DISK_1: looking for autobackup on day: 20061206
channel ORA_DISK_1: looking for autobackup on day: 20061205
channel ORA_DISK_1: looking for autobackup on day: 20061204
channel ORA_DISK_1: looking for autobackup on day: 20061203
channel ORA_DISK_1: looking for autobackup on day: 20061202
channel ORA_DISK_1: looking for autobackup on day: 20061201
channel ORA_DISK_1: looking for autobackup on day: 20061130
channel ORA_DISK_1: looking for autobackup on day: 20061129
channel ORA_DISK_1: looking for autobackup on day: 20061128
channel ORA_DISK_1: looking for autobackup on day: 20061127
channel ORA_DISK_1: looking for autobackup on day: 20061126
channel ORA_DISK_1: looking for autobackup on day: 20061125
channel ORA_DISK_1: looking for autobackup on day: 20061124
channel ORA_DISK_1: looking for autobackup on day: 20061123
channel ORA_DISK_1: looking for autobackup on day: 20061122
channel ORA_DISK_1: looking for autobackup on day: 20061121
channel ORA_DISK_1: looking for autobackup on day: 20061120
channel ORA_DISK_1: looking for autobackup on day: 20061119
channel ORA_DISK_1: looking for autobackup on day: 20061118
channel ORA_DISK_1: looking for autobackup on day: 20061117
channel ORA_DISK_1: looking for autobackup on day: 20061116
channel ORA_DISK_1: looking for autobackup on day: 20061115
channel ORA_DISK_1: looking for autobackup on day: 20061114
channel ORA_DISK_1: looking for autobackup on day: 20061113
channel ORA_DISK_1: looking for autobackup on day: 20061112
channel ORA_DISK_1: looking for autobackup on day: 20061111
channel ORA_DISK_1: looking for autobackup on day: 20061110
channel ORA_DISK_1: looking for autobackup on day: 20061109
channel ORA_DISK_1: looking for autobackup on day: 20061108
channel ORA_DISK_1: looking for autobackup on day: 20061107
channel ORA_DISK_1: looking for autobackup on day: 20061106
channel ORA_DISK_1: looking for autobackup on day: 20061105
channel ORA_DISK_1: looking for autobackup on day: 20061104
channel ORA_DISK_1: looking for autobackup on day: 20061103
channel ORA_DISK_1: looking for autobackup on day: 20061102
channel ORA_DISK_1: looking for autobackup on day: 20061101
channel ORA_DISK_1: looking for autobackup on day: 20061031
channel ORA_DISK_1: looking for autobackup on day: 20061030
channel ORA_DISK_1: looking for autobackup on day: 20061029
channel ORA_DISK_1: looking for autobackup on day: 20061028
channel ORA_DISK_1: looking for autobackup on day: 20061027
channel ORA_DISK_1: looking for autobackup on day: 20061026
channel ORA_DISK_1: looking for autobackup on day: 20061025
channel ORA_DISK_1: looking for autobackup on day: 20061024
channel ORA_DISK_1: looking for autobackup on day: 20061023
channel ORA_DISK_1: looking for autobackup on day: 20061022
channel ORA_DISK_1: looking for autobackup on day: 20061021
channel ORA_DISK_1: looking for autobackup on day: 20061020
channel ORA_DISK_1: looking for autobackup on day: 20061019
channel ORA_DISK_1: looking for autobackup on day: 20061018
channel ORA_DISK_1: looking for autobackup on day: 20061017
channel ORA_DISK_1: looking for autobackup on day: 20061016
channel ORA_DISK_1: looking for autobackup on day: 20061015
channel ORA_DISK_1: looking for autobackup on day: 20061014
channel ORA_DISK_1: looking for autobackup on day: 20061013
channel ORA_DISK_1: looking for autobackup on day: 20061012
channel ORA_DISK_1: looking for autobackup on day: 20061011
channel ORA_DISK_1: looking for autobackup on day: 20061010
channel ORA_DISK_1: looking for autobackup on day: 20061009
channel ORA_DISK_1: looking for autobackup on day: 20061008
channel ORA_DISK_1: looking for autobackup on day: 20061007
channel ORA_DISK_1: looking for autobackup on day: 20061006
channel ORA_DISK_1: looking for autobackup on day: 20061005
channel ORA_DISK_1: looking for autobackup on day: 20061004
channel ORA_DISK_1: looking for autobackup on day: 20061003
channel ORA_DISK_1: looking for autobackup on day: 20061002
channel ORA_DISK_1: looking for autobackup on day: 20061001
channel ORA_DISK_1: looking for autobackup on day: 20060930
channel ORA_DISK_1: looking for autobackup on day: 20060929
channel ORA_DISK_1: looking for autobackup on day: 20060928
channel ORA_DISK_1: no autobackup in 100 days found
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 01/05/2007 09:25:59
RMAN-06172: no autobackup found or specified handle is not a valid copy or
piece
RMAN> exit
what could be the reason why the autobackup is not found?
Cheers..
Kenny.

I have a backup of a db-test on another server....
The backup contains autobackup.tar, backupset.tar,
controlfile.txt,
dba_rman_local_ueadbs2_TEST_2007_01_03.log,
initTEST.txt, listener.ora,
o1_mf_s_610888673_2sq471ln_.bkp,orapwTEST,
snapcf_TEST.f,tnsnames.oraAre the backups and the control file autobackup tared? Have you un-tared the files?

Similar Messages

  • Cannot restore ipod and other issues.

    If someone can solve my ipod issues, you will totally make my birthday. Here's the deal. Sometimes when I connect my Ipod to my computer, it sees it as a just a removable disk drive. When that happens, Itunes tells me that my ipod is corrupt. When it tells me I should restore, it then tells me error 1418. I followed the steps on the post on here about that error code and it doesn't work. However, sometimes my computer recognizes my ipod, a message will pop up from memory card manager saying failed ot locate supported file types or there are no photos found on this device. Then my ipod will sync in itunes and start copying files. It says it's copying (which in actuality it's not copying anything or i might get a song or two to copy to my ipod) but then it stops and a message pops up saying, The ipod "Mike's ipod" cannot be synced. The required file cannot be found. I just don't know what to even try anymore. I've looked at so many posts and still nothing works. Please if anyone can help me I'd appreciate it so much!!!

    Hi,
    Ok, there seems to be a problem... I've now been running Disk First Aid Erase on my iPod for an hour and a half. So far the blue bar showing progress seems to be stuck on about 5mm in...
    Btw... there's been 2 people w probs posting here (I couldn't find the link to make a new post and joined this as it had similar probs)- the original guy has sorted his problem. Mine revolves around an iPod that showed up corrupted when I plugged into my Mac after not using the iPod for a couple of months.
    iTunes can't restore it - error sign... As it also now shows up unrecognizable when I plug it into my Mac but with a "you can intialize" possibility I'm trying that as suggested. That takes me to Disk First Aid where pod erase seems to be stuck....
    Hope somebody out there can help... thanks!

  • How to restore SPFILE & Control File ???

    Dear Experts,
    Please bear with me for this simple question.
    I am regularly taking backup's to tape using Tivoli MML. My backup's are all successful. We do not have recovery catalog database configured. Below is my full database backup script:
    OS: Windows 2008 R2 64-bit
    DB: Oracle 11g R2 (11.2.0.2)
    run
    allocate channel c1 type SBT_TAPE parms 'ENV=(TDPO_OPTFILE=C:\Program Files\Tivoli\TSM\AgentOBA64\tdpo.opt)';
    allocate channel c2 type SBT_TAPE parms 'ENV=(TDPO_OPTFILE=C:\Program Files\Tivoli\TSM\AgentOBA64\tdpo.opt)';
    backup as compressed backupset format '%d_%u.bkp' database ;
    sql "alter system switch logfile";
    backup as compressed backupset format '%d_%u.alg' archivelog all delete input;
    release channel c1 ;
    release channel c2 ;     
    }and below is the log of the full database bakcup:
    allocated channel: c1
    channel c1: sid=58 devtype=SBT_TAPE
    channel c1: Data Protection for Oracle: version 5.5.2.0
    allocated channel: c2
    channel c2: sid=57 devtype=SBT_TAPE
    channel c2: Data Protection for Oracle: version 5.5.2.0
    sql statement: alter system switch logfile
    Starting backup at 26-OCT-11
    channel c1: starting compressed full datafile backupset
    channel c1: specifying datafile(s) in backupset
    input datafile fno=00001 name=D:\ORACLE\ORADATA\ABCDB\SYSTEM01.DBF
    input datafile fno=00004 name=D:\ORACLE\ORADATA\ABCDB\USERS01.DBF
    input datafile fno=00008 name=D:\ORACLE\ORADATA\ABCDB\HR_DATA
    input datafile fno=00009 name=D:\ORACLE\ORADATA\ABCDB\PROC_DATA
    channel c1: starting piece 1 at 26-OCT-11
    channel c2: starting compressed full datafile backupset
    channel c2: specifying datafile(s) in backupset
    input datafile fno=00003 name=D:\ORACLE\ORADATA\ABCDB\SYSAUX01.DBF
    input datafile fno=00005 name=D:\ORACLE\ORADATA\ABCDB\SYS_DATA
    input datafile fno=00002 name=D:\ORACLE\ORADATA\ABCDB\UNDOTBS01.DBF
    input datafile fno=00007 name=D:\ORACLE\ORADATA\ABCDB\GL_DATA
    input datafile fno=00006 name=D:\ORACLE\ORADATA\ABCDB\AUD_DATA
    channel c2: starting piece 1 at 26-OCT-11
    channel c2: finished piece 1 at 26-OCT-11
    piece handle=ABCDB_4mmq31ib.bkp tag=FULLDB_26OCT2011_2 comment=API Version 2.0,MMS Version 5.5.2.0
    channel c2: backup set complete, elapsed time: 00:00:15
    channel c2: starting compressed full datafile backupset
    channel c2: specifying datafile(s) in backupset
    including current control file in backupset
    channel c2: starting piece 1 at 26-OCT-11
    channel c1: finished piece 1 at 26-OCT-11
    piece handle=ABCDB_4lmq31ib.bkp tag=FULLDB_26OCT2011_2 comment=API Version 2.0,MMS Version 5.5.2.0
    channel c1: backup set complete, elapsed time: 00:00:19
    channel c2: finished piece 1 at 26-OCT-11
    piece handle=ABCDB_4nmq31ir.bkp tag=FULLDB_26OCT2011_2 comment=API Version 2.0,MMS Version 5.5.2.0
    channel c2: backup set complete, elapsed time: 00:00:10
    Finished backup at 26-OCT-11
    Starting Control File and SPFILE Autobackup at 26-OCT-11
    piece handle=c-2814270906-20111026-00 comment=API Version 2.0,MMS Version 5.5.2.0
    Finished Control File and SPFILE Autobackup at 26-OCT-11
    sql statement: alter system switch logfile
    Starting backup at 26-OCT-11
    current log archived
    channel c1: starting compressed archive log backupset
    channel c1: specifying archive log(s) in backup set
    input archive log thread=1 sequence=267 recid=160 stamp=765559302
    channel c1: starting piece 1 at 26-OCT-11
    channel c2: starting compressed archive log backupset
    channel c2: specifying archive log(s) in backup set
    input archive log thread=1 sequence=268 recid=161 stamp=765559508
    input archive log thread=1 sequence=269 recid=162 stamp=765559508
    input archive log thread=1 sequence=270 recid=163 stamp=765560395
    channel c2: starting piece 1 at 26-OCT-11
    channel c1: finished piece 1 at 26-OCT-11
    piece handle=ABCDB_4pmq31jj.alg tag=ARCHIVE_26OCT2011_@ comment=API Version 2.0,MMS Version 5.5.2.0
    channel c1: backup set complete, elapsed time: 00:00:08
    channel c2: finished piece 1 at 26-OCT-11
    piece handle=ABCDB_4qmq31jj.alg tag=ARCHIVE_26OCT2011_@ comment=API Version 2.0,MMS Version 5.5.2.0
    channel c2: backup set complete, elapsed time: 00:00:08
    channel c1: starting compressed archive log backupset
    channel c1: specifying archive log(s) in backup set
    input archive log thread=1 sequence=271 recid=164 stamp=765560433
    input archive log thread=1 sequence=272 recid=165 stamp=765560434
    channel c1: starting piece 1 at 26-OCT-11
    channel c1: finished piece 1 at 26-OCT-11
    piece handle=ABCDB_4rmq31jr.alg tag=ARCHIVE_26OCT2011_@ comment=API Version 2.0,MMS Version 5.5.2.0
    channel c1: backup set complete, elapsed time: 00:00:04
    Finished backup at 26-OCT-11
    Starting Control File and SPFILE Autobackup at 26-OCT-11
    piece handle=c-2814270906-20111026-01 comment=API Version 2.0,MMS Version 5.5.2.0
    Finished Control File and SPFILE Autobackup at 26-OCT-11
    released channel: c1
    released channel: c2
    RMAN>I want to restore SPFILE and controlfile on a new host. I did the following to restore:
    1) started database instance in nomount mode from RMAN (it started db with dummy parameter file)
    2) Set the dbid
    3) restore SPFILE/controlfile
    But the command says, I have to restore from autobackup. There is no autobackup controlfile available on this server. How do i tell the restore command to restore SPFILE & Controlfile from the tape library?
    Appreciate your help in this regard.
    Thanks
    Prem

    Dear ,
    Do the following for restore process from backup;
    RMAN> restore spfile from autobackup;
    note : if given error like this:
    RMAN 06172 ,
    So you should specify the path where the bkppice availabe
    RMAN> restore spfile from 'write the location here';
    or
    RMAN> restore spfile from autobackup db_flash_recovery_dest=' the location of flash recovery';
    Then
    SQL > Startup nomount ............... it should read the spfile
    and then restore the Controlfile
    RMAN> restore controlfile from autobackup;
    Hopes it help you
    Regards

  • Restore spfile from rman backup ---- error.

    Hi,
    I am trying to execute recovery on new machine ...
    I have done the following steps..
    I have one database as ora10g2 as peroduction database on one machine as hosta
    I have created a catalog on another machine cora10g2 (hostb)
    I have taken a full backup from hosta as per following ...
    the following command execute from hosta machine.
    $ rman target sys/<passwd>@ora10g2 catalog rman/rman@cora10g2 ...
    Backup completed ...
    Now I am trying to restore this backup on hostb machine where i have already rman catlog database ..
    I have done the following setting ...on host b
    set oracle_sid=DUP
    and execute following command ...
    rman target / catalog rman/rman@cora10g2
    RMAN> set dbid 2760732370
    executing command: SET DBID
    database name is "BAAN10G2" and DBID is 2760732370
    RMAN>
    RMAN>
    RMAN> startup force nomount ;
    startup failed: ORA-01078: failure in processing system parameters
    LRM-00109: could not open parameter file '/oracle/dbs/baan10g2/dbs/initbaan10g2.ora'
    starting Oracle instance without parameter file for retrival of spfile
    Oracle instance started
    Total System Global Area 159383552 bytes
    Fixed Size 1977112 bytes
    Variable Size 67114216 bytes
    Database Buffers 83886080 bytes
    Redo Buffers 6406144 bytes
    RMAN>
    RMAN>
    RMAN>
    RMAN> show all ;
    RMAN configuration parameters are:
    CONFIGURE RETENTION POLICY TO REDUNDANCY 1;
    CONFIGURE BACKUP OPTIMIZATION ON;
    CONFIGURE DEFAULT DEVICE TYPE TO DISK;
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/rman/backup/control/cntrl_%F';
    CONFIGURE DEVICE TYPE DISK PARALLELISM 4 BACKUP TYPE TO BACKUPSET;
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '/baanora3/rman/ora10g2/bkup_db_%d_s%s_P%p_t%t' MAXPIECESIZE 1024;
    CONFIGURE MAXSETSIZE TO UNLIMITED; # default
    CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
    CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
    CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
    RMAN>
    RMAN>
    RMAN> list backup of spfile ;
    List of Backup Sets
    ===================
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    2420 Full 7.33M DISK 00:00:01 14-JUN-07
    BP Key: 2426 Status: AVAILABLE Compressed: NO Tag: TAG20070614T182935
    Piece Name: /rman/backup/control/cntrl_c-2760732370-20070614-00
    SPFILE Included: Modification time: 14-JUN-07
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    2509 Full 7.33M DISK 00:00:01 15-JUN-07
    BP Key: 2515 Status: AVAILABLE Compressed: NO Tag: TAG20070615T130416
    Piece Name: /rman/backup/control/cntrl_c-2760732370-20070615-00
    SPFILE Included: Modification time: 15-JUN-07
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    2694 Full 7.33M DISK 00:00:01 15-JUN-07
    BP Key: 2739 Status: AVAILABLE Compressed: NO Tag: TAG20070615T131703
    Piece Name: /rman/backup/control/cntrl_c-2760732370-20070615-01
    SPFILE Included: Modification time: 15-JUN-07
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    2760 Full 80.00K DISK 00:00:01 15-JUN-07
    BP Key: 2763 Status: AVAILABLE Compressed: NO Tag: TAG20070615T163437
    Piece Name: /rman/spfile/spfile.ora
    SPFILE Included: Modification time: 15-JUN-07
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    2769 Full 7.33M DISK 00:00:02 15-JUN-07
    BP Key: 2771 Status: AVAILABLE Compressed: NO Tag: TAG20070615T163441
    Piece Name: /rman/backup/control/cntrl_c-2760732370-20070615-02
    SPFILE Included: Modification time: 15-JUN-07
    RMAN>
    RMAN>
    RMAN> restore spfile from autobackup ;
    Starting restore at 19-JUN-07
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=36 devtype=DISK
    allocated channel: ORA_DISK_2
    channel ORA_DISK_2: sid=35 devtype=DISK
    allocated channel: ORA_DISK_3
    channel ORA_DISK_3: sid=34 devtype=DISK
    allocated channel: ORA_DISK_4
    channel ORA_DISK_4: sid=33 devtype=DISK
    channel ORA_DISK_1: looking for autobackup on day: 20070619
    channel ORA_DISK_1: looking for autobackup on day: 20070618
    channel ORA_DISK_1: looking for autobackup on day: 20070617
    channel ORA_DISK_1: looking for autobackup on day: 20070616
    channel ORA_DISK_1: looking for autobackup on day: 20070615
    channel ORA_DISK_1: looking for autobackup on day: 20070614
    channel ORA_DISK_1: looking for autobackup on day: 20070613
    channel ORA_DISK_1: no autobackup in 7 days found
    channel ORA_DISK_2: looking for autobackup on day: 20070619
    channel ORA_DISK_2: looking for autobackup on day: 20070618
    channel ORA_DISK_2: looking for autobackup on day: 20070617
    channel ORA_DISK_2: looking for autobackup on day: 20070616
    channel ORA_DISK_2: looking for autobackup on day: 20070615
    channel ORA_DISK_2: looking for autobackup on day: 20070614
    channel ORA_DISK_2: looking for autobackup on day: 20070613
    channel ORA_DISK_2: no autobackup in 7 days found
    channel ORA_DISK_3: looking for autobackup on day: 20070619
    channel ORA_DISK_3: looking for autobackup on day: 20070618
    channel ORA_DISK_3: looking for autobackup on day: 20070617
    channel ORA_DISK_3: looking for autobackup on day: 20070616
    channel ORA_DISK_3: looking for autobackup on day: 20070615
    channel ORA_DISK_3: looking for autobackup on day: 20070614
    channel ORA_DISK_3: looking for autobackup on day: 20070613
    channel ORA_DISK_3: no autobackup in 7 days found
    channel ORA_DISK_4: looking for autobackup on day: 20070619
    channel ORA_DISK_4: looking for autobackup on day: 20070618
    channel ORA_DISK_4: looking for autobackup on day: 20070617
    channel ORA_DISK_4: looking for autobackup on day: 20070616
    channel ORA_DISK_4: looking for autobackup on day: 20070615
    channel ORA_DISK_4: looking for autobackup on day: 20070614
    channel ORA_DISK_4: looking for autobackup on day: 20070613
    channel ORA_DISK_4: no autobackup in 7 days found
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 06/19/2007 18:00:13
    RMAN-06172: no autobackup found or specified handle is not a valid copy or piece
    RMAN>
    I am not able to restore spfile from rman backup ;;;

    Hi,
    I would like to know few things
    1. How are you setting the db_name ? you can set db_id at RMAN, how are you setting the db_name ?
    2. Do you have any default init file at default location ? if yes, is the db_name parameter set correctly in that file ?
    Since spfile is yet to be restored, you must set the db_name parameter correctly before you start spfile restore.This can be done with init file at default location which can even contain just one paremeter i.e db_name.

  • Does RMAN restore from 11.2.0.3 to 11.1.0.7?

    Hi Team,
    Interesting point is here, source is on 11.2.0.3 and somehow we missed 11.2.0 home on target (my team mate forgot to built new 11.2.0.3 home - we have 11.1.0 home), not sure how this rman restored/recovered  with no issues on target even it has compatibility change (controlfile restore itself should fail).
    Source is 11.2.0.3 and target is 11.1.0.7, presently the instance up and running with no issues, but we decided to re build with 11.2.0.3 home
    Any hints? Please advice, I am curious about this functionality how did this happen! J
    Thanks,
    Venkat

    See Oracle Support Note "Frequently Asked Questions about Restoring Or Duplicating Between Different Versions And Platforms (Doc ID 369644.1)" . Particularly Question 5.
    You need to run the Downgrade procedures to downgrade a database from 11.2 to 11.1
    Hemant K Chitale

  • RMAN retention policy - backup spfile and then redundancy = 5 removes it.

    I have a database that is Oracle Standard Edition and it is version 9.2.0.6.
    The spfile has not changed since November, 2005. A list backup does not show an spfile backup with a tag of "hot_database_spfile_backup_full". I took a close look at the RMAN script log and was shocked to discover that the spfile backup from the current day is being deleted. Is that because of the redundancy = 5? I'm trying to figure out why a backup piece from the current day is being deleted?
    Examples follow.
    The script deletes obsolete with redundancy = 5, however, I believe the intent was to keep 25 days because one of the configure clauses is set to a recovery window of 25 days. I realize that the redundancy overrides the configure retention policy command. I can fix the script and remove the redundancy = 5.
    In the RMAN run statement, I first resync the catalog, backup the spfile, a full backup of the database including current controlfile plus archive log (delete input), resync catalog, switch logfile, and backup any additional archive logs. The backup looks fine.
    Then, I allocate a channel for maintenance type sbt. The script then has a "delete noprompt expired backup;" a "delete noprompt obsolete redundancy = 5;" and finally, a crosscheck;
    example of backup piece that is later deleted:
    Starting backup at 07/18/2006 20:00:14
    channel t1: starting full datafile backupset
    channel t1: specifying datafile(s) in backupset
    including current SPFILE in backupset
    channel t1: starting piece 1 at 07/18/2006 20:00:14
    channel t1: finished piece 1 at 07/18/2006 20:00:15
    piece handle=P*****_2338_1_596145614_FULL comment=API Version 2.0,MMS Version 5.2.0.0
    channel t1: backup set complete, elapsed time: 00:00:01
    Finished backup at 07/18/2006 20:00:15
    deletion:
    Deleting the following obsolete backups and copies:
    Type Key Completion Time Filename/Handle
    <other lines deleted>
    Backup Set 27453 07/18/2006 20:00:14
    Backup Piece 27454 07/18/2006 20:00:14
    P*****_2338_1_596145614_FULL
    deleted backup piece
    backup piece handle=P*****_2338_1_596145614_FULL recid=2039 stamp=596145614
    Deleted 12 objects
    Why is a backup piece created on 7/18 being deleted in the maintenance step?
    Thanks in advance!

    In the next step in the script, the controlfile and spfile are backed up:
    backup
    full
    skip inaccessible
    tag hot_database_backup_full
    format '%d_%s_%p_%t_FULL'
    (Database
    include current controlfile)
    Plus Archivelog delete input;
    Even though my backup script is redundant by backing up the spfile twice, when I list the backup of the spfile, I would have expected to find 5 backups with a tag of hot_database_spfile_backup_full and 5 with a tag of hot_database_backup_full. That is not the case. I only find spfiles with a tag of hot_database_backup_full. i am still perplexed by RMAN.
    I will modify my script - remove the backup of the spfile, and crosscheck before the delete commands. I will also remove the redundancy = 5. The intent is to keep 25 days of backups.
    Thanks for your comments

  • RMAN Restore issue (11.2.0.1 on windows-64 bit)

    Hi Support,
    I am using Oracle 11.2.0.1 on Windows (64 bit)
    My RMAN configuration is :
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '\\backup\PROD\ctl%F';
    CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT   '\\backup\PROD\df0_%d_%s_%t';
    so the RMAN backup will go the Network Share \\backup\PROD\
    Now i am performing Restore of the database on TEST server.
    so i copied the backup files from the Network Drive (\\backup\PROD\) to the Local Drive D:\Backups
    and Performed catalog of all files in D:\Backups
    Now when i perform Restore of datafiles , i could see the file is being restored using the backupset from the shared drive (original location)
    and not from the local drive where i copied now and cataloged.
    The Network drive from TEST server is accessible
    so the restore time taken is very long.
    How could i make RMAN to restore from the Local Drive instead of the Network Drive (clear all the old catalog's and register only the files in Local drive)
    Regards,
    DB

    Use "catalog start with 'Local Backup location path'; in you restore script , so that it will fail over to your local backup location.
    Thanks,
    Venkat

  • On RESETLOGS and CONTROLFILE restore

    Friends,
    Do we have to always open the database with RESETLOGS option after a controlfile restore from nomount with RMAN? If so then what is the reason?
    Thanks much.

    Fadai,
    As soon as you restore a controlfile the information in the controlfile is no longer in sync with the information in the datafile headers.
    When you open a database it has to be in sync.
    The purpose of resetlogs is:
    Whatever is in the datafiles is OK, forget about the info in the controlfile, and SYNC datafile headers and controlfile.
    Otherwise you wouldn't be able to open the database.
    Hth
    Sybrand Bakker
    Senior Oracle DBA

  • RMAN restore fails due to space issue

    Hi,
    My database size is 225 GB . I m restoring the backupfiles using RMAN from production backup to the test instance.During restore process rman failed due to space issue.When the error occurred rman restored around 122 GB.
    Now i increased the free space in server.So now my doubt is i have to delete the restored files (122GB) and start the restore process again or RMAN will automatically skip the the restored file and resume the process from where it was failed ?
    DB Version -11.2.0.2
    RMAN error
    channel CH2: ORA-19870: error while restoring backup piece /ebs/DEV/backup/GOLD_db_t801111628_s10788_p1.rman
    ORA-19502: write error on file "/ebs/DEV/bin/db/apps_st/data/a_txn_data11.dbf", block number 3492608 (block size=8192)
    ORA-27072: File I/O error
    Linux-x86_64 Error: 28: No space left on device
    Additional information: 4
    Additional information: 3492608
    Additional information: -1
    Thanks

    When you start the restore from the failure, RMAN knows whcih are restored and it will check file headers. if the headers match, it will skip restoring the files.
    Hope this helps,
    Regards,
    http://www.oracleracexpert.com
    RMAN Debug and Trace
    http://www.oracleracexpert.com/2012/11/rman-debug-and-trace.html
    Time for Change: Migrate your Non-RAC Database to RAC
    http://www.oracleracexpert.com/2012/10/time-for-change-migrate-your-non-rac.html

  • After System Restore windows programs not loading, and other issues!

    To preface this I have no interest in keeping vista on here I have a CD with windows7 setup on it that I would like to install either on a new partition or over the exsisting one but no clue how to do this right, and when I tried booting up from the CD it gave me an error, so I can't do the setup that way, however I did get a version of windows xp (hiren's minixp) to boot from a thumbdrive, however I could not get my wireless internet to work on it. however thru ethernet it did, but need wifi!) I need a computer for tomorrow morning for my new job orientation is done thru a website and I need a computer to use at thehotel (im out of town) so its not an option taking it to a repair shop tomorrow (its sunday and all), or sending back to lenovo plus its outta warranty. 
    Help! I am very novice at best with techy stuff so I will try to explain this the best that I can. I've had a lenovo N500 Laptop running Vista Home Edition for a couple years now. It did not come with any recover cd's or anything like that. It was starting to run slow, so I figured I'd do the old trusty Factory Restore and start fresh, always did the trick on other computers I owned with windows. Well I went through the whole process of restoring it, and did the initial system setup and naming. When it loaded my desktop for the first time it was all downhill from there. There is no IE installed, no default programs would open, instead I got this error message (example when opening Windows Mail).
    C:\Program Files\Windows Mail\WinMail.exe
    The specified path does not exsist.
    Check the patch, and then try again.
    It does this for every program. Here's the thing the only C:\ Drive that shows up is assigned to removable disk. Here are the current labels for my default Drives.
    Lenovo(Q
    ServiceV003(S
    SW_Preload(D
    So I think the issues possibly that when it was reformatted it labeled the drive a different letter, so it's trying to pull the files from the C drive as a path,. but it needs to be q or s or d or something. Keep in mind this is my very novice theory.

    for wireless issue:
    have you checked device managemer for unknown/non-installed devices? you may need to install drivers for your adapters.
    try to press f8 when you see lenovo logo, then load "safe mode with networking", check if the adapters work.
    can you tell us what error you got when you tried to install win7? also, some of applications doesn't come with preloaded systems so you need to install them later ( as windows mail, msn messenger )

  • What are RMAN "RESTORE .. PREVIEW" and "BACKUP .. VALIDATE" pros.&cons.?

    On 10gR2 and Solaris 10 we want to test our rman backups periodically. Can I have your advices on which method and how we might use?
    BACKUP .. VALIDATE
    http://download.oracle.com/docs/cd/B19306_01/backup.102/b14192/strategy004.htm#sthref186
    RESTORE... PREVIEW
    http://download.oracle.com/docs/cd/B19306_01/backup.102/b14192/recov003.htm#sthref555
    Thank you.

    As they are for different purposes both can be used. You can get detailed information using PREVIEW like which files the backup set contains, which archivelogs will be used, etc...
    RMAN> restore database preview;
    Starting restore at 04.JAN.2008 15:56:41
    allocated channel: ORA_SBT_TAPE_1
    channel ORA_SBT_TAPE_1: sid=135 devtype=SBT_TAPE
    channel ORA_SBT_TAPE_1: WARNING: Oracle Test Disk API
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=143 devtype=DISK
    List of Backup Sets
    ===================
    BS Key  Type LV Size       Device Type Elapsed Time Completion Time
    42      Full    861.50M    SBT_TAPE    00:02:51     25.DEC.2007 15:24:16
            BP Key: 39   Status: AVAILABLE  Compressed: NO  Tag: TAG20071225T152124
            Handle: 1ij4gdbl_1_1   Media: /sbt_tape,1ij4gdbl_1_1
      List of Datafiles in backup set 42
      File LV Type Ckp SCN    Ckp Time             Name
      1       Full 2676243    25.DEC.2007 15:21:02 /disk1/oradata/10G/datafile/o1_mf_system_3lyw58ct_.dbf
      2       Full 2676243    25.DEC.2007 15:21:02 /disk1/oradata/10G/datafile/o1_mf_undotbs1_3lj593qr_.dbf
      3       Full 2676243    25.DEC.2007 15:21:02 /disk1/oradata/10G/datafile/o1_mf_sysaux_3lj598gc_.dbf
      4       Full 2676243    25.DEC.2007 15:21:02 /disk1/oradata/10G/datafile/o1_mf_data_3lj7f81h_.dbf.tmp
    using channel ORA_SBT_TAPE_1
    using channel ORA_DISK_1
    List of Archived Log Copies
    Key     Thrd Seq     S Low Time             Name
    103     1    106     A 26.DEC.2007 09:15:19 /disk1/app/oracle/flash_recovery_area/10G/archivelog/2007_12_26/o1_mf_1_106_3q4h8sqg_.arc
    104     1    107     A 26.DEC.2007 13:38:01 /disk1/app/oracle/flash_recovery_area/10G/archivelog/2007_12_26/o1_mf_1_107_3q5dxp9w_.arc
    105     1    108     A 26.DEC.2007 22:04:05 /disk1/app/oracle/flash_recovery_area/10G/archivelog/2007_12_27/o1_mf_1_108_3q7hkpyw_.arc
    106     1    109     A 27.DEC.2007 17:01:09 /disk1/app/oracle/flash_recovery_area/10G/archivelog/2007_12_27/o1_mf_1_109_3q7jcvq3_.arc
    107     1    110     A 27.DEC.2007 17:15:07 /disk1/app/oracle/flash_recovery_area/10G/archivelog/2007_12_27/o1_mf_1_110_3q7jl37r_.arc
    108     1    111     A 27.DEC.2007 17:18:27 /disk1/app/oracle/flash_recovery_area/10G/archivelog/2007_12_27/o1_mf_1_111_3q7jo6hk_.arc
    109     1    112     A 27.DEC.2007 17:20:06 /disk1/app/oracle/flash_recovery_area/10G/archivelog/2007_12_28/o1_mf_1_112_3q883z06_.arc
    110     1    113     A 28.DEC.2007 00:00:30 /disk1/app/oracle/flash_recovery_area/10G/archivelog/2007_12_28/o1_mf_1_113_3qbol2q6_.arc
    111     1    114     A 28.DEC.2007 22:02:09 /disk1/app/oracle/flash_recovery_area/10G/archivelog/2007_12_29/o1_mf_1_114_3qcknl4s_.arc
    112     1    115     A 29.DEC.2007 06:01:20 /disk1/app/oracle/flash_recovery_area/10G/archivelog/2007_12_29/o1_mf_1_115_3qfhjq8k_.arc
    113     1    116     A 29.DEC.2007 23:37:27 /disk1/app/oracle/flash_recovery_area/10G/archivelog/2007_12_30/o1_mf_1_116_3qj281j8_.arc
    114     1    117     A 30.DEC.2007 23:09:20 /disk1/app/oracle/flash_recovery_area/10G/archivelog/2007_12_31/o1_mf_1_117_3qllqy7d_.arc
    115     1    118     A 31.DEC.2007 22:03:09 /disk1/app/oracle/flash_recovery_area/10G/archivelog/2008_01_01/o1_mf_1_118_3qmgq0w1_.arc
    116     1    119     A 01.JAN.2008 06:00:32 /disk1/app/oracle/flash_recovery_area/10G/archivelog/2008_01_01/o1_mf_1_119_3qochbm6_.arc
    117     1    120     A 01.JAN.2008 23:17:30 /disk1/app/oracle/flash_recovery_area/10G/archivelog/2008_01_02/o1_mf_1_120_3qq2r4wj_.arc
    118     1    121     A 02.JAN.2008 15:00:51 /disk1/app/oracle/flash_recovery_area/10G/archivelog/2008_01_02/o1_mf_1_121_3qq3f0v1_.arc
    119     1    122     A 02.JAN.2008 15:12:00 /disk1/app/oracle/flash_recovery_area/10G/archivelog/2008_01_02/o1_mf_1_122_3qq3jkpq_.arc
    120     1    123     A 02.JAN.2008 15:13:53 /disk1/app/oracle/flash_recovery_area/10G/archivelog/2008_01_03/o1_mf_1_123_3qr53rcb_.arc
    121     1    124     A 03.JAN.2008 00:47:19 /disk1/app/oracle/flash_recovery_area/10G/archivelog/2008_01_03/o1_mf_1_124_3qtj22bp_.arc
    122     1    125     A 03.JAN.2008 22:06:25 /disk1/app/oracle/flash_recovery_area/10G/archivelog/2008_01_04/o1_mf_1_125_3qvtmx5c_.arc
    Media recovery start SCN is 2676243
    Recovery must be done beyond SCN 2676243 to clear data files fuzziness
    Finished restore at 04.JAN.2008 15:58:59With VALIDATE you can be sure that you will be able to use that backup to restore your database as it reads all the files.
    RMAN> restore database validate;
    Starting restore at 04.JAN.2008 15:59:06
    using channel ORA_SBT_TAPE_1
    using channel ORA_DISK_1
    channel ORA_SBT_TAPE_1: starting validation of datafile backupset
    channel ORA_SBT_TAPE_1: reading from backup piece 1ij4gdbl_1_1
    channel ORA_SBT_TAPE_1: restored backup piece 1
    piece handle=1ij4gdbl_1_1 tag=TAG20071225T152124
    channel ORA_SBT_TAPE_1: validation complete, elapsed time: 00:00:38
    Finished restore at 04.JAN.2008 15:59:46I find both of them useful.

  • ITunes Match is having errors d/l songs to my iPhone 4s. Then I can't delete them, and it says some songs are playing when they aren't. I've restored my iPhone, same issue.

    iTunes Match is having errors d/l songs to my iPhone 4s. Then I can't delete them, and it says some songs are playing when they aren't. I've restored my iPhone, same issue.

    According to this article  Using iPhone on an airplane  you should be able to listen to music with Airplay Mode enabled.
    Make sure you have Music switched on in Settings > Store or your music won't download via Wi-Fi.

  • HT3204 I was in the process of restoring my ipad and an issue with itunes came up and itunes closed. Now my computer doesn't recognize the ipad as anything so I can't complete the restore process.

    I was in the process of restoring my ipad and an issue came up with itunes and it had to close. I reopened itunes but now my computer doesn't recognize the ipad as anything plugged in to my computer. I am unable to complete the restore process.

    Hi kimbo934,
    Welcome to the Support Communities!
    The article below may be able to help you with this.
    Click on the link to see more details and screenshots. 
    iOS: Device not recognized in iTunes for Windows
    http://support.apple.com/kb/TS1538
    I hope this information helps ....
    Happy Holidays!
    - Judy

  • RMAN restore from active database, ASM

    I'm attempting to refresh a stage database from a prod database using RMAN restore from active database. Both are on ASM. After working through various hurdles, I've got one issue I'm a bit stuck on. I've got a handful of data files that do NOT have OMF names (ie MSTRDATA/mstrmdpd/datafile/gsa_indx instead of MSTRDATA/mstrmdpd/datafile/gsa_indx.351.714779777) and these are failing when I do the restore. The syntax I'm using in RMAN is as follows:
    duplicate target database to dwstage
    from active database
    spfile parameter_value_convert 'dwprod','dwstage'
    SET DB_FILE_NAME_CONVERT '+DWPROD','+DWSTAGE'
    SET LOG_FILE_NAME_CONVERT '+DWPROD','+DWSTAGE';
    The error message I'm getting is this:
    RMAN-03009: failure of backup command on ORA_DISK_1 channel at 04/21/2011 13:26:24
    ORA-17628: Oracle error 19505 returned by remote Oracle server
    continuing other job steps, job failed will not be re-run
    Normally from what I've seen/read this error can be traced back to needing to pre-create the directories for the controlfiles etc, but since 90% of the datafiles copied correctly...
    Any suggestions as to a way around this, or am I going to be forced to restore from a backupset?

    This fails saying that "ORA-12528: TNS:listener: all appropriate instances are blocking new connections" which is quite normal given that the listener is havig a handle in BLOCKED state for this AUXDB as it is in NOMOUNT state.
    Could you please help me on how to proceed?
    One option can be to create the controlfile manually and mount the instance before doing the duplicate. I hope Rman can continue from there.
    Another option is to go for backup based duplicate.
    Is there any other way to go?
    Provide static registration on AUXILIARY side for your auxiliary instance and try again.For example change listener.ora file as
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (GLOBAL_DBNAME = AUXDB)
          (ORACLE_HOME = <your oracle home>)
          (SID_NAME = AUXDB)
    LISTENER =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = <auxiliary host/ip>)(PORT = 1521))
      )And restart listener on auxiliary host then try again

  • Error during restore/recovery and 'open resetlogs'

    Hello forum. I'm attempting to restore a database to a new host and have run into an error during the opening of the database (with resetlogs). The renaming of the datafiles, restore, switching of datafiles, and recovery are all done by an rman script, the contents of which are below:
    # Restore production database to DR site using file system
    # instead of ASM
    run {
    set newname for datafile 1 to '/opt/oracle/product/10gR2/oradata/DB01/system.dbf';
    set newname for datafile 2 to '/opt/oracle/product/10gR2/oradata/DB01/undotbs1.dbf';
    set newname for datafile 3 to '/opt/oracle/product/10gR2/oradata/DB01/sysaux.dbf';
    set newname for datafile 4 to '/opt/oracle/product/10gR2/oradata/DB01/users.dbf';
    set newname for datafile 5 to '/opt/oracle/product/10gR2/oradata/DB01/undotbs2.dbf';
    set newname for datafile 6 to '/opt/oracle/product/10gR2/oradata/DB01/file1.dbf';
    set newname for datafile 7 to '/opt/oracle/product/10gR2/oradata/DB01/file2.dbf';
    restore database;
    switch datafile all;
    recover database;
    I get the following output:
    RMAN> @/home/oracle/scripts/rman_dr.rman
    RMAN> # Restore production database to DR site using file system
    2> # instead of ASM
    3> #
    4> run {
    5> set newname for datafile 1 to '/opt/oracle/product/10gR2/oradata/DB01/system.dbf';
    6> set newname for datafile 2 to '/opt/oracle/product/10gR2/oradata/DB01/undotbs1.dbf';
    7> set newname for datafile 3 to '/opt/oracle/product/10gR2/oradata/DB01/sysaux.dbf';
    8> set newname for datafile 4 to '/opt/oracle/product/10gR2/oradata/DB01/users.dbf';
    9> set newname for datafile 5 to '/opt/oracle/product/10gR2/oradata/DB01/undotbs2.dbf';
    10> set newname for datafile 6 to '/opt/oracle/product/10gR2/oradata/DB01/file1.dbf';
    11> set newname for datafile 7 to '/opt/oracle/product/10gR2/oradata/DB01/file2.dbf';
    12>
    13> restore database;
    14> switch datafile all;
    15> recover database;
    16> }
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    Starting restore at 03-JAN-08
    Starting implicit crosscheck backup at 03-JAN-08
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=156 devtype=DISK
    Crosschecked 651 objects
    Finished implicit crosscheck backup at 03-JAN-08
    Starting implicit crosscheck copy at 03-JAN-08
    using channel ORA_DISK_1
    Crosschecked 1 objects
    Finished implicit crosscheck copy at 03-JAN-08
    searching for all files in the recovery area
    cataloging files...
    no files cataloged
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting datafile backupset restore
    channel ORA_DISK_1: specifying datafile(s) to restore from backup set
    restoring datafile 00001 to /opt/oracle/product/10gR2/oradata/DB01/system.dbf
    restoring datafile 00002 to /opt/oracle/product/10gR2/oradata/DB01/undotbs1.dbf
    restoring datafile 00003 to /opt/oracle/product/10gR2/oradata/DB01/sysaux.dbf
    restoring datafile 00004 to /opt/oracle/product/10gR2/oradata/DB01/users.dbf
    restoring datafile 00005 to /opt/oracle/product/10gR2/oradata/DB01/undotbs2.dbf
    restoring datafile 00006 to /opt/oracle/product/10gR2/oradata/DB01/file1.dbf
    restoring datafile 00007 to /opt/oracle/product/10gR2/oradata/DB01/file2.dbfchannel ORA_DISK_1: reading from backup piece /ocfs2/remitpro/oracleBackups/tmp/rman_LV0_DB01.642899284.1.1.bus
    channel ORA_DISK_1: restored backup piece 1
    piece handle=/ocfs2/remitpro/oracleBackups/tmp/rman_LV0_DB01.642899284.1.1.bus tag=20080101_LV0_DB
    channel ORA_DISK_1: restore complete, elapsed time: 01:22:28
    Finished restore at 03-JAN-08
    datafile 1 switched to datafile copy
    input datafile copy recid=14 stamp=643049225 filename=/opt/oracle/product/10gR2/oradata/DB01/system.dbf
    datafile 2 switched to datafile copy
    input datafile copy recid=15 stamp=643049225 filename=/opt/oracle/product/10gR2/oradata/DB01/undotbs1.dbf
    datafile 3 switched to datafile copy
    input datafile copy recid=16 stamp=643049225 filename=/opt/oracle/product/10gR2/oradata/DB01/sysaux.dbf
    datafile 4 switched to datafile copy
    input datafile copy recid=17 stamp=643049225 filename=/opt/oracle/product/10gR2/oradata/DB01/users.dbf
    datafile 5 switched to datafile copy
    input datafile copy recid=18 stamp=643049225 filename=/opt/oracle/product/10gR2/oradata/DB01/undotbs2.dbf
    datafile 6 switched to datafile copy
    input datafile copy recid=19 stamp=643049225 filename=/opt/oracle/product/10gR2/oradata/DB01/file1.dbf
    datafile 7 switched to datafile copy
    input datafile copy recid=20 stamp=643049225 filename=/opt/oracle/product/10gR2/oradata/DB01/file2.dbf
    Starting recover at 03-JAN-08
    using channel ORA_DISK_1
    starting media recovery
    channel ORA_DISK_1: starting archive log restore to default destination
    channel ORA_DISK_1: restoring archive log
    archive log thread=2 sequence=1005
    channel ORA_DISK_1: restoring archive log
    archive log thread=1 sequence=1365
    channel ORA_DISK_1: reading from backup piece /ocfs2/remitpro/oracleBackups/tmp/rman_LV0_DB01.642900444.1.1.bus
    channel ORA_DISK_1: restored backup piece 1
    piece handle=/ocfs2/remitpro/oracleBackups/tmp/rman_LV0_DB01.642900444.1.1.bus tag=20080101_LV0_DB
    channel ORA_DISK_1: restore complete, elapsed time: 00:00:05
    archive log filename=/opt/oracle/product/10gR2/db/flash_recovery_area/DB01/archivelog/2008_01_03/o1_mf_1_1365_3qtshnfv_.arc thread=1 sequence=1365
    archive log filename=/opt/oracle/product/10gR2/db/flash_recovery_area/DB01/archivelog/2008_01_03/o1_mf_2_1005_3qtshncz_.arc thread=2 sequence=1005
    channel default: deleting archive log(s)
    archive log filename=/opt/oracle/product/10gR2/db/flash_recovery_area/DB01/archivelog/2008_01_03/o1_mf_1_1365_3qtshnfv_.arc recid=2418 stamp=643049236
    unable to find archive log
    archive log thread=1 sequence=1366
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of recover command at 01/03/2008 16:47:22
    RMAN-06054: media recovery requesting unknown log: thread 1 seq 1366 lowscn 181804603
    RMAN> **end-of-file**
    I searched for a decription of the 06054 error, and found that if the archive logs weren't available, then to run "alter database open resetlogs;", which I did. Here's the output:
    RMAN> alter database open resetlogs;
    database opened
    RMAN-06900: WARNING: unable to generate V$RMAN_STATUS or V$RMAN_OUTPUT row
    RMAN-06901: WARNING: disabling update of the V$RMAN_STATUS and V$RMAN_OUTPUT rows
    ORACLE error from target database:
    ORA-06553: PLS-801: internal error [56319]
    I've done all of this twice now, with the same result. I've googled PLS-801 and found more than a few instances of people getting this code, but not during a database open after a restore. Can anyone shed some light on what might have gone wrong? In the interest of brevity, I left out the rest of the restore process prior to running the database restore, but other than setting "compatible" and "db_recovery_file_dest_size", it was all by the book.
    Thanks in advance.

    Thanks for the reply Pierre.
    I am not using RMAN Duplicate. Yes, the source of the backup is an RAC. The destination is a single server, with the DB on the filesystem. Here's an overview of of the commands I ran and the procedure.
    Copied tar'd backup controlfile and datafiles to destination machine. Untar'd. Install 10.2.0.1.0 on destination machine, patch to 10.2.0.2.0.
    OS> sqlplus /nologin
    SQL> alter system set compatible = '10.2.0.2.0' scope=spfile;
    SQL> alter system set db_recovery_dest_file_size = '8g'; scope spfile;
    SQL> shutdown immediate;
    SQL> startup; (to verify changes took...)
    SQL> shutdown immediate;
    OS> Copy control file from untar'd dir and place in $ORACLE_HOME/dbs/, truncate name to c-DBID-date-00.
    OS> rman target /
    RMAN> startup nomount;
    RMAN> set dbid <dbid from control file>;
    RMAN> restore controlfile from autobackup; (finds control file with no problem...)
    RMAN> alter database mount;
    RMAN> @/home/oracle/rman_dr.rman (script cited in first post, to rename datafiles from ASM to filesystem, restore, switch files, and recover...)
    RMAN> alter database open resetlogs; (as cited before...)
    If I'm not using Duplicate and not specifying dates, the UNTIL/SET UNTIL commands aren't necessary, correct?

Maybe you are looking for

  • How do i lock my pdf fillable form file

    Thank you in advance for any help. I have two questions: 1)  How do I save my fill-able form pdf file as a NON fill-able form so that the saved version cannot be changed?  I have Adobe Acrobat Pro XI for the MAC 2)  How do I add a page to my pdf file

  • Downloaded it from the App store and can't find serial number?

    Will it be in my receipt emailed to me?

  • When I try to access PURCHASES in the iTunes store, the program crashes

    Every time I click on Purchases in the iTunes store it attempts to load my purchases (it seems) and then the program just crashes and Windows shuts it down. What's up with that? I can only access purchases through my iPod touch or iPhone & then trans

  • Offline Screening program /SAPSLL/SPL_OFFLINE_SCREENING

    Hi all, Has anyone tried running the Offline screening program /SAPSLL/SPL_OFFLINE_SCREENING in the background. I have tried this but am getting a message that this program is not executable in the background. Can anyone please enlighten me on this.

  • Default expanded hierarchy in OBIEE

    Hi, I have designed product hierarchy. It's working as desired. Product Category is at first level with a drill down symbol (+). When I click on that '+', it drills down to Product Subcategory. Similarly I can navigate to products by clicking '+' sym