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

Similar Messages

  • RMAN recovery from tape and disk?

    Hey Guys,
    Here is my scenario: -
    I have Oracle 10g and I am using RMAN to backup to disk and then I use Networker to backup on tapes from disk (retention is set to 30 days on tapes). On RMAN - my retention policy is set to recovery window of 5 days after which it deletes the obsolete backup from disk and updates the control file.
    My Questions:
    1. If I have to recover any datafile or tablespace 20 days ago how can I restore it on Production. Since I am also backing up control files on tapes but my current control file will not have 20 days old information. Is there any way that I can restore my old backup?
    2.How can I test my tape backup which is older than 5 days. In other words how can I restore my database from tape on another server/
    Please suggest.

    If you need to restore the whole database to a point in time that is 20 days old, you "only" need:
    1. to identify the right control file backup
    2. restore this control file backup with Networker
    3. start the instance in mount mode
    4. list required datafiles and archived redo logs backup sets listed in this control file with LIST BACKUP
    5. restore these backup sets with Networker
    6. restore and recover database with RMAN with the right SET UNTIL clause.
    If you need to restore only 1 tablespace, that's Tablespace Point In Time Recovery (TSPITR) and is another story.
    I don't think you can only restore 1 datafile that is 20 days old and leave other datafiles up-to-date (unless there is only 1 datafile in the tablespace and in this case this is TSPITR).

  • 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

  • Disaster Recovery from tape library!

    Hi,
    I am using oracle 10g and Backup Exec 12 as the media management software. How do i perform the disaster recovery. My entire scenario is like this:
    Server A has the DB (Database).
    Configured Backup Exec with RMAN and took full DB backup along with autobackup of controlfile to the tape.
    Server A crashes and is unusable.
    Installs Oracle on server B and needs to restore the DB on this new server.
    I know the DBID of the DB but how to configure RMAN to work with Backup Exec, so that I can restore the db from the tape library?
    When you configure the RMAN integration with Backup Exec, it finds the database running on the server and will perform the integration. But in my case, since the database does not exist, how will the Backup Exec agent configure the integration?
    How do we go about the restoration to Server B in this case?
    Thanks!

    Hi!
    I am still not able to restore the db. The scenario is like:
    Took a full database backup to tape from server A with controlfile autoconfig
    Trying to restore the db on server B. The following is the script used to restore.
    connect target /
    set dbid=152417844;
    startup nomount;
    run
    +{+
    allocate channel sbt1 type 'sbt_tape';
    SEND 'BSA_SERVICE_HOST=ipaddress,NBBSA_TOTAL_STREAMS=1';
    set controlfile autobackup format for device type 'sbt_tape' to 'cf_%F';
    restore spfile from autobackup;
    restore controlfile from autobackup;
    alter database mount;
    restore database;
    recover database;
    release channel sbt1;
    +}+
    alter database open resetlogs;
    When i try to restore, the output is:
    channel sbt1: looking for autobackup on day: 20090624
    channel sbt1: looking for autobackup on day: 20090623
    channel sbt1: looking for autobackup on day: 20090622
    channel sbt1: looking for autobackup on day: 20090621
    channel sbt1: looking for autobackup on day: 20090620
    channel sbt1: looking for autobackup on day: 20090619
    channel sbt1: looking for autobackup on day: 20090618
    channel sbt1: no autobackup in 7 days found
    released channel: sbt1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 06/24/2009 11:19:28
    RMAN-06172: no autobackup found or specified handle is not a valid copy or piece
    Please advice!
    Edited by: Libra DBA on Jun 24, 2009 1:39 PM

  • Oracle recovery from tape backup

    A plea for help fellows,
    Can an a few Oracle tables be recovered using datafile/s that were backed up to conventional tape back up?
    The story is that a few days ago I started trying to recover tables for a warehouse (10.2.0.1.0) that appeared as recovered by using EM and rman script embedded in such that gave me a 'confirmation' that the rows were flashed back. It turns out that the rows were not there (unless something else has to be done after the confirmation message in EM), and this was done on three tables.
    It has now passed the time (apparently) that I can flash back the tables, as I use the SCN for the relevent time to recover (a flashback query) and I get 'ora-01555: snapshot too old' - the undo won't reach back that far. The database is in archivelog mode. It has now reached a point where the data warehouse owner would like the tables back pronto, but only three of hundreds of tables. What is desired by the data warehouse owner is for the tables to be restored to a location where his team members can pick the 'necessary rows to recover' from a restored copy of the tables.
    If I could restore whole tables - to different name, (even unnecessary ones) or even a whole tablespace - different name, the contents could be gotten rid of once it has been scavenged. But the tape restored data file/s would have a different SCN.
    Can someone tell me how this can be done please? What is the level of difficulty?
    Regards, David

    So basically, you want to get 3 tables from an old hot or cold backup taken sometime ago, correct? If so, create another seperate db, restore the old db, recreate the controlfile, recover(if restoring a hot backup), open the db and then export the tables.
    Another option is to use RMAN to restore the db, open the db and perform export.
    You can then, say create another schema in the target db in another tablespace and then import the tables under the new user's schema.
    Hope this helps.

  • Data recovery from corrupt boot partition

    The boot partition on my MacBook running 10.7.6 has a corrupt volume structure and will not mount, much less boot. The recovery partition boots but really doesn't let me do anything. Disk Utility can't repair nor even complete verification. I have lots of images which I need to recover, so am looking for a utility which might help.
    Everything was apparently ok until the failure and the drive hardware checked out ok, so I'm hopeful my files are recoverable. A week or so ago I optimized the volume with TechTool Pro and the directory with DiskWarrior, and last night attempted to sync 1Password on my iPad with 1Password for Mac. This did no t work, probably because of my unfamiliarity with the procedure, but seemed to do no damage. When I ran TTPro last night from its eDrive partition it reported a volume structure problem on the partition which I started to fix with the program but then cancelled the analysis and decided to use disk utility instead. Disk utility also reported a problem but stopped the verification with the instruction to do a repair which it again could not complete. When I rebooted the system partition would again not boot but this time I got grey screen with a message that the debugger had loaded and <panic>. A message box said power down and restart, but that only repeats the process.
    I'm thinking of attempting to install a system on an external boot drive and accessing the corrupt partition with a data recovery utility. Any insights, ideas or shared experiences appreciated. Thanks in advance for any desperately needed help.

    The safest thing to do here is to install a new disk in the system and do a clean install of OS X. From there, you can put your corrupted volume in an external USB enclosure and mount the file system to try and recover as much data as you can.
    It's likely obvious now, but it's REALLY worth investing in a large-capacity external storage or Time Capsure to use with Time Machine. Backups are essential. Hardware always eventually dies. We all need an effective strategy to deal with that.
    A long time ago, I was backing my Linux system up to 4mm DAT. When the inevitable HDD crash came, I thought I was ready. Unfortunately, I hadn't tested recovery from tape and I ended up losing everything. Which is to say, until you know you can restore, you don't even have a backup. I lost thousands upon thousands of photos of my kids growing up.
    BTW, if it is essential that you recover as much as possible, consider taking the disk to a data recovery service. Be warned: It's expensive.

  • Recovery of VHD file from tape immediately gives null error, ID 1001, and job fails.

    I am attempting to recover a VHD from tape.   When I finish the recovery wizard and it starts to create the job, I get an immediate popup error with an ID: 1001 and a "More Information" link that goes to a "page not found" on technet.
     There is no actual errror message or other info in the dialog box.  When I click ok, the dialog and recovery wizard disappear, and no job seems to have been created. 
    I've seen a couple of other posts about this, but didn't find any solutions.  I did run a tape verification against the recovery point in question, and it completed.  (I don't see where it says passed/failed, just completed.  I assume the
    job would have failed if it found a problem?)
    I've also tried a couple of other recovery points, on different tapes, but am getting the same results. 
    Any idea what is going wrong?

    Hi,
    Can you provide DPM version and update rollup version.  Are there any events from MSDPM after the error, if so, can you supply the event details ? 
    As a workaround,  you can restore the VHD by going to Management>Tape Library>Right Click on the Tape>select backup set for the data source containing the VHD and then click on the COPY button.  That will restore to
    a network location and you can then copy it to the hyper-v server and replace the VHD manually.
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. Regards, Mike J. [MSFT]
    This posting is provided "AS IS" with no warranties, and confers no rights.

  • Recovery from imported tape media fails and causes DPM management console to crash with ID: 917

    Hi.
    I have a newly installed DPM 2012 R2 on a Windows 2012 R2 with a standalone dedicated SQL server which is causing me a bit of a headache right now.
    I'm about to restore some files from an imported tape media, the tape is from our previous DPM server (DPM 2010). I have identified the media and cataloged it and i'm able to browse it to choose wich files to restore. But as soon as i try to
    finish up a restore job it causes the console to crash.
    My server is running just fine with backups and restores from i.e tapes that is backed up by this server - no problem there - but imported is not working.
    Below is the message from console when it crashes.
    Connection to the DPM service has been lost.
    Review the application event log for information about a possible service shutdown. Verify that the following services are not disabled:
                DPM
                DPM Replication Agent
                SQLAgent$MSSQLSERVER
                MSSQL$MSSQLSERVER
                Virtual Disk Service
                Volume Shadow Copy
    ID: 917
    Any ideas?
    //Dan

    Hello,
    I am having the exact same problem when trying to restore from tape on our secondary DPM server.  I checked the event viewer and found event ID 943 (even though the console crash shows ID 917).  The event viewer error is below:
    Log Name:      Application
    Source:        MSDPM
    Date:          4/2/2015 9:02:55 AM
    Event ID:      943
    Task Category: None
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      DPM_SERVER_NAME
    Description:
    The description for Event ID 943 from source MSDPM cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
    If the event originated on another computer, the display information had to be saved with the event.
    The following information was included with the event:
    Unable to connect to the DPM database because the database is in an inconsistent state.
    Problem Details:
    <FatalServiceError><__System><ID>19</ID><Seq>98909</Seq><TimeCreated>4/2/2015 2:02:55 PM</TimeCreated><Source>DpmThreadPool.cs</Source><Line>163</Line><HasError>True</HasError></__System><ExceptionType>DBCorruptionException</ExceptionType><ExceptionMessage>DLS
    error:  SP='dbo.prc_ARM_DataSource_GetServerName' Error=50001</ExceptionMessage><ExceptionDetails>Microsoft.Internal.EnterpriseStorage.Dls.DB.DBCorruptionException: DLS error:  SP='dbo.prc_ARM_DataSource_GetServerName' Error=50001
       at Microsoft.Internal.EnterpriseStorage.Dls.DB.SqlRetryCommand.ValidateReturnValue(String errorTitle)
       at Microsoft.Internal.EnterpriseStorage.Dls.PRMCatalog.DatasourceHelper.GetDatasourceServerName(SqlContext sqlCtx, Guid datasourceId)
       at Microsoft.Internal.EnterpriseStorage.Dls.PRMCatalog.PrmCatalog.GetDatasourceServerName(Guid datasourceId)
       at Microsoft.Internal.EnterpriseStorage.Dls.Intent.Datasource.FillAppSpecificPropertiesForFS(ProtectionConfigType protectionConfig)
       at Microsoft.Internal.EnterpriseStorage.Dls.Intent.Datasource.SetDestinationConfig(IMCatalogDB imCatalog, DatasetType dataset, RecoveryInformationType recoveryInformation, RecoveryTaskDefinitionType recoveryTaskDefinition)
       at Microsoft.Internal.EnterpriseStorage.Dls.Intent.Datasource.AddRecoveryTaskDefinitionForDataset(IMCatalogDB imCatalog, JobTranslator jobTranslator, DatasetType dataset, RecoveryInformationType recoveryInformation, Boolean additionalRestore, Boolean
    isSerial, Guid parentTaskDefId)
       at Microsoft.Internal.EnterpriseStorage.Dls.Intent.Datasource.GenerateRecoveryTaskDefinitions(IMCatalogDB imCatalog, JobTranslator jobTranslator, RecoveryInformationType recoveryInformation, Guid parentTaskDefId)
       at Microsoft.Internal.EnterpriseStorage.Dls.Intent.RecoveryTranslator.GenerateRecoveryTaskDefinitionsRecursively(IMCatalogDB imCatalog, JobTranslator jobTranslator, RecoveryInformationType recoveryInformation, Guid parentTaskDefId)
       at Microsoft.Internal.EnterpriseStorage.Dls.Intent.RecoveryTranslator.GenerateRecoveryTaskDefinitions(IMCatalogDB imCatalog, RecoveryInformations recoveryInformations)
       at Microsoft.Internal.EnterpriseStorage.Dls.Intent.RecoveryTranslator.StartRecovery(Guid jobDefinitionId, Guid jobId, RecoveryInformations recoveryInformations, AdhocJobsContext jobContext)
       at Microsoft.Internal.EnterpriseStorage.Dls.Intent.RecoveryTranslator.StartRecovery(String recoveryXml, Guid jobDefinitionId, Guid jobId, AdhocJobsContext jobContext)
       at Microsoft.Internal.EnterpriseStorage.Dls.Engine.CIntentServices.TriggerRecovery(UInt16* bstrIMCatalogXml, _GUID jobDefinitionId, _GUID jobId, AdhocJobsContext jobContext)
       at Microsoft.Internal.EnterpriseStorage.Dls.Engine.CCoreServices.TriggerRecovery(CCoreServices* , UInt16* bstrRecoveryInformationXml, _GUID jobDefinitionId, _GUID jobId, UInt16* bstrJobContextXml, tagSAFEARRAY** exceptionResult)</ExceptionDetails></FatalServiceError>
    the message resource is present but the message is not found in the string/message table
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="MSDPM" />
        <EventID Qualifiers="0">943</EventID>
        <Level>2</Level>
        <Task>0</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2015-04-02T14:02:55.000000000Z" />
        <EventRecordID>17544</EventRecordID>
        <Channel>Application</Channel>
        <Computer>DPM_SERVER_NAME</Computer>
        <Security />
      </System>
      <EventData>
        <Data>Unable to connect to the DPM database because the database is in an inconsistent state.
    Problem Details:
    &lt;FatalServiceError&gt;&lt;__System&gt;&lt;ID&gt;19&lt;/ID&gt;&lt;Seq&gt;98909&lt;/Seq&gt;&lt;TimeCreated&gt;4/2/2015 2:02:55 PM&lt;/TimeCreated&gt;&lt;Source&gt;DpmThreadPool.cs&lt;/Source&gt;&lt;Line&gt;163&lt;/Line&gt;&lt;HasError&gt;True&lt;/HasError&gt;&lt;/__System&gt;&lt;ExceptionType&gt;DBCorruptionException&lt;/ExceptionType&gt;&lt;ExceptionMessage&gt;DLS
    error:  SP='dbo.prc_ARM_DataSource_GetServerName' Error=50001&lt;/ExceptionMessage&gt;&lt;ExceptionDetails&gt;Microsoft.Internal.EnterpriseStorage.Dls.DB.DBCorruptionException: DLS error:  SP='dbo.prc_ARM_DataSource_GetServerName'
    Error=50001
       at Microsoft.Internal.EnterpriseStorage.Dls.DB.SqlRetryCommand.ValidateReturnValue(String errorTitle)
       at Microsoft.Internal.EnterpriseStorage.Dls.PRMCatalog.DatasourceHelper.GetDatasourceServerName(SqlContext sqlCtx, Guid datasourceId)
       at Microsoft.Internal.EnterpriseStorage.Dls.PRMCatalog.PrmCatalog.GetDatasourceServerName(Guid datasourceId)
       at Microsoft.Internal.EnterpriseStorage.Dls.Intent.Datasource.FillAppSpecificPropertiesForFS(ProtectionConfigType protectionConfig)
       at Microsoft.Internal.EnterpriseStorage.Dls.Intent.Datasource.SetDestinationConfig(IMCatalogDB imCatalog, DatasetType dataset, RecoveryInformationType recoveryInformation, RecoveryTaskDefinitionType recoveryTaskDefinition)
       at Microsoft.Internal.EnterpriseStorage.Dls.Intent.Datasource.AddRecoveryTaskDefinitionForDataset(IMCatalogDB imCatalog, JobTranslator jobTranslator, DatasetType dataset, RecoveryInformationType recoveryInformation, Boolean additionalRestore, Boolean
    isSerial, Guid parentTaskDefId)
       at Microsoft.Internal.EnterpriseStorage.Dls.Intent.Datasource.GenerateRecoveryTaskDefinitions(IMCatalogDB imCatalog, JobTranslator jobTranslator, RecoveryInformationType recoveryInformation, Guid parentTaskDefId)
       at Microsoft.Internal.EnterpriseStorage.Dls.Intent.RecoveryTranslator.GenerateRecoveryTaskDefinitionsRecursively(IMCatalogDB imCatalog, JobTranslator jobTranslator, RecoveryInformationType recoveryInformation, Guid parentTaskDefId)
       at Microsoft.Internal.EnterpriseStorage.Dls.Intent.RecoveryTranslator.GenerateRecoveryTaskDefinitions(IMCatalogDB imCatalog, RecoveryInformations recoveryInformations)
       at Microsoft.Internal.EnterpriseStorage.Dls.Intent.RecoveryTranslator.StartRecovery(Guid jobDefinitionId, Guid jobId, RecoveryInformations recoveryInformations, AdhocJobsContext jobContext)
       at Microsoft.Internal.EnterpriseStorage.Dls.Intent.RecoveryTranslator.StartRecovery(String recoveryXml, Guid jobDefinitionId, Guid jobId, AdhocJobsContext jobContext)
       at Microsoft.Internal.EnterpriseStorage.Dls.Engine.CIntentServices.TriggerRecovery(UInt16* bstrIMCatalogXml, _GUID jobDefinitionId, _GUID jobId, AdhocJobsContext jobContext)
       at Microsoft.Internal.EnterpriseStorage.Dls.Engine.CCoreServices.TriggerRecovery(CCoreServices* , UInt16* bstrRecoveryInformationXml, _GUID jobDefinitionId, _GUID jobId, UInt16* bstrJobContextXml, tagSAFEARRAY** exceptionResult)&lt;/ExceptionDetails&gt;&lt;/FatalServiceError&gt;
    </Data>
        </EventData>
    </Event>
    I'm guessing if you checked your event viewer, you would have the same error after the crash.  I'm hoping Microsoft has a fix for this besides restoring the database...

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

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

  • 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

  • RMAN Backup Restore from tape

    Hello Gurus
    We have lvl0 RMAN database backup restored from tape but due to some reasons we could not apply recovery on it. On checking the information in controlfile, it identified only the system file and no other file. So, we recreated the controlfile and decided to recover using backup controlfile option (until cancel or until change or until time). However, to my surprise, when I listed the checkpointchange# and checkpoint_time columns of v$datafile_header, I found the difference in timestamps ranging 24 hrs -- which menat we had to apply 24 hrs of archiving to bring all dbfs to a consistent state (before it allowed us to open the db) -- so far so good, it worked that way.
    My question is that, while I trigger a lvl0 RMAN backup at say 4PM on 27th July and it finishes on 4PM on 28th July (as I am directly pushing around 1 TB data to tapes) -- what is the consistency timestamp of this backup. In other words, is this backup available for a restore of 4PM 27th July? Or is it available only for a restore of 4PM 28th July and later ...?
    Isn't it that RMAN works at block level and when I fire a backup it should give me all the dbf's of that timestamp..?
    Appreciate your inputs/comments.

    When taking a online backup with RMAN, the datafiles backup is always inconsistent because it needs the archived redo logs generated during the backup to be consistent: http://download.oracle.com/docs/cd/B19306_01/backup.102/b14192/intro005.htm#sthref70.
    A full online backup can only be used to restore the database to a point in time starting after backup end: if a backup starts at 4PM on 27th July and it finishes on 4PM on 28th July you can use it to restore the database to a point in time after 28-JUL 4PM.

  • RMAN RESTORE FROM TAPE DIRECTLY

    Dear All,
    We are in the process of testing the restore functionality of our production Db. The Backup is taken by Rman which is integrated with Netbackp. The backup files are directly going to the Tape storage.
    Scenario
    1. We need to restore the backup into a different host which doesn't have access to the Netbackup server and Production Db (Its a DR site)(DR excercise).
    2. System team can provide the tape on the standby server.
    Concerns
    1. How can i proceed with restore in the secondary host.
    2. Is there any way to read the backup pieces from Tape and catalog it using rman
    If any come across this scenario, kindly share me the solution.
    Thanks in Advance

    If it is a NETBACKUP device, you can't restore without NETBACKUP. Well, there have been articles written on howto, but they all seem to end in "I just installed netbackup, imported the tape and restored from there."
    I NEVER, EVER backup directly to tape - always to disk - most frequently with enough space to store 2 full backups plus enough archivelog file space to span before and after those backups, then sweep the backup location to tape. Recovering from tape can take 50-150% longer. If you use NETBACKUP, install it where it is needed. Going "cheap" could potentially cost the company more in downtime, than the licenses would have costs. If you NEED data, you NEED licenses to run the tools required to recover from a disaster.
    The sad part is that should a catastrophic failure occur, it is usually at the most inopportune time.
    Companies should treat their data [required to run their business] with the same security and backup strategies as if it was cash in the bank. I have seen a very large company literally throw away over $8M in unrecoverable orders due to impatience with bringing a system back online and not allowing the proper recovery processes to occur. Not having the proper licenses would fall into this category. Can your company afford to lose $8M in income?
    Sounds like your company really needs a Business Continuity Review of your DR processes and procedures.
    onedbguru - CISSP.

Maybe you are looking for

  • Wireless printing from mixed Mac (10.6) and Windows 7 network

    My wife's five-year-old iBook is on its last legs and her demands just don't justify dropping a grand on a Macbook, sadly. I'm looking at a $500 Wintel laptop running Windows 7 Home. Will she be able to print to the printers connected to the AX witho

  • Header and Footer for PDF with images using itext.jar

    HeaderFooter class was available in itext.jar ,I tried using this class with PDFtemplate and Phrase i am trying to put the image on the header and footer ,however the image comes perfectly for the first page ,its not applicable for the second or cont

  • Is it possible to do an identical Photoshop brush-type edit on a two virtual Lightroom copies?

    I cant see how it's possible but I thought I'd ask.  I took a promo portrait of a book author that needs to be in color and b&w depending on where it will be used (b&w on the book sleave, color on a flyer, etc).    I have a vitual copy for the b&w im

  • Turn off Callforwarding in iPhone 4

    My iiPhone 4 keeps call forwarding to my home phone.  While I see a setting for callforwarding in the iPhone 5, I do not see one for iPhone 4. I have tried entering *73 on my phone.

  • Black frames after export media

    Hi All, I have problem with Adobe Premiere and exporting media. When I export Media (MXF IMX50 8 audio channels) I have black frames in my exported video clip. (It happens for 10% of exported video clips). On my time line I just trim video clip on be