Restore achive logs from tape

Hi
I need to restore archive logs from the tape. I am pretty new on this, do i have to go brtools and restore the archive logs or there is a t code in sap that I can recover from that? if it is using brtools, what is step and procedure? do I have to use sqlplus? while I am doing this type of recovery, do I need to shut the dabase down?
please share
thanks

Wei,
You can restore redo logs from below command.
brrestore -a <start_log#>-<end_log#> -c -d util_file -r <Oracle_Home>\database\initSID.utl
If you want to do a restore & recovey you can go for point intime recovery. Here You need to restore online backup & then additionally need to apply redologs which were generated after the online backup.
Check below link for details.
http://help.sap.com/saphelp_nw04/helpdata/en/93/4ffb72309fb04e80ebfefae1b7a96f/frameset.htm
also check below SAP notes which will answers of your questions.
602497 - BRRECOVER - New tool for Oracle Restore and Recovery
Note 4161 - Complete Recovery
Note 23070 - Backup and Recovery: Basic Concepts
Note 4160 - Tape management for recovery
Hope this helps
Thanks
Sushil

Similar Messages

  • Restore ( duplicate) db from tape backup from one server to another server

    I am looking for step by step process to restore (duplicate)db from tape backup from one server to another server
    Thanks

    Creating a Duplicate Database on a Remote Host will provide all the information.

  • 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,

  • 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.

  • 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,

  • 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

  • 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

  • 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.

  • Can restore backupset files from tape library to disk?

    Hi,
    I need to explain my scenario/position:
    We backup our database every night to disk this command:
    configure channel device type disk format "/backup/%d_%T_%s.%U";
    backup filesperset 4 database;
    After backup job is done create a lot of backupset files in /backup directory. And after we backup this backupset files to tape library, this command:
    CONFIGURE CHANNEL DEVICE TYPE 'SBT_TAPE' PARMS 'ENV=(NSR_SERVER=legato, NSR_CLIENT=dbserver)';
    backup device type 'SBT_TAPE' backupset completed after "sysdate-1" format '%d_%T_%s.%U';
    we backed up all backupset files to tape library (SBT_TAPE). And delete backupset files on disk.
    Here my questions:
    How can i restore these backupset files to disk? I dont mean, restore database,datafiles, tablespace etc. I mean restore original backupset files to disks?
    Database version:9.2.0.6 and we use rman catalog database.
    Thanks..

    I'm not sure why manual managment is risky. If you no longer have the music in iTunes (or any other back-up), what difference does manual versus automatic management make? I for one will certainly be the last to argue against backing up files. But I don't see where this is related to how a person chooses to manage their iPod, either manual or auto.
    Scenario 1: Restore iPod, now iPod files are gone, iTunes is empty for whatever reason. Manual versus auto: irrelevant. There's nothing there to manage until iTunes is replenished anyway.
    Scenario 2: Restore iPod, iPod files gone, iTunes still loaded. Manual versus auto: matter of personal preference.
    Scenario 3: iPod is OK, but iTunes is empty for whatever reason. Manual versus auto: ON AUTO, PLUG IN YOUR IPOD AND LOSE EVERYTHING ON IT. On manual, everything on iPod is still safe. Right?
    Sceanrio 4: iPod is OK, iTunes is OK, business as usual. Keep adding songs in iTunes. Manual versus auto: matter of personal preference.
    Scenario 3 is enough to keep me away from auto. I bow to the opinions of all you experienced folks out there, but I've read so many posts from the iPod veterans suggesting to the newbies that they use auto management and back-up their files. I agree with the back-up suggestion, but I whole heartedly disagree that auto management is better and manual management is risky. I don't understand why manual would be more risky than auto. In fact, it seems to me that auto would be more risky.
    I like manual: things aren't happening out of my control. I control what's on iPod, I control what's in iTunes. If I want to add to or delete from one or the other but not both, I have that freedom. I see no risk.
    Can someone explain to me if I'm misunderstanding or missing something?

  • Restore 9i database from tape to 10g ASM

    We have a plan to upgrade 9i database to 10g ASM. The current 9i database is using file systems on AIX5L. This is a VLDB of size >3TB. I want to restore production copy to test environment. There is no test environment for this database now. So, if I want to restore to test, we need 3TB for file systems and another 3TB for ASM disk groups for migration. Instead, Is there any way I can restore production Oracle 9i backup directly into Oracle 10g ASM disk groups. So that, we can save 3TB of space allocation for file systems. Also, it will save time instead restore 9i database to test, upgrade to 10g and then migrate to ASM.
    I agree that this is the space to be allocated temporarily. But, as per our company standards, the project needs to procure temporary space too.

    Boochi wrote:
    We have a plan to upgrade 9i database to 10g ASM. The current 9i database is using file systems on AIX5L. This is a VLDB of size >3TB. I want to restore production copy to test environment. There is no test environment for this database now. So, if I want to restore to test, we need 3TB for file systems and another 3TB for ASM disk groups for migration. Instead, Is there any way I can restore production Oracle 9i backup directly into Oracle 10g ASM disk groups. So that, we can save 3TB of space allocation for file systems. Also, it will save time instead restore 9i database to test, upgrade to 10g and then migrate to ASM.
    I agree that this is the space to be allocated temporarily. But, as per our company standards, the project needs to procure temporary space too.Hi Boochi,
    You cannot restore a 9i RMAN backup into 10G.
    You can use either export/import or transportable tablespace.
    You can use below method:
    1. Use transportable tablespace to migrate 9i to 10G.
    2. Initially migrate all datafiles to filesystem.
    3. Then migrate all datafiles to ASM.
    Apart from this , you have one more option . upgrade existing 9i database to 10G and the use RMAN to restore it to 10G ASM database.
    Regards
    Rajesh

  • RMAN not able to restore archive logs from net backup

    Hello Everybody,
    While trying to restore a datafile and then recover the database, RMAN failed with the following error stack.
    RMAN-03002: failure of recover command at 12/05/2007 09:19:24
    ORA-19870: error reading backup piece arch-s110-p1
    ORA-19615: some files not found in backup set
    ORA-19614: archivelog thread 1 sequence 231 not found in backup set
    ORA-19614: archivelog thread 1 sequence 230 not found in backup set
    ORA-19614: archivelog thread 1 sequence 229 not found in backup set
    But when I do a crosscheck the status is shown as Available. We are using net backup as MML.
    Could you please suggest any alternatives to solve this issue.
    Regards
    Satish V Chandran

    Give some other location than /tmp and see if it works.

  • 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

  • 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';

  • 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 controlfile from tape backup without autobackup setting on

    I am testing a scenraio of restoring control file if we loose all control files.
    My RMAN settings for CONTROLFILE AUTOBACKUP is OFF. But, I have taken a backup of controlfile using 'BACKUP CURRENT CONTROL FILE' .
    When I tried to restore control file. I am receiving following error:
    RMAN> run {
    2> allocate channel c101 type sbt_tape;
    3> restore controlfile ;
    4> }
    allocated channel: c101
    channel c101: sid=153 devtype=SBT_TAPE
    channel c101: VERITAS NetBackup for Oracle - Release 6.0 (2006110304)
    Starting restore at 24-MAY-2007 13:44:59
    using channel ORA_DISK_1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 05/24/2007 13:44:59
    RMAN-06563: control file or SPFILE must be restored using FROM AUTOBACKUP
    My question is, How can I restore control file from tape backup without CONTROLFILE AUTOBACKUP setting ON.
    It sounds like, There is no way we can restore control file from tape backup if you've not set the CONTROLFILE AUTOBACKUP is ON.
    Please advice

    When all controlfiles are lost and a recovery catalog is NOT used, RMAN has no information , where to find the controlfile backup. It's not enough to specify the channel, such a channel could hold many different backups from many different databases. You have tell , which database and which backupset. Modify your run block:
    SET DBID <DBID of the database,for which you want to restore the controlfile>;
    RESTORE CONTROLFILE FROM <name_of_backupiece_which_contains_the_controlfile backup>';
    Werner

Maybe you are looking for

  • HP PSC 1600 All-in-one installing problem

    I just purchased the above all in one from the apple store. I followed all the instructions but when I try to install the printer software by clicking the icon I keep getting the standard: 'There are no devices connected or he device which you have c

  • What accessories do I need with my 3D Plasma TV??

    Do I need to purchase extra cables or features to get the full quality of the TV?  I have a blueray player and Apple TV.  Also does the TV come with a stand? or does that need to be purchased seperate too?

  • Preview working very poorly

    Ugh.  Preview is driving me crazy.  Been this way for a while since upgrading to Mavericks (make that updating).  Cannot scroll through a PDF, and when I try and add notes on a post-it, the text on the screen is so slow that what appears is like 20 k

  • 2921 SIP connection with providers

    Hii, I have cucm10.5 and 2X 2921 routers and I want to now which is the best way to make a SIP Trunk with my providers in order to not use E1 lines anymore. It's more easy to make the SIP from Cucm/providers or directly from router/providers ??? Any

  • Triggers not Fire in Logical Standby

    Hi, I'still have this question even after reading some post in this forum concerning creating Triggers in a Logical Standby Let's see this Case. MY Primary Table A Trigger A1 Fire into > Table A1 MY Logical - Just Created as New Table A Trigger A1 Fi