Restoring Database to ASM from tape

We're restoring a database from tape using Oracle 10.2.0.5. We explcitely specify the location for every single file with SET NEWNAME FOR DATAFILE X. The files that get restored don't match the NEWNAME format we set it to even though the log says it restored the file to that name. I don't know what's occuring under the hood of ASM, but it appears OMF is coming into play and generating names for the files. it's becoming a problem because when we restart the restore (which occurs often due to size of the database, length of time it takes, and drives going down) we start all over because RMAN doesn't know of the existing files. This doesn't seem to be normal behavior, and I know it's not like this during file based restores.
Does anyone know what's going on within ASM itself? It appears to be normal behavior when restoring to ASM and the names are later set appropriately after the SWITCH DATAFILE ALL. That's what I think would happen. It's currently a problem restarting restores.
Any insight or help is appreciated. Thank you

We're restoring a database from tape using Oracle 10.2.0.5. We explcitely specify the location for every single file with SET NEWNAME FOR DATAFILE X. The files that get restored don't match the NEWNAME format we set it to even though the log says it restored the file to that name. I don't know what's occuring under the hood of ASM, but it appears OMF is coming into play and generating names for the files. it's becoming a problem because when we restart the restore (which occurs often due to size of the database, length of time it takes, and drives going down) we start all over because RMAN doesn't know of the existing files. This doesn't seem to be normal behavior, and I know it's not like this during file based restores.
Does anyone know what's going on within ASM itself? It appears to be normal behavior when restoring to ASM and the names are later set appropriately after the SWITCH DATAFILE ALL. That's what I think would happen. It's currently a problem restarting restores.Have you enabled OMF? as db_create_file_dest = '+data'
then if you restore database from tape/disk, it will place all the datafiles as '+data/db_unique_name/datafiles';

Similar Messages

  • Restore to new host from tape, can't find autobackups

    Thankfully this is just a test, but I'm having trouble restoring a cold backup from a production host to a test/dev host. I tried the following:
    rman target /
    RMAN> set dbid 1600196320;
    executing command: SET DBID
    RMAN> startup nomount;
    startup failed: ORA-01078: failure in processing system parameters
    LRM-00109: could not open parameter file '/app/oracle/product/10.2/dbs/initedi.ora'
    starting Oracle instance without parameter file for retrival of spfile
    Oracle instance started
    Total System Global Area 159383552 bytes
    Fixed Size 2069720 bytes
    Variable Size 67111720 bytes
    Database Buffers 83886080 bytes
    Redo Buffers 6316032 bytes
    RMAN> run
    2> {
    3> allocate channel t1 device type sbt;
    4> send 'NB_ORA_SERV=pobackup01, NB_ORA_POLICY=jdeoracle, NB_ORA_SCHED=hotfull';
    5> restore spfile to pfile '/dbexport/oracle/bckup/test_restore/edipfile_new.ora' from autobackup;
    6> shutdown abort;
    7> }
    using target database control file instead of recovery catalog
    allocated channel: t1
    channel t1: sid=36 devtype=SBT_TAPE
    channel t1: Veritas NetBackup for Oracle - Release 6.5 (2008052301)
    sent command to channel: t1
    Starting restore at 14-MAY-09
    channel t1: looking for autobackup on day: 20090514
    channel t1: looking for autobackup on day: 20090513
    channel t1: looking for autobackup on day: 20090512
    channel t1: looking for autobackup on day: 20090511
    channel t1: looking for autobackup on day: 20090510
    channel t1: looking for autobackup on day: 20090509
    channel t1: looking for autobackup on day: 20090508
    channel t1: no autobackup in 7 days found
    released channel: t1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 05/14/2009 10:27:37
    RMAN-06172: no autobackup found or specified handle is not a valid copy or piece
    Here is the log file from when the backup was taken on 5/10, that was the last backup of this db.
    RMAN> connect target *
    2>
    3> show all;
    4> run {
    5> shutdown immediate;
    6> startup mount;
    7> backup database;
    8> alter database open;
    9> }
    10>
    connected to target database: EDI (DBID=1600196320)
    using target database control file instead of recovery catalog
    RMAN configuration parameters are:
    CONFIGURE RETENTION POLICY TO REDUNDANCY 3;
    CONFIGURE BACKUP OPTIMIZATION OFF; # default
    CONFIGURE DEFAULT DEVICE TYPE TO 'SBT_TAPE';
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE SBT_TAPE TO '%F'; # default
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
    CONFIGURE DEVICE TYPE SBT_TAPE PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default
    CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE SBT_TAPE TO 1; # default
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE SBT_TAPE TO 1; # default
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE CHANNEL DEVICE TYPE 'SBT_TAPE' SEND 'NB_ORA_SERV=pobackup01, NB_ORA_POLICY=jdeoracle, NB_ORA_SCHED=hotfull';
    CONFIGURE MAXSETSIZE TO UNLIMITED; # default
    CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
    CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
    CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/sapp/oracle/product/10.2/dbs/snapcf_edi.f'; # default
    database closed
    database dismounted
    Oracle instance shut down
    connected to target database (not started)
    Oracle instance started
    database mounted
    Total System Global Area 356515840 bytes
    Fixed Size 2070976 bytes
    Variable Size 314574400 bytes
    Database Buffers 33554432 bytes
    Redo Buffers 6316032 bytes
    Starting backup at may-10-2009 08:00:19
    allocated channel: ORA_SBT_TAPE_1
    channel ORA_SBT_TAPE_1: sid=157 devtype=SBT_TAPE
    channel ORA_SBT_TAPE_1: Veritas NetBackup for Oracle - Release 6.5 (2008052301)
    channel ORA_SBT_TAPE_1: starting full datafile backupset
    channel ORA_SBT_TAPE_1: specifying datafile(s) in backupset
    input datafile fno=00007 name=/sdb4/oradata/edi/data01.dbf
    input datafile fno=00006 name=/sdb5/oradata/edi/indx01.dbf
    input datafile fno=00008 name=/sdb2/oradata/edi/undo01.dbf
    input datafile fno=00001 name=/sdb1/oradata/edi/system01.dbf
    input datafile fno=00004 name=/sdb2/oradata/edi/sysaux01.dbf
    input datafile fno=00002 name=/sdb4/oradata/edi/tools01.dbf
    input datafile fno=00005 name=/sdb4/oradata/edi/users01.dbf
    channel ORA_SBT_TAPE_1: starting piece 1 at may-10-2009 08:00:20
    channel ORA_SBT_TAPE_1: finished piece 1 at may-10-2009 08:08:55
    piece handle=2jkeljgl_1_1 tag=TAG20090510T080020 comment=API Version 2.0,MMS Version 5.0.0.0
    channel ORA_SBT_TAPE_1: backup set complete, elapsed time: 00:08:34
    Finished backup at may-10-2009 08:08:55
    Starting Control File and SPFILE Autobackup at may-10-2009 08:08:55
    piece handle=c-1600196320-20090510-00 comment=API Version 2.0,MMS Version 5.0.0.0
    Finished Control File and SPFILE Autobackup at may-10-2009 08:09:50
    database opened
    Recovery Manager complete.
    Do I need to pass in the source host name when configuring the channel? So instead of
    send 'NB_ORA_SERV=pobackup01, NB_ORA_POLICY=jdeoracle, NB_ORA_SCHED=hotfull';
    i would need,
    send 'NB_ORA_SERV=pobackup01, NB_ORA_CLIENT=newhost, NB_ORA_POLICY=jdeoracle, NB_ORA_SCHED=hotfull';
    ??

    Ok, problem solved. Here's the complete process for recovering a non-archivelog mode data base to a new host from a cold backup from veritas 6.5 tape library.
    I used the "until time 'SYSDATE-5'" option because the cold backup was taken 5 days ago, and while rman will look back up to 7 days, it was taking forever to search for the autobackup. This let it start searching on the day the backup was made. The original problem I was having was due to the fact that the backup was taken from one host and the restore was going to another and I wasn't sending the old host name as the NB_ORA_CLIENT parameter. So it was searching backups from the new host for the data.
    oracle_sandbox1> rman target /
    Recovery Manager: Release 10.2.0.2.0 - Production on Thu May 14 14:05:02 2009
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    connected to target database (not started)
    RMAN> set dbid 1600196320;
    executing command: SET DBID
    RMAN> startup nomount;
    startup failed: ORA-01078: failure in processing system parameters
    LRM-00109: could not open parameter file '/app/oracle/product/10.2/dbs/initedi.ora'
    starting Oracle instance without parameter file for retrival of spfile
    Oracle instance started
    Total System Global Area 159383552 bytes
    Fixed Size 2069720 bytes
    Variable Size 67111720 bytes
    Database Buffers 83886080 bytes
    Redo Buffers 6316032 bytes
    RMAN>run {
    2> allocate channel t1 device type 'SBT_TAPE';
    3> send 'NB_ORA_SERV=pobackup01, NB_ORA_CLIENT=sent1, NB_ORA_POLICY=jdeoracle, NB_ORA_SCHED=hotfull';
    4> restore spfile to pfile '/dbexport/oracle/bckup/test_restore/edipfile_new.ora' from autobackup until time 'SYSDATE-5';
    5> }
    using target database control file instead of recovery catalog
    allocated channel: t1
    channel t1: sid=36 devtype=SBT_TAPE
    channel t1: Veritas NetBackup for Oracle - Release 6.5 (2008052301)
    sent command to channel: t1
    Starting restore at 15-MAY-09
    channel t1: looking for autobackup on day: 20090510
    channel t1: autobackup found: c-1600196320-20090510-00
    channel t1: SPFILE restore from autobackup complete
    Finished restore at 15-MAY-09
    released channel: t1
    RMAN> shutdown abort;
    Oracle instance shut down
    \/\/\\/\/\//\//\/\/\/\/\ edit pfile from another session to remove references to old host
    RMAN> startup force nomount pfile='/dbexport/oracle/bckup/test_restore/edipfile_new.ora';
    Oracle instance started
    Total System Global Area 356515840 bytes
    Fixed Size 2070976 bytes
    Variable Size 314574400 bytes
    Database Buffers 33554432 bytes
    Redo Buffers 6316032 bytes
    RMAN> run {
    2> allocate channel t1 device type 'SBT_TAPE';
    3> send 'NB_ORA_SERV=pobackup01, NB_ORA_CLIENT=sent1, NB_ORA_POLICY=jdeoracle, NB_ORA_SCHED=hotfull';
    4> restore controlfile from autobackup until time 'SYSDATE-5';
    5> }
    allocated channel: t1
    channel t1: sid=156 devtype=SBT_TAPE
    channel t1: Veritas NetBackup for Oracle - Release 6.5 (2008052301)
    sent command to channel: t1
    Starting restore at 14-MAY-09
    channel t1: looking for autobackup on day: 20090510
    channel t1: autobackup found: c-1600196320-20090510-00
    channel t1: control file restore from autobackup complete
    output filename=/dbexport/oracle/bckup/test_restore/control01.ctl
    output filename=/dbexport/oracle/bckup/test_restore/control02.ctl
    Finished restore at 15-MAY-09
    released channel: t1
    RMAN> alter database mount;
    database mounted
    RMAN> @reco_2.rman
    RMAN> run
    2> {
    3> allocate channel t1 device type 'SBT_TAPE';
    4> send 'NB_ORA_SERV=pobackup01, NB_ORA_CLIENT=sent1, NB_ORA_POLICY=jdeoracle, NB_ORA_SCHED=hotfull';
    5> set newname for datafile 1 to '/dbexport/oracle/bckup/test_restore/system01.dbf';
    6> set newname for datafile 2 to '/dbexport/oracle/bckup/test_restore/tools01.dbf';
    7> set newname for datafile 4 to '/dbexport/oracle/bckup/test_restore/sysaux01.dbf';
    8> set newname for datafile 5 to '/dbexport/oracle/bckup/test_restore/users01.dbf';
    9> set newname for datafile 6 to '/dbexport/oracle/bckup/test_restore/indx01.dbf';
    10> set newname for datafile 7 to '/dbexport/oracle/bckup/test_restore/data01.dbf';
    11> set newname for datafile 8 to '/dbexport/oracle/bckup/test_restore/undo01.dbf';
    12> sql "ALTER DATABASE RENAME FILE ''/sdb1/oradata/edi/redo03.log'' TO ''/dbexport/oracle/bckup/test_restore/redo3.rdo'' ";
    13> sql "ALTER DATABASE RENAME FILE ''/sdb1/oradata/edi/redo02.log'' TO ''/dbexport/oracle/bckup/test_restore/redo2.rdo'' ";
    14> sql "ALTER DATABASE RENAME FILE ''/sdb1/oradata/edi/redo01.log'' TO ''/dbexport/oracle/bckup/test_restore/redo1.rdo'' ";
    15> sql "ALTER DATABASE RENAME FILE ''/sdb1/oradata/edi/redo05.log'' TO ''/dbexport/oracle/bckup/test_restore/redo5.rdo'' ";
    16> sql "ALTER DATABASE RENAME FILE ''/sdb1/oradata/edi/redo04.log'' TO ''/dbexport/oracle/bckup/test_restore/redo4.rdo'' ";
    17> restore database;
    18> switch datafile all;
    19> recover database noredo;
    20> }
    allocated channel: t1
    channel t1: sid=156 devtype=SBT_TAPE
    channel t1: Veritas NetBackup for Oracle - Release 6.5 (2008052301)
    sent command to channel: t1
    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
    sql statement: ALTER DATABASE RENAME FILE ''/sdb1/oradata/edi/redo03.log'' TO ''/dbexport/oracle/bckup/test_restore/redo3.rdo''
    sql statement: ALTER DATABASE RENAME FILE ''/sdb1/oradata/edi/redo02.log'' TO ''/dbexport/oracle/bckup/test_restore/redo2.rdo''
    sql statement: ALTER DATABASE RENAME FILE ''/sdb1/oradata/edi/redo01.log'' TO ''/dbexport/oracle/bckup/test_restore/redo1.rdo''
    sql statement: ALTER DATABASE RENAME FILE ''/sdb1/oradata/edi/redo05.log'' TO ''/dbexport/oracle/bckup/test_restore/redo5.rdo''
    sql statement: ALTER DATABASE RENAME FILE ''/sdb1/oradata/edi/redo04.log'' TO ''/dbexport/oracle/bckup/test_restore/redo4.rdo''
    Starting restore at 15-MAY-09
    channel t1: starting datafile backupset restore
    channel t1: specifying datafile(s) to restore from backup set
    restoring datafile 00001 to /dbexport/oracle/bckup/test_restore/system01.dbf
    restoring datafile 00002 to /dbexport/oracle/bckup/test_restore/tools01.dbf
    restoring datafile 00004 to /dbexport/oracle/bckup/test_restore/sysaux01.dbf
    restoring datafile 00005 to /dbexport/oracle/bckup/test_restore/users01.dbf
    restoring datafile 00006 to /dbexport/oracle/bckup/test_restore/indx01.dbf
    restoring datafile 00007 to /dbexport/oracle/bckup/test_restore/data01.dbf
    restoring datafile 00008 to /dbexport/oracle/bckup/test_restore/undo01.dbf
    channel t1: reading from backup piece 2jkeljgl_1_1
    channel t1: restored backup piece 1
    piece handle=2jkeljgl_1_1 tag=TAG20090510T080020
    channel t1: restore complete, elapsed time: 00:04:55
    Finished restore at 15-MAY-09
    datafile 1 switched to datafile copy
    input datafile copy recid=8 stamp=686913242 filename=/dbexport/oracle/bckup/test_restore/system01.dbf
    datafile 2 switched to datafile copy
    input datafile copy recid=9 stamp=686913242 filename=/dbexport/oracle/bckup/test_restore/tools01.dbf
    datafile 4 switched to datafile copy
    input datafile copy recid=10 stamp=686913242 filename=/dbexport/oracle/bckup/test_restore/sysaux01.dbf
    datafile 5 switched to datafile copy
    input datafile copy recid=11 stamp=686913242 filename=/dbexport/oracle/bckup/test_restore/users01.dbf
    datafile 6 switched to datafile copy
    input datafile copy recid=12 stamp=686913242 filename=/dbexport/oracle/bckup/test_restore/indx01.dbf
    datafile 7 switched to datafile copy
    input datafile copy recid=13 stamp=686913242 filename=/dbexport/oracle/bckup/test_restore/data01.dbf
    datafile 8 switched to datafile copy
    input datafile copy recid=14 stamp=686913242 filename=/dbexport/oracle/bckup/test_restore/undo01.dbf
    Starting recover at 15-MAY-09
    Finished recover at 15-MAY-09
    released channel: t1
    RMAN> **end-of-file**
    RMAN> alter database open resetlogs;
    database opened
    RMAN> exit
    Edited by: PktAces on May 18, 2009 8:04 AM

  • How to restore a Rman backup from Tape

    Hi,
    We need to restore the database backup taken through RMAN on 24-JUNE-2013 from tape as this backup is not currently available on disk.
    Can you please help me on the following,
    1) how i can check if the same backup on 24-JUNE-2013 is available on Tape.
    2) If yes how i can restore to Disk.
    Because we need to create a new Clone instance from the backup taken on 24-JUNE-2013.
    We are having 12.1.3 Application on Exalogic and 11.2.0.3 Database on Exadata machine.
    Our support is highly appreciated.
    Thanks

    user11969666 wrote:
    Hi,
    We need to restore the database backup taken through RMAN on 24-JUNE-2013 from tape as this backup is not currently available on disk.
    Can you please help me on the following,
    1) how i can check if the same backup on 24-JUNE-2013 is available on Tape.
    2) If yes how i can restore to Disk.
    Because we need to create a new Clone instance from the backup taken on 24-JUNE-2013.
    We are having 12.1.3 Application on Exalogic and 11.2.0.3 Database on Exadata machine.
    Our support is highly appreciated.
    Thanks
    Your questions are answered in the Backup and Recovery User's Guide -- Contents
    Thanks,
    Hussein

  • Restore to new host from tape

    Hello!
    Oracle 10.2.0.2
    Linux x86 Red Hat Enterprise
    Netbackup 6.0
    Netbackup 6.0 MP5
    Netbackup Oracle Agent
    Production server; 2,5 TB
    Hello
    Id like to restore a backup from tape to another host
    But i am having doubts regarding the restore script, ive done a channel for maintenance with success, so i think netbackup is okey installed.
    Now i want to restore a backup to the new host, witch has been pre-configured with same catalogues, and oracle binaries.
    Before this script i will manually restore spfile and put the database in nomount, and set DBID
    run
    ALLOCATE CHANNEL ch0 type 'SBT_TAPE';
    ALLOCATE CHANNEL ch1 type 'SBT_TAPE';
    RESTORE controlfile from autobackup;
    ALTER DATABASE mount;
    RESTORE database;
    RECOVER database;
    ALTER DATABASE OPEN RESETLOGS;
    RELEASE CHANNEL ch0;
    RELEASE CHANNEL ch1;
    }When i enter this script, i guess netbackup wont allow me to come and claim a backup from someone else, so i have configured netbackup master server to cllow restore to alternate host, and i have configured this new host to trick netbackup that he is the old one (NB_ORA_CLIENT), but im having doubts about the parms parameter in rman, i think i need to define the policy somewhere, but i dont know where. Have any of you completet a similiar task once, then maybe u can shed light on me.
    Thanks!

    siva_pappu wrote:
    Hi,
    Have you tried the restore? If yes and any errors received, post them to get the help.
    Some information is required to finalize the script.
    Up to what time you want to restore and recover? depending on it, you have to use "set the until time " clause.
    you are trying to restore control file from backup, so "RECOVER database" will not work. have to use "recover database using backup control file until scn/until time '<time>'/until scn". To know about all the options, refer manuals, metalink, etc.
    in the env params, I guess policy is not required.
    example script:
    run
    set until time "to_date('10-apr-2010 10:00:00','DD-mon-YYYY hh24:mi:ss')" ;
    ALLOCATE CHANNEL ch0 TYPE 'SBT_TAPE' PARMS 'ENV=(NB_ORA_SERV=master_serv, NB_ORA_CLIENT=client_where_backup_was_taken)';
    ALLOCATE CHANNEL ch1 TYPE 'SBT_TAPE' PARMS 'ENV=(NB_ORA_SERV=see above, NB_ORA_CLIENT=see above)';
    RESTORE controlfile from autobackup;
    ALTER DATABASE mount;
    RESTORE database;
    restore archive log from seq <start number> until seq <end seq> ;
    RECOVER database using backup control file;
    ALTER DATABASE OPEN RESETLOGS;
    RELEASE CHANNEL ch0;
    RELEASE CHANNEL ch1;
    The archive logs required for recovery can be identified from your source database v$archived_log based on the recove until time.
    Thanks,
    SivaOk, i didnt think about that, i guess what i want to do is using backup controlfile until cancel. Wont he go into the tape and find the needed redo logs himself, i did not know that i needed to restore them to my disk before?

  • Restore backupsets from tape.

    Hi,
    We are on a 2 node RAC cluster, ASM. We run backups through rman.
    Scenerio:
    Rman backup runs and create backupsets in ASM diskgroup. We again run a tape backup to backup the backupsets to tape and delete the backupset from disk.
    My question:
    How can i restore the backupsets back to disk, if i have to restore a database?
    I use the following to backup the backupsets to tape:
    backup backupset completed before 'sysdate-2' delete input
    But i'm not sure of what command to use to restore the backupsets back from tape to disk if i need to restore the database? Any help appriciated.
    Thanks
    Karthik

    Hi,
    You are keeping latest backups on disk and in case of any Disk failure, when you run RESTORE/RECOVER it will use the backups from disk.
    In case if RMAN need more files then automatically restores needed archived logs from tape to disk during recovery.
    Please keep backups in a separate ASM diskgroup, which should not contain active database files such as datafiles, control files, and online redo logs.
    Regards,
    Satishbabu Gunukula
    http://oracleracexpert.blogspot.com

  • Restore backup pieces from tape to disk

    Hello,
    I want to restore the backup pieces from tape to disk.   Is there any way of getting those bacup pieces to disk. 
    I have contacted storage team, that they can't copy the files, only through rman utility the files can be used.
    I just need to restore the files from tape to disk.  No, need to restore the database.  I just need this for future purpose...
    Thanks,
    Ramesh G

    You can try to use LIST BACKUP to get the backup piece name and then use Veritas tool to restore the backup piece from tape to disk.

  • RMAN error when restoring controlfile from tape

    Hi,
    We have a Production database with instance name PROD.
    We use Symantec Netbackup software to backup this database to tape library.
    We want to test some recovery scenarios on a test server. So we want to restore the production backups from Tape to this test server.
    We did the following:
    Cloned the ORACLE Home to the Test Server.
    Changed the db_name parameter to PROD and also set ORACLE_SID to PROD.
    then we connected to RMAN and ran the following command to restore the control files:
    RMAN> run {
    set dbid 4155532403
    set controlfile autobackup format for device type 'sbt_type' to '%F';
    set until time "to_date('16/12/2012:10:13:37','dd/mm/yyyy:hh24:mi:ss')";
    allocate channel t1 device type 'sbt_tape';
    SEND 'NB_ORA_SERV=riysvbkp-001,NB_ORA_CLIENT=lh-erp';
    restore controlfile to '/testerp/dbexec/tmp/cf1.ctl' from autobackup;
    executing command: SET DBID
    database name is "PROD" and DBID is 4155532403
    executing command: SET CONTROLFILE AUTOBACKUP FORMAT
    executing command: SET until clause
    allocated channel: t1
    channel t1: SID=171 device type=SBT_TAPE
    channel t1: Veritas NetBackup for Oracle - Release 7.1 (2011082510)
    sent command to channel: t1
    Starting restore at 17-DEC-12
    channel t1: looking for AUTOBACKUP on day: 20121216
    channel t1: AUTOBACKUP found: c-4155532403-20121216-01
    channel t1: restoring control file from AUTOBACKUP c-4155532403-20121216-01
    released channel: t1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 12/17/2012 08:34:41
    ORA-19870: error while restoring backup piece c-4155532403-20121216-01
    ORA-19507: failed to retrieve sequential file, handle="c-4155532403-20121216-01", parms=""
    ORA-27029: skgfrtrv: sbtrestore returned error
    ORA-19511: Error received from media manager layer, error text:
    Failed to process backup file <c-4155532403-20121216-01>
    Here you can see that AUTOBACKUP is found but RMAN is unable to process the backup piece.
    I am not able to see any errors in the log files. Please advise.
    Thanks,
    Muneer.

    Thanks.
    The earlier error is gone and now I am getting the following error:
    channel t1: looking for AUTOBACKUP on day: 20121216
    channel t1: AUTOBACKUP found: c-4155532403-20121216-01
    channel t1: restoring control file from AUTOBACKUP c-4155532403-20121216-01
    released channel: t1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 12/17/2012 14:34:25
    ORA-19870: error while restoring backup piece c-4155532403-20121216-01
    ORA-19507: failed to retrieve sequential file, handle="c-4155532403-20121216-01", parms=""
    ORA-27029: skgfrtrv: sbtrestore returned error
    ORA-19511: Error received from media manager layer, error text:
    Backup file <c-4155532403-20121216-01> not found in NetBackup catalog

  • Restore backup piece from tape to disk?

    Hi,
    Is it possible to restore rman backup piece from tape to disk? Please advice.
    Thanks,

    Is it possible to restore rman backup piece from tape to disk? Please advice.I dont think so it is related with ORACLE database to copy backup pieces from tape to disk.
    You might have any other vendors like veritas, Symmetrix & all. We backup an Oracle database via the TDP application to tape

  • Recovery from Tape

    Hi Guru(s),
    Can any one tell me the procedure that, how to restore a backup data from Tape.
    Because i have taken the database backup on Tape.
    waiting for your kind response.
    Regards,
    Rajeev K

    And how did the rman backup get on tape? Did you have rman write directly to tape or were the rman backup files copied to tape manually?
    If rman wrote the backup directly to tape then rman should be able to restore directly from tape, which means you have an rman compatiable tape management system, which again you have not bothered to identify!
    As a general rule before posting stop and think of everything someone would need to know to answer your question then post that information in your initial post. Often that means the actual Oracle commands in question and Oracle response. If someone asks you three or four questions about your information when you respond do not answer just one or two of the questions but instead provide all requested information.
    If you manually copied the backup files to disk then you just copy them off tape back to the location where the disk files were written by rman and then your use rman to restore the database.
    HTH -- Mark D Powell --

  • Online Backup from Tape failed

    Hi All
    We are trying to restore the online backup from tape the backup device is Netbackup Utility
    Please find below the log
    BR0280I BRRESTORE time stamp: 2011-01-07 16.13.44
    BR0229I Calling backup utility with function 'restore'...
    BR0278I Command output of '/usr/sap/QC4/SYS/exe/run/backint -u PC4 -f restore -i /oracle/QC4/sapbackup/.reeypwkq.lst -t file -p /oracle/QC4/102_64/dbs/initQC
    4.utl':
    Program:                /usr/sap/QC4/SYS/exe/run/backint 5.0GA
    Input File:             /oracle/QC4/sapbackup/.reeypwkq.lst
    Profile:                /oracle/QC4/102_64/dbs/initQC4.utl
    Function:               RESTORE
    BR0386E File '/oracle/PC4/sapdata1/pc4_1/pc4.data1' reported as not found by backup utility
    BR0386E File '/oracle/PC4/sapdata2/pc4_103/pc4.data103' reported as not found by backup utility
    BR0386E File '/oracle/PC4/sapdata1/pc4_64/pc4.data64' reported as not found by backup utility
    BR0386E File '/oracle/PC4/sapdata2/pc4_116/pc4.data116' reported as not found by backup utility
    BR0386E File '/oracle/PC4/sapbackup/cntrlPC4.dbf' reported as not found by backup utility
    BR0280I BRRESTORE time stamp: 2011-01-07 16.13.47
    BR0279E Return code from '/usr/sap/QC4/SYS/exe/run/backint -u PC4 -f restore -i /oracle/QC4/sapbackup/.reeypwkq.lst -t file -p /oracle/QC4/102_64/dbs/initQC4
    .utl': 2
    BR0374E 0 of 161 files restored by backup utility
    BR0280I BRRESTORE time stamp: 2011-01-07 16.13.47
    BR0231E Backup utility call failed
    BR0406I End of file restore: reeypwkq.rsb 2011-01-07 16.13.47
    BR0280I BRRESTORE time stamp: 2011-01-07 16.13.47
    BR0404I BRRESTORE terminated with errors
    Please help us out in rsloving this error
    Regards
    John N

    >
    John Namala wrote:
    > BR0278I Command output of '/usr/sap/QC4/SYS/exe/run/backint -u PC4 -f restore -i /oracle/QC4/sapbackup/.reeypwkq.lst -t file -p /oracle/QC4/102_64/dbs/initQC
    Hi,
    you are restoreing PC4 database on system QC4.
    This requires a netbackup permission configuration to allow client QC4 to access the backup from system PC4.
    Volker

  • Database Restore & Recovery from tape

    Hi Fellows
    I'm about to attempt a recovery from backup tape to a test server, as a 'tape recovery' test. The files I've marked for recovery include (directories including all sub-tree);
    Datafiles directory
    $ORACLE_HOME/sid/ directory where the sid is the database sid
    Control Files
    adump, Bdump, cdump and udump directories
    Archivelogs directory
    Flashrecovery area directory
    Redo logs directory
    initfile and spfile
    With these files recovered (from one point in time), and the dbconsole shut down prior to restore (for the sid) should the database be able to startup afterwards? Is there any other actions I should make? Thanks, David

    Thanks for your responses Alok and Santosh
    I'm pretty sure the files I have selected should be able to recover the database. The recovery, I think is rightly said, can only be done within Oracle. I'll look into a test of RMAN (I know it should be better) recovery once I've tested this as a 'straight from tape' recovery.
    Thanks again, David
    Alok and Santosh
    I thought I'd put this in as 'aftermath' of the attempted recovery;
    I had the server team restore the files stated (basically everything - redo, archivelogs, datafile, controlfiles, init and sp files, even the dump files) - and repalced them into directories made the same as the other server. When I started it, I was able to go into a 'Oracle Suggested' full database recovery, which was successful. I then checked the expdp dump files, 1 taken at the same time of backup as rman - and one directly after the restore), and compared rows - exactly the same. So appears to have worked.
    Many thanks, David
    Message was edited by:
    David_W

  • Restore and recover Oracle 10g database from tape.

    I have a very basic question for restore and recover Oracle 10g database. Our envirnment settings are:
    Oracle 10g on Unix, daily database and archivelog backup to Vista NetBackup server. Retention policy is 2. Old backup files are copied from NetBackup server to the tape for record keeping.
    I want to restore a database to a point in time. Because our retention policy is setup to 2. The backup files I need have been copied to the tape. So I should ask SYSTEM ADMIN to copy the backup files back to NetBackup server disk or I can ask him to copy backup files to the Unix server that host my Oracle 10g database. Then I can use Rman to do restore and recover. Is this doable? I know normal procedure is to copy backup files I need back to NetBackup server disk, not directly back to database server. Please put your comments here as early as better. I do appreciate your kind help.

    853153 wrote:
    I have a very basic question for restore and recover Oracle 10g database. Our envirnment settings are:
    Oracle 10g on Unix, daily database and archivelog backup to Vista NetBackup server. Retention policy is 2. Old backup files are copied from NetBackup server to the tape for record keeping.
    I want to restore a database to a point in time. Because our retention policy is setup to 2. The backup files I need have been copied to the tape. So I should ask SYSTEM ADMIN to copy the backup files back to NetBackup server disk or I can ask him to copy backup files to the Unix server that host my Oracle 10g database. Then I can use Rman to do restore and recover. Is this doable? I know normal procedure is to copy backup files I need back to NetBackup server disk, not directly back to database server. Please put your comments here as early as better. I do appreciate your kind help.For sure it is double work, To copy backup files on UNIX host.
    Are you using catalog or nocatalog?
    If the backup information is out of retention, Catalog them again also in netbackup.
    So that you can able to restore database directly without copying those files to host.

  • Restore FRA from tape backup

    I have got a 2 node RAC cluster.
    I am running RMAN backup connecting to one of the nodes and then running RMAN backups to FRA.
    Since I cannot backup ASM to tapes just like a normal file system, I have configured the MML to backup the FRA to tapes using "backup recovery area" command.
    The FRA backup to tapes is successful.
    Now if ever I need to restore / recover the database, how do I restore my backups from tape.
    ie: I dont see a command to say -> restore recovery area , which will restore the backups to FRA.Or is there a way ?
    If it cannot restore , then what is the point of backing up the FRA to tapes using the above command.
    Any thoughts ?
    AU

    Just try to restore database/tablespace/datafile using usual RMAN commands: RMAN will check if FRA is used and check if related backup is on disk or on tape. If backup is on tape, RMAN will read it using Media Manager Layer (MML) in a transparent way.

  • Recreating ASM & Restoring database

    I have an Oracle 10g R2 server with 2 disk volumes. 1st one is for the OS and the Oracle install and the 2nd one is for the database managed by Oracle ASM. I have a full backup of the database I took using OEM.
    I'm having to rebuild the 2nd disk volume therefore loosing everything on it, but will still have the Oracle install unaffected.
    My question is after rebuilding the disk would it be OK to just create a new ASM group and create a new database. Then just restore the backup on to it using OEM?
    Thanks for your help.

    We're restoring a database from tape using Oracle 10.2.0.5. We explcitely specify the location for every single file with SET NEWNAME FOR DATAFILE X. The files that get restored don't match the NEWNAME format we set it to even though the log says it restored the file to that name. I don't know what's occuring under the hood of ASM, but it appears OMF is coming into play and generating names for the files. it's becoming a problem because when we restart the restore (which occurs often due to size of the database, length of time it takes, and drives going down) we start all over because RMAN doesn't know of the existing files. This doesn't seem to be normal behavior, and I know it's not like this during file based restores.
    Does anyone know what's going on within ASM itself? It appears to be normal behavior when restoring to ASM and the names are later set appropriately after the SWITCH DATAFILE ALL. That's what I think would happen. It's currently a problem restarting restores.Have you enabled OMF? as db_create_file_dest = '+data'
    then if you restore database from tape/disk, it will place all the datafiles as '+data/db_unique_name/datafiles';

  • How to restore (not duplicate) DB from RAC ASM to non ASM

    Hello everybody,
    i am trying to recover db from RAC+ASM to non ASM no RAC node. I am running Oracle 10g (10.2.0.4) on Win2003 Server. I have functional backup from my prod system.
    Here are my steps:
    *1. On prod server i make backup running this script in RMAN*
    configure channel device type 'SBT_TAPE' parms'SBT_LIBRARY=oracle.disksbt,ENV=(BACKUP_DIR=e:\backup)';
    RUN {
    backup device type SBT_TAPE database tag zal20081129;
    SQL 'alter system archive log current';
    backup device type SBT_TAPE archivelog ALL tag zal20081129;
    *2. I prepared clon instance on another server (The same Oracle version) and start it to nomount mode.*
    *3. I copied the backup from prod server to clon server to exactly the same path. (e:\backup)*
    *4. I connect to RMAN on my new node and I use the DBID parameter and I restore controlfile.*
    rman
    connect target /
    set DBID 3079749916
    startup nomount
    run {
    allocate CHANNEL CTAPE DEVICE TYPE 'SBT_TAPE' PARMS'SBT_LIBRARY=oracle.disksbt,ENV=(BACKUP_DIR=f:\backup)';
    allocate channel CDISK DEVICE TYPE DISK;
    restore controlfile from 'f:\backup\78k91lrn_1_1';
    alter database mount;
    *5.Then I check the backup, crosscheck etc.*
    List of Backup Sets
    ===================
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    169 Full 42.78G SBT_TAPE 01:12:54 04-MAR-09
    BP Key: 169 Status: AVAILABLE Compressed: NO Tag: DATAFILES
    Handle: 75k91hcj_1_1 Media:
    List of Datafiles in backup set 169
    File LV Type Ckp SCN Ckp Time Name
    1 Full 928460863 04-MAR-09 +DATA/agost/datafile/system.272.668509367
    2 Full 928460863 04-MAR-09 +DATA/agost/datafile/undotbs1.273.668509387
    3 Full 928460863 04-MAR-09 +DATA/agost/datafile/sysaux.263.668509393
    4 Full 928460863 04-MAR-09 +DATA/agost/datafile/ifsapp_archive_data.298.668509401
    5 Full 928460863 04-MAR-09 +DATA/agost/datafile/ifsapp_archive_index.258.668509401
    6 Full 928460863 04-MAR-09 +DATA/agost/datafile/ifsapp_blob.259.668509401
    7 Full 928460863 04-MAR-09 +DATA/agost/datafile/ifsapp_data.274.668509405
    8 Full 928460863 04-MAR-09 +DATA/agost/datafile/ifsapp_index.275.668509533
    9 Full 928460863 04-MAR-09 +DATA/agost/datafile/ifsapp_report_data.260.668509661
    10 Full 928460863 04-MAR-09 +DATA/agost/datafile/ifsapp_report_index.261.668509661
    12 Full 928460863 04-MAR-09 +DATA/agost/datafile/undotbs2.264.668509661
    13 Full 928460863 04-MAR-09 +DATA/agost/datafile/users.265.668509667
    14 Full 928460863 04-MAR-09 +DATA/agost/datafile/ifsapp_index.270.668510837
    15 Full 928460863 04-MAR-09 +DATA/agost/datafile/ifsapp_index.299.668510843
    16 Full 928460863 04-MAR-09 +DATA/agost/datafile/ifsapp_data.300.668510859
    17 Full 928460863 04-MAR-09 +DATA/agost/datafile/ifsapp_data.301.668510865
    BS Key Size Device Type Elapsed Time Completion Time
    171 1.98G SBT_TAPE 00:02:54 04-MAR-09
    BP Key: 171 Status: AVAILABLE Compressed: NO Tag: ARCHIVE_LOGS
    Handle: 77k91lm2_1_1 Media:
    List of Archived Logs in backup set 171
    Thrd Seq Low SCN Low Time Next SCN Next Time
    1 790 927018133 03-MAR-09 927379509 03-MAR-09
    1 791 927379509 03-MAR-09 927635333 03-MAR-09
    1 792 927635333 03-MAR-09 927804715 03-MAR-09
    1 793 927804715 03-MAR-09 928438198 04-MAR-09
    1 794 928438198 04-MAR-09 928496353 04-MAR-09
    1 795 928496353 04-MAR-09 928496667 04-MAR-09
    2 941 927018173 03-MAR-09 927414357 03-MAR-09
    2 942 927414357 03-MAR-09 927725821 03-MAR-09
    2 943 927725821 03-MAR-09 927747874 03-MAR-09
    2 944 927747874 03-MAR-09 927804436 03-MAR-09
    2 945 927804436 03-MAR-09 928375778 03-MAR-09
    2 946 928375778 03-MAR-09 928460503 04-MAR-09
    2 947 928460503 04-MAR-09 928496341 04-MAR-09
    2 948 928496341 04-MAR-09 928496660 04-MAR-09
    *6. Then I run this script to restore and recover db.*
    run {
    SET UNTIL SEQUENCE 795 THREAD 1;
    SET UNTIL SEQUENCE 948 THREAD 2;
    restore database;
    switch datafile all;
    recover database;
    *7. Everything goes well see under.*
    RMAN&gt; 2&gt; 3&gt; 4&gt; 5&gt; 6&gt; 7&gt;
    executing command: SET until clause
    executing command: SET until clause
    Starting restore at 04-MAR-09
    using channel ORA_DISK_1
    using channel ORA_SBT_TAPE_1
    channel ORA_SBT_TAPE_1: starting datafile backupset restore
    channel ORA_SBT_TAPE_1: specifying datafile(s) to restore from backup set
    restoring datafile 00001 to +DATA/agost/datafile/system.272.668509367
    restoring datafile 00002 to +DATA/agost/datafile/undotbs1.273.668509387
    restoring datafile 00003 to +DATA/agost/datafile/sysaux.263.668509393
    restoring datafile 00004 to +DATA/agost/datafile/ifsapp_archive_data.298.668509401
    restoring datafile 00005 to +DATA/agost/datafile/ifsapp_archive_index.258.668509401
    restoring datafile 00006 to +DATA/agost/datafile/ifsapp_blob.259.668509401
    restoring datafile 00007 to +DATA/agost/datafile/ifsapp_data.274.668509405
    restoring datafile 00008 to +DATA/agost/datafile/ifsapp_index.275.668509533
    restoring datafile 00009 to +DATA/agost/datafile/ifsapp_report_data.260.668509661
    restoring datafile 00010 to +DATA/agost/datafile/ifsapp_report_index.261.668509661
    restoring datafile 00012 to +DATA/agost/datafile/undotbs2.264.668509661
    restoring datafile 00013 to +DATA/agost/datafile/users.265.668509667
    restoring datafile 00014 to +DATA/agost/datafile/ifsapp_index.270.668510837
    restoring datafile 00015 to +DATA/agost/datafile/ifsapp_index.299.668510843
    restoring datafile 00016 to +DATA/agost/datafile/ifsapp_data.300.668510859
    restoring datafile 00017 to +DATA/agost/datafile/ifsapp_data.301.668510865
    channel ORA_SBT_TAPE_1: reading from backup piece 75k91hcj_1_1
    channel ORA_SBT_TAPE_1: restored backup piece 1
    piece handle=75k91hcj_1_1 tag=DATAFILES
    channel ORA_SBT_TAPE_1: restore complete, elapsed time: 01:25:12
    Finished restore at 04-MAR-09
    Starting recover at 04-MAR-09
    using channel ORA_DISK_1
    using channel ORA_SBT_TAPE_1
    starting media recovery
    channel ORA_SBT_TAPE_1: starting archive log restore to default destination
    channel ORA_SBT_TAPE_1: restoring archive log
    archive log thread=1 sequence=794
    channel ORA_SBT_TAPE_1: restoring archive log
    archive log thread=2 sequence=947
    channel ORA_SBT_TAPE_1: reading from backup piece 77k91lm2_1_1
    channel ORA_SBT_TAPE_1: restored backup piece 1
    piece handle=77k91lm2_1_1 tag=ARCHIVE_LOGS
    channel ORA_SBT_TAPE_1: restore complete, elapsed time: 00:02:26
    archive log filename=E:\ORADATA\AGOST\FLASHBACK\AGOST\ARCHIVELOG\2009_03_04\O1_MF_1_794_4TX5D7RD_.ARC thread=1 sequence=794
    archive log filename=E:\ORADATA\AGOST\FLASHBACK\AGOST\ARCHIVELOG\2009_03_04\O1_MF_2_947_4TX5D7OY_.ARC thread=2 sequence=947
    channel default: deleting archive log(s)
    archive log filename=E:\ORADATA\AGOST\FLASHBACK\AGOST\ARCHIVELOG\2009_03_04\O1_MF_2_947_4TX5D7OY_.ARC recid=1563 stamp=680629925
    channel default: deleting archive log(s)
    archive log filename=E:\ORADATA\AGOST\FLASHBACK\AGOST\ARCHIVELOG\2009_03_04\O1_MF_1_794_4TX5D7RD_.ARC recid=1562 stamp=680629925
    media recovery complete, elapsed time: 00:00:13
    Finished recover at 04-MAR-09
    *8. Then when i want to open database*
    using command 'Alter system open resetlogs;' I got this error:
    RMAN&gt;
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of alter db command at 03/05/2009 07:26:03
    RMAN-06003: ORACLE error from target database:
    ORA-00600: internal error code, arguments: [kgeade_is_0], [|http://forums.oracle.com/forums/], [], [|http://forums.oracle.com/forums/], [], [|http://forums.oracle.com/forums/], [], [|http://forums.oracle.com/forums/]
    In the alert log I have got this error: (for every log group)
    ORA-00313: open failed for members of log group 4 of thread 2
    ORA-00312: online log 4 thread 2: '+FLASHBACK/agost/onlinelog/group_4.260.668510637'
    ORA-17503: ksfdopn:2 Failed to open file +FLASHBACK/agost/onlinelog/group_4.260.668510637
    ORA-15001: diskgroup "FLASHBACK" does not exist or is not mounted
    ORA-15077: could not locate ASM instance serving a required diskgroup
    ORA-29701: unable to connect to Cluster Manager
    ORA-00312: online log 4 thread 2: '+DATA/agost/onlinelog/group_4.268.668510633'
    ORA-17503: ksfdopn:2 Failed to open file +DATA/agost/onlinelog/group_4.268.668510633
    ORA-15001: diskgroup "DATA" does not exist or is not mounted
    ORA-15077: could not locate ASM instance serving a required diskgroup
    ORA-29701: unable to connect to Cluster Manager
    So obviouslly database wants to open online logs in the path like ASM. Which is wrong. What should I do to tell database to open it according to init.ora parameters
    *.db_create_file_dest='e:\oradata\agost'
    *.db_create_online_log_dest_1='e:\oradata\agost'
    Any suggestions???
    Thanks

    Hi,
    thanks for you quick answer. But I do restore to the local file system, even if the log says:
    restoring datafile 00001 to +DATA/agost/datafile/system.272.668509367
    restoring datafile 00002 to +DATA/agost/datafile/undotbs1.273.668509387 .....
    all the datafiles are correctly restored. I think oracle uses the parameter db_create_file_dest and creates the files there.
    I tried also the script with SET NEW NAME:
    run {
    Set newname for datafile 1 to 'e:\oradata\AGOST\system.272.668509367';
    Set newname for datafile 2 to 'e:\oradata\AGOST\undotbs1.273.668509387';
    Set newname for datafile 3 to 'e:\oradata\AGOST\sysaux.263.668509393';
    Set newname for datafile 4 to 'e:\oradata\AGOST\ifsapp_archive_data.298.668509401';
    Set newname for datafile 5 to 'e:\oradata\AGOST\ifsapp_archive_index.258.668509401';
    Set newname for datafile 6 to 'e:\oradata\AGOST\ifsapp_blob.259.668509401';
    Set newname for datafile 7 to 'e:\oradata\AGOST\ifsapp_data.274.668509405';
    Set newname for datafile 8 to 'e:\oradata\AGOST\ifsapp_index.275.668509533';
    Set newname for datafile 9 to 'e:\oradata\AGOST\ifsapp_report_data.260.668509661';
    Set newname for datafile 10 to 'e:\oradata\AGOST\ifsapp_report_index.261.668509661';
    Set newname for datafile 12 to 'e:\oradata\AGOST\undotbs2.264.668509661';
    Set newname for datafile 13 to 'e:\oradata\AGOST\users.265.668509667';
    Set newname for datafile 14 to 'e:\oradata\AGOST\ifsapp_index.270.668510837';
    Set newname for datafile 15 to 'e:\oradata\AGOST\ifsapp_index.299.668510843';
    Set newname for datafile 16 to 'e:\oradata\AGOST\ifsapp_data.300.668510859';
    Set newname for datafile 17 to 'e:\oradata\AGOST\ifsapp_data.301.668510865';
    Set newname for tempfile 1 to 'e:\oradata\AGOST\temp.276.668509397';
    SQL "ALTER DATABASE RENAME FILE ''+DATA/agost/onlinelog/group_1.256.668509345'' TO ''e:\oradata\AGOST\REDO01.LOG'' ";
    SQL "ALTER DATABASE RENAME FILE ''+FLASHBACK/agost/onlinelog/group_1.257.668509351'' TO ''e:\oradata\AGOST\REDO02.LOG'' ";
    SQL "ALTER DATABASE RENAME FILE ''+DATA/agost/onlinelog/group_2.257.668509357'' TO ''e:\oradata\AGOST\REDO03.LOG'' ";
    SQL "ALTER DATABASE RENAME FILE ''+FLASHBACK/agost/onlinelog/group_2.258.668509361'' TO ''e:\oradata\AGOST\REDO04.LOG'' ";
    SQL "ALTER DATABASE RENAME FILE ''+DATA/agost/onlinelog/group_3.266.668510623'' TO ''e:\oradata\AGOST\REDO05.LOG'' ";
    SQL "ALTER DATABASE RENAME FILE ''+FLASHBACK/agost/onlinelog/group_3.259.668510627'' TO ''e:\oradata\AGOST\REDO06.LOG'' ";
    SQL "ALTER DATABASE RENAME FILE ''+DATA/agost/onlinelog/group_4.268.668510633'' TO ''e:\oradata\AGOST\REDO07.LOG'' ";
    SQL "ALTER DATABASE RENAME FILE ''+FLASHBACK/agost/onlinelog/group_4.260.668510637'' TO ''e:\oradata\AGOST\REDO08.LOG'' ";
    SET UNTIL SEQUENCE 795 THREAD 1;
    SET UNTIL SEQUENCE 948 THREAD 2;
    restore database;
    switch datafile all;
    recover database;
    But it gives me this error in RMAN:
    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
    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
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    sql statement: ALTER DATABASE RENAME FILE ''+DATA/agost/onlinelog/group_1.256.668509345'' TO ''e:\oradata\AGOST\REDO01.LOG''
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of sql command on default channel at 03/06/2009 10:48:55
    RMAN-20000: abnormal termination of job step
    RMAN-11003: failure during parse/execution of SQL statement: ALTER DATABASE RENAME FILE '+DATA/agost/onlinelog/group_1.256.668509345' TO 'e:\oradata\AGOST\REDO01.LOG'
    RMAN-11001: Oracle Error:
    ORA-00600: internal error code, arguments: [kgeade_is_0], [], [], [], [], [], [], []
    and in alert log i have got this:
    Errors in file c:\oracle\product\10.2.0\admin\agost\udump\agost_ora_3200.trc:
    ORA-00600: internal error code, arguments: [kgeade_is_0], [], [], [], [], [], [], []
    Fri Mar 06 10:48:55 2009
    ORA-600 signalled during: ALTER DATABASE RENAME FILE '+DATA/agost/onlinelog/group_1.256.668509345' TO 'e:\oradata\AGOST\REDO01.LOG' ...
    dont know what to do.
    There must be way how to recover it. I think my first try (without SET NEWNAME) is closer to the end, there is only need to "repair" the online logs.
    Any other suggestions?
    thanks

Maybe you are looking for

  • JDev 10.1.3 compile error in servlet 2.4 web.xml

    I built a Servlet 2.4/JSP 2.0 application in JDev 10.1.3. When I try to make/compile/deploy it the compiler gives me errors like the following for every JSP file that has a JSTL 1.1 taglib: Error(2,9): Element "web-app' used but not declared Error(2,

  • 64-bit Windows 7 on late 2009 iMacs only?

    In the Boot Camp Install-Setup documentation I read: You can use a version of Windows Vista or Windows 7 with any of these Mac computers: - A Mac Pro or MacBook Pro introduced in early 2008 or later - An iMac or MacBook introduced in late 2009 or lat

  • Drag and Drop - Transferable, how to pass a reference? (URGENT)

    I've a tree that supports drag and drop correctly but every time I exchange a node position the old parent instance remaining on the tree is different from the one I was referencing with the dragged child before the drag occurred. I absolutely need t

  • Dates and charting

    Dates Reading 19/12/06 - 21/03/07 273 21/03/07 - 18/05/07 49 18/05/07 - 30/07/07 37 30/07/07 - 18/09/07 24 18/09/07 - 16/10/07 29 Above is a small section of data that I wish to display graphically either as a pie of bar chart or anything that shoes

  • IPhone, Activesync, and OWA SSL Redirection

    I've been banging my head against "Push Mail" since the 2.0 software was released last week. I tried all the answers here, I had Exchange 2003 SP2, my virtual directory was properly configured, OMA working fine, certificate installed on the iPhone, a