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.

Similar Messages

  • 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

  • Windows Server 2012 - Backup failing with Exchange - The application will not be available for recovery from this backup. the consistency check failed

    Hi
    We have a Windows 2012 server with Exchange 2013, all is working fine except now i am getting issues with the backup.
    'Exchange - The application will not be available for recovery from this backup. the consistency check failed for the component Microsoft Exchange Server'
    I have checked the database all is fine, i have created a new db and move all mailbox;s over and then removed the old db, i have enabled circular logging and then disabled it, it seems no matter what i do i cannot get a full backup!
    i did have to restore the server once and the backups still worked for about 4 days after that and then stopped, i have also tried to remove and re add the backup role!
    i am stumped, any advice would be great!

    Hi
    Ok, i created a test db and tried to back it up right away, it failed, i did not add any mailbox's to it either. i got quite a few events in the windows logs, as well as the same event above i got the following:
    Log Name:      Application
    Source:        MSExchangeRepl
    Date:          21/01/2013 10:16:30
    Event ID:      2038
    Task Category: Exchange VSS Writer
    Level:         Warning
    Keywords:      Classic
    User:          N/A
    Computer:      NERDS-DC01.nerds.local
    Description:
    Microsoft Exchange VSS Writer backup failed. No log files were truncated. Instance 75754d0d-8dfe-4909-8beb-5a4f824254a9. Database 4843b37c-7b3c-42b2-8b57-1393615c2c15.
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="MSExchangeRepl" />
        <EventID Qualifiers="32772">2038</EventID>
        <Level>3</Level>
        <Task>2</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2013-01-21T10:16:30.000000000Z" />
        <EventRecordID>261645</EventRecordID>
        <Channel>Application</Channel>
        <Computer>NERDS-DC01.nerds.local</Computer>
        <Security />
      </System>
      <EventData>
        <Data>75754d0d-8dfe-4909-8beb-5a4f824254a9</Data>
        <Data>4843b37c-7b3c-42b2-8b57-1393615c2c15</Data>
      </EventData>
    </Event>
    AND
    Log Name:      Application
    Source:        MSExchangeRepl
    Date:          21/01/2013 10:16:30
    Event ID:      2038
    Task Category: Exchange VSS Writer
    Level:         Warning
    Keywords:      Classic
    User:          N/A
    Computer:      NERDS-DC01.nerds.local
    Description:
    Microsoft Exchange VSS Writer backup failed. No log files were truncated. Instance 75754d0d-8dfe-4909-8beb-5a4f824254a9. Database db5826f3-1029-4219-ad80-441a0e94537a.
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="MSExchangeRepl" />
        <EventID Qualifiers="32772">2038</EventID>
        <Level>3</Level>
        <Task>2</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2013-01-21T10:16:30.000000000Z" />
        <EventRecordID>261646</EventRecordID>
        <Channel>Application</Channel>
        <Computer>NERDS-DC01.nerds.local</Computer>
        <Security />
      </System>
      <EventData>
        <Data>75754d0d-8dfe-4909-8beb-5a4f824254a9</Data>
        <Data>db5826f3-1029-4219-ad80-441a0e94537a</Data>
      </EventData>
    </Event>
    and
    Log Name:      Application
    Source:        MSExchangeRepl
    Date:          21/01/2013 10:16:30
    Event ID:      2034
    Task Category: Exchange VSS Writer
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      NERDS-DC01.nerds.local
    Description:
    The Microsoft Exchange Replication service VSS Writer (Instance 75754d0d-8dfe-4909-8beb-5a4f824254a9) failed with error FFFFFFFC when processing the backup completion event.
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="MSExchangeRepl" />
        <EventID Qualifiers="49156">2034</EventID>
        <Level>2</Level>
        <Task>2</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2013-01-21T10:16:30.000000000Z" />
        <EventRecordID>261649</EventRecordID>
        <Channel>Application</Channel>
        <Computer>NERDS-DC01.nerds.local</Computer>
        <Security />
      </System>
      <EventData>
        <Data>75754d0d-8dfe-4909-8beb-5a4f824254a9</Data>
        <Data>FFFFFFFC</Data>
      </EventData>
    </Event>
    and
    Log Name:      Application
    Source:        SPP
    Date:          21/01/2013 10:16:30
    Event ID:      16389
    Task Category: None
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      NERDS-DC01.nerds.local
    Description:
    Writer Microsoft Exchange Writer experienced retryable error during shadow copy creation. Retrying...  More info: .
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="SPP" />
        <EventID Qualifiers="0">16389</EventID>
        <Level>2</Level>
        <Task>0</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2013-01-21T10:16:30.000000000Z" />
        <EventRecordID>261650</EventRecordID>
        <Channel>Application</Channel>
        <Computer>NERDS-DC01.nerds.local</Computer>
        <Security />
      </System>
      <EventData>
        <Data>Microsoft Exchange Writer</Data>
        <Data>
        </Data>
        <Data>The writer experienced a transient error.  If the backup process is retried, the error may not reoccur. (0x800423F3)</Data>
        <Data>
        </Data>
        <Binary>00000000A5120000981200000000000042BEB7C511CAC619E59C92030000000000000000</Binary>
      </EventData>
    </Event>

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

  • Hard disk crashed, restored data from tape backup, Firefox not showing bookmarks. What is the location of bookmarks & favourites to ensure I have restored the correct file?

    Hard disk crashed (XP), restored files from tape backup using Retrospect onto new Windows 7 laptop. Started up Mozilla after restore but bookmarks and favourites are missing.
    I still have access to the backup tape and files. I was wondering whether the bookmarks are kept anywhere special other than the Mozilla program file that I restored.

    http://support.mozilla.com/en-US/kb/Recovering+important+data+from+an+old+profile

  • 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

  • Restore from Tape Backup

    Hi All,
    Oracle Ver. 10.2.0.4 on Sun-Solaris 9.
    Need to do a restore and recover on the DR site using the tape backups from production site.
    The path and file names are same in both sites.
    In the DR site only the Oracle server software is installed. There are no oracle files/database.
    Will a incomplete recovery solve the issue?
    What will be the steps in RMAN.?

    Hi,
    If you know the location of the controlfile autobackup than
    restore the spfile and controlfile first.
    Than mount the controlfile and restore and recover the database to a PIT, sequence or SCN.
    You can find a lot of examples of commands in this forum.
    Regards,
    Tycho

  • How to do media recovery from cold backup?????????/

    Hi
    i take cold backup of my 9i database ....
    in case my database is up .....
    how will i recover my database if i lose a single database file and i want to recover it from cold backup......
    Thanks in advance
    Gagan

    Here you go
    These are the steps:
    1. Restore the lost file from a backup.
    2. If the database is down, mount it.
         SVRMGR> STARTUP MOUNT PFILE=<location_of_pfile>;
    3. Issue the following query:
    SVRMGR> SELECT V1.GROUP#, MEMBER, SEQUENCE#,
    FIRST_CHANGE#
    FROM V$LOG V1, V$LOGFILE V2
    WHERE V1.GROUP# = V2.GROUP# ;
    This will list all your online redolog files and their respective
    sequence and first change numbers.
    4. If the database is in NOARCHIVELOG mode, issue the query:
         SVRMGR> SELECT FILE#, CHANGE# FROM V$RECOVER_FILE;
    If the CHANGE# is GREATER than the minimum FIRST_CHANGE# of your logs,
    the datafile can be recovered. Just keep in mind that all the logs to
    applied will be online logs, and move on to step 5.
    If the CHANGE# is LESS than the minimum FIRST_CHANGE# of your logs, the
    file cannot be recovered. Your options at this point would be to restore
    the most recent full backup (and thus lose all changes to the database
    since) or recreate the tablespace as explained in scenario a.
    5. Recover the datafile:
    SVRMGR> RECOVER DATAFILE '<full_path_file_name>'
    6. Confirm each of the logs that you are prompted for until you receive the
    message "Media recovery complete". If you are prompted for a non-existing
    archived log, Oracle probably needs one or more of the online logs to
    proceed with the recovery. Compare the sequence number referenced in the
    ORA-280 message with the sequence numbers of your online logs. Then enter
    the full path name of one of the members of the redo group whose sequence
    number matches the one you are being asked for. Keep entering online logs
    as requested until you receive the message "Media recovery complete"
    7. If the database is at mount point, open it.

  • RMAN RECOVERY FROM INCREMENTAL BACKUP

    Hi,
    hOW TO RECOVER FROM INCREMENTAL BACKUP ?
    Any script for recovery from Full+incremental BACKUP?
    Many thanks before.

    Thank you,
    but I can not connect from RMAN when database is shutdowned.
    C:\Documents and Settings\Farid>rman catalog rman/****@reprman target sys/***@bd1
    Recovery Manager: Release 10.2.0.1.0 - Production on Ven. FÚvr. 16 18:28:19 2007
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00554: Úchec de l'initialisation du gestionnaire de rÚcupÚration interne
    RMAN-04005: erreur de la base de donnÚes cible :
    ORA-12514: TNS : le processus d'Úcoute ne conna¯t pas actuellement le service demandÚ dans le descripteur de connexion
    tnsping BD1Adaptateur TNSNAMES utilisÚ pour la rÚsolution de l'alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST
    E = bd1.virtualparc.com)))
    OK (30 msec)

  • Recovery from Online backup

    Hai All,
    I regularly take hot backup via a script. In script copy all datafiles and archivelogs to the backup destination. One conrolfile is created using 'alter database backup control file to c:/backup.ctl' . Thus controlfile is also generated.
    I copy the backup files (includes datafiles and controlfiles) to a test machine . In test machine I created a database with the same name of production database. I replace the present files with the hot backup files (keep existing redo log files). When I open the database, recovery asked... I apply the backup archive log files. Even when reach the maximum archive files in my hand. recvery not stop... . This is the problem .. How It happened ? How to open the database with the backup files in my hand only.
    I copy the remaining archive log files and redo log files from production database and apply. then I open the database with resetlogs . It works fine......
    How to resolve the mentioning problem in second paragraph?
    Please help?
    Shiju

    How do you backup your database? Do you using RMAN to backup your database? or you use ALTER TABLESPACE BEGING BCKUP method to backup your database?
    Which version of Oracle are you using? Is there anything wrong configure autobackup of controlfile to avoid explicitly taking controlefile bakup?
    If you want to test your bakcup or wanted to create another copy (clone) of the database using your valid backup, why did you create the second database and did the other fuss?
    You can simply, bring up the instance, restore and recovery using your backups.
    I guess, the problem was with redo log files. You have overwritten all the datafiles, controlfile, but not redo log files, may be the redo log sequence mismatch cuased this behaviour.
    Jaffar

  • Recovery from hot backup

    I have a problem with recovery hot backup from production database to test database and open it to use.
    I have 'hot backup' without temporary tablespace and roll tablespace, I cant shut down production database (24x7), please give me a regulations how to recover database from hot backup, without online redo logs, temp tablespace, roll tablespace only with archive logs, and.....after this ..rename database sid.
    Every time when I recovered database, it's still want to recover...and recover from archive logs and I cant open it, it's still inconsistent.Please send me an answer for [email protected]
    thanks!

    Hi,
    What is the OS and version of Oracle?
    Do you have all the archivelogs after the hot backup? Is the backup a valid backup? Is it a RMAN backup or normal file system backup of the datafiles?
    Regards,
    Badri.

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

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

  • EBS 11i Disaster Recovery using tape backup on alternate Unix Server.

    Hi,
    I would really appreciate if you could please share with us what is the process to recovery EBS 11i environment to an alternate DR server using the latest tape backup in case any disaster happens to the existing production server.
    I need to prepare and test disaster recovery plan document using the latest tape backups.
    We have single node EBS 11i environment with Apps and DB installed on the same AIX Unix Server.
    We also have full database RMAN backup every night.
    The new alternate DR Unix server will have different hostname and IP address.
    Thanks in advance.
    Regards.

    Please refer to the following docs.
    Business Continuity for Oracle Applications Release 11i, Database Releases 9i and 10g [ID 216212.1]
    Business Continuity for Oracle E-Business Release 11i Using Oracle 11g Physical Standby Database - Single Instance and Oracle RAC [ID 1068913.1]
    Thanks,
    Hussein

Maybe you are looking for

  • Customize output for ME80FN

    Hi, we used ME80FN (with dynamic selection) to give a user a list of POs with deleted line item. We want the output to include PO Header Text. Is this do-able ? We are hoping to use standard SAP report and not to have to develop a Z report. Thanks Ja

  • Quality of printout is really bad

    Hi Experts, I use the system command "print screen", to print my visual composer cockpit (only tables and forms, no charts). Unfortunately, the quality of some printout is really really bad. It seems that VC does some scaling, in order to fit the for

  • What is the best way to include an xml file in JSP?

    I have a jsp page that I need to include an xml file. The xml file           uses an xsl to render the file. What is the best way to include the           xml file and still maintain the structure of the style sheet?           Thanks           Jennif

  • Keyfigure in Output mode

    Hi all, I have an issue in DP Planning book. Normal scenario: Keyfigure is in Output mode at the aggregated level  i.e value is uneditable at the Totals level, but if I drill down to Details all,  it is editable. Issue: For a particular product, the

  • Graphic Not Staying Where I Want It To

    So as the title says, I have this graphic I want to stay in the bottom right corner if the browser window (no matter how the window is sized). I've used the following.... <div id="ClubAnnounce" style="z-index: 0; position: absolute; right: 0px; botto