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

Similar Messages

  • Steps to restore RMAN backups from tape to disk

    Hi All,
    using Netbackup Veritas Volume
    DB:10.2.0.3.0
    OS:AIX 64 bit
    Could nayone please share the steps to - restore RMAN backups from tape to disk.
    An early reply would be appreciated!!
    Thanks for your time!
    Regards,

    Hi,
    I went through as per your action plan it is giving below error I found a solution on meta doc id 559190.1 but i am not able to understant how to start observiced as it is mentioned in the doc id.
    allocated channel: t1
    channel t1: sid=2386 devtype=SBT_TAPE
    channel t1: Data Protection for Oracle: version 5.4.1.0
    Starting restore at 09-MAY-10
    channel t1: looking for autobackup on day: 20100509
    released channel: t1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 05/09/2010 11:57:01
    ORA-27191: sbtinfo2 returned error
    Additional information: 2
    RMAN>
    Thanks,

  • Restoring RMAN backup from tape beyond retention policy ??

    Hello Friends,
    I just stuck in some basic finding. Need your help to resolve the questions.
    How we can use RMAN backup to restore oracle database when the RMAN backup pushed to tape already and being a OLD backup ( before retention policy date).
    Just to elaborate a more..  Say my retention policy is 3 days. I want to restore from a old backup  like 30 days old.
    So surely the requesting backup is behind retention date and has been pushed to tape.
    Please suggest.
    Thanks in advance.
    Regards
    Sinha.

    dba.arnab wrote:
    Hello Friends,
    I just stuck in some basic finding. Need your help to resolve the questions.
    How we can use RMAN backup to restore oracle database when the RMAN backup pushed to tape already and being a OLD backup ( before retention policy date).
    Just to elaborate a more..  Say my retention policy is 3 days. I want to restore from a old backup  like 30 days old.
    So surely the requesting backup is behind retention date and has been pushed to tape.
    Please suggest.
    Thanks in advance.
    Regards
    Sinha.
    Assuming the actual backup files still exist (the only thing actually deleted is the record of them in the catalog), you can make those files available and use the rman 'catalog' command to re-catalog them.

  • Restore RMAN backup from tape

    I have to restore the RMAN full backup from tape to new host to a previous date say March 1st. My target database RMAN retention period is 28 days, today is 11th May.
    Is it possible to restore the obsolete database from tape backup to new host as of May 1st. If not possible, I would like to restore the available backup say as 15th April from tape to new host.
    Can you please provide me the steps to restore the tape old backup to new host.
    Thanks,
    Mahi

    Can't read documentation? You also seem to be unable to mark questions as answered
    Mahi      
         Newbie
    Handle:      Mahi
    Status Level:      Newbie
    Registered:      Nov 24, 2010
    Total Posts:      24
    Total Questions:      15 (13 unresolved)
    Sybrand Bakker
    Senior Oracle DBA

  • Rman Backup in Tape - Restore

    Hi All,
    This's my scenario.
    I am using oracle 10gR2 on solaris 10. I configured Rman for my database. I ran the backup command on monday and again tuesday and again today also.
    All backups are stored in tape not disk. now I have a problem, so I want to restore the Monday backup from tape.
    How to tell these to Rman. If I simply mentioned the restore command, hope Rman will restore the latest backup. But I want to restore the Monday Backup.
    Could you anyone help me on this..
    Many Thanks
    Senthil

    when ever you are recovering the database to certain time,certain scn then it is a incomplete recovery only.
    after completing the recovery by specifying until time or until SCN oracle will not allow you to open the database.
    It will ask you to open the database in resetlog mode.
    The step which admin given is correct one but after that you have to open the db in resetlog mode
    Edited by: PrafullaNath on May 19, 2010 4:28 PM

  • 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

  • Restore the backup from tape to some other server

    Dear All,
    I need to restore the backup from tape to some other server.PLease suggest the command and setp to do that.
    Regards,
    Kumar

    Hi,
    I went through as per your action plan it is giving below error I found a solution on meta doc id 559190.1 but i am not able to understant how to start observiced as it is mentioned in the doc id.
    allocated channel: t1
    channel t1: sid=2386 devtype=SBT_TAPE
    channel t1: Data Protection for Oracle: version 5.4.1.0
    Starting restore at 09-MAY-10
    channel t1: looking for autobackup on day: 20100509
    released channel: t1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 05/09/2010 11:57:01
    ORA-27191: sbtinfo2 returned error
    Additional information: 2
    RMAN>
    Thanks,

  • How to check the size of rman backups to tape

    instead of asking tsm person to check, how do I check how big is a rman backup sent to tape?

    query to find the backupset sizes
    SQL> select ctime "Date"
      2       , decode(backup_type, 'L', 'Archive Log', 'D', 'Full', 'Incremental') backup_type
      3       , bsize "Size MB"
      4  from (select trunc(bp.completion_time) ctime
      5          , backup_type
      6          , round(sum(bp.bytes/1024/1024),2) bsize
      7     from v$backup_set bs, v$backup_piece bp
      8     where bs.set_stamp = bp.set_stamp
      9     and bs.set_count  = bp.set_count
    10     and bp.status = 'A'
    11     group by trunc(bp.completion_time), backup_type)
    12  order by 1, 2;
    Date      BACKUP_TYPE    Size MB
    03-JUL-10 Archive Log       7.31
    03-JUL-10 Full             29.81
    03-JUL-10 Incremental    2853.85
    04-JUL-10 Archive Log       3.59
    04-JUL-10 Full              7.45
    04-JUL-10 Incremental       3.05

  • Problem when restoring Backup from Tape...

    Hi
    I am getting the following error when I am trying to restore a backup from Tape on AIX system:
    BR0279W Return code from 'LANG+C cd /oracle/RSD/sapbackup && LANG=C cpio -iuvB .tape.hdr0 < /dev/rmt0': 0
    BR0359W Restore of /oracle/RSD/sapbackup/.tape.hdr0 from /dev/rmt0 failed due to previous errors
    BR0218W Checking label on volume in device /dev/rmt0 failed
    BR0236I Perfhaps volume initialization with option '-i force' required
    I have initialized the tape before backup to label RSDB05 which I used while taking the backup.
    When I initialized the tape as mentioned above with '-i force' then while restoring there is problem of timestamp.
    How to restore the backup from tape now.
    Regards
    Chin2

    Dear Ahamad,
    In this command " brrestore -b xxxx.anf -m all -p /oracle/TRG/102_64/dbs/initSRC.sap " you are calling parameter file of source system initSRC.sap in which system is checking parameter/option 'compress_dir'. Please check if its same. Why you have replaced the SSID with TSID its not required at all.
    Please follow these steps....
    Place xxxxx.anf file in backup directory. check for parameters in initSID.sap file of TRG system. It should be the same as of SRC system.
    Try again and post result if you are getting any error.
    Regds
    Anil

  • HOW CAN I RESTORE MY ITUNES BACKUP FROM MY MAC BOOK TO MY DESKTOP MAC?

    HOW CAN I RESTORE MY ITUNES IPHONE BACKUP FROM MY MAC BOOK TO MY DESKTOP MAC? THE REASON IS BECAUSE I HAVE TEXTFREE TEXT MESSAGES THAT I NEED FOR MY ATTORNEY AND WHEN I RESTORE IT FROM MY MACBOOK IT DOESNT INSTALL THE TEXTFREE BECAUSE I HAD DELETED ALL MY APPS IN ITUNES FROM IT. I HAVE ALL THE APPS ON MY DESKTOP MAC BUT I NEED TO KNOW HOW TO EXTRACT ONLY THE BACKUPS FROM THE MACBOOK AND IMPORT TO MY MAC DESKTOP. THE DESKTOP MAC IS THE ONE THAT HAS ALL OF MY LATEST BACKUPS. PLEASE SOMEONE HELP IF YOU KNOW THE ANSWER. THANKYOU

    Easy. Copy it from the old Mac to the new one.
    There are a variety of techniques including Setup Assistant (as soon as you get your new MacBook Air, it will ask you if you want to transfer information from another computer), Migration Assistant (if you elect to transfer information later), enabling file sharing between the two computers, or copying your music to a flash drive or other storage device followed by importing it to iTunes.
    iTunes: How to move your music from one computer to another
    Once your music library and everything else you want to transfer from the MacBook Pro resides on the new MBA, sync your iPod to the MBA. Sync the iPhone too when you get it, and they will both have identical iTunes music libraries.

  • HT1495 how to restore iphon-without backup, after it synchronization from ipod

    how to restore iphon-without backup, after it synchronization from ipod

    Thanks Eric,
    After inserting the original DVD I installed OSX and after reboot I had a working computer.
    There was no opportunity to restore the TM backup. however when I rebooted from the
    DVD again I saw that possibility from a menu of the install utility.
    I ran through the restore over night (8 hours) and when I woke up, I had my computer back!
    Thanks for helping me out.
    Cheers, Rob

  • HT1711 I backed up my iphone5 in the morning and later again on the same day, in the afternoon. I then restored an older backup from the morning. Now all my music files refuse to play even though they still appear on iphone. How can I resolve this?

    I backed up my iphone5 in the morning and later again on the same day, in the afternoon. I then restored an older backup from the morning. Now all my music files refuse to play even though they still appear on iphone. How can I resolve this?

    Most likely you have Office 2004 which are PPC-only applications and will not work in Lion. Upgrade to Office 2011. Other alternatives are:
    Apple's iWork suite (Pages, Numbers, and Keynote.)
    Open Office (Office 2007-like suite compatible with OS X.)
    NeoOffice (similar to Open Office.)
    LibreOffice (a new direction for the Open Office suite.)

  • How to restore using increment backup after full backup restore in RMAN?

    Hi All,
    We have a files of full backup of database after turning on the Archive log.
    And after that, daily incremental backup is taken.
    Now, i want to restore the the database into a new machine using both files of full and incremental backups. Can anybody give me script for restore of full backup and after that restore of incremental backup?
    Thanks,
    Praveen.

    Praveen,
    >>
    In my case, i have 2 sets of backups. One is full backup and other is incremental backup. In order to keep the restored database upto date, i need to restore the full backup and then restore incremental backup. Now, i got any idea how to restore using full backup. My doubt is how to update the restored database with incremental backup also?
    >>
    Restore always looks for level 0 backup, not the incremental backups.
    Incremental backups comes in picture during recovery.
    During Recovery, Oracle looks for incremental backups, if exists, it will do the recovery with the incremental backups, if no incremental backups available, then, it will look for archived logs.
    Therefore, incremental backups never used during restore, they are used only during the recovery.
    Jaffar

  • RMAN backup in tapes

    Hi
    We have R12.0.6 with 10.2.0.4 database.
    The RMAN backup is daily we are taking to tapes.
    Now how can i restore the backup from tapes? to create a duplicate database.
    Thanks
    Shaik

    We have R12.0.6 with 10.2.0.4 database.
    The RMAN backup is daily we are taking to tapes.
    Now how can i restore the backup from tapes? to create a duplicate database.Creation Of Rman Duplicate Without Target And Recovery Catalog Connection. [ID 1113713.1]
    Backup and Recovery
    http://www.oracle.com/pls/db102/portal.portal_db?selected=3
    Thanks,
    Hussein

  • 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

Maybe you are looking for

  • Difference Between JMS and RMI

    Difference Between JMS and RMI in J2EE Technologies

  • How do I create an anamorphic viewer with QT7 Pro?

    I have video that is anamorphic (16:9). I can't figure out how to create a viewer size that will show the movie without having to letterbox it. Is there an anamorphic selection in Quicktime 7 Pro that I am missing? I am using the H.264 codec. Thanks

  • IMac 24'' & 802.11N

    Hi, I've bought an iMac 24'' in June (White on), I would like to know if it has 802.11n compatible card in it ? Thanks

  • Spool request with more than 255 columns

    Hi, Please let me know what formatting type has to be used to have spool output with more than 255 lines. X_24_80_JP        L      ANY           00024   00080   ABAP list HR Japan: At least 24 rows by 80 columns X_44_120          L      ANY          

  • Help ! Cannot retrieve Object table data from Oracle 8i

    Dear All, Created the object and object table in SQL*Plus. If query from SQL*Plus, return rows selected. But if query from SQL*Plus worksheet and ODBC Test program, return "0 rows selected". Similary, if created the object and object table in SQL*Plu