Restoring a table

Hi Guru's,
It is possible to restore a table (truncated table) from a single backup? I do have a valid full database backup. The backup is done using rman + IBM Tivoli data protection.
Will restoring the tablespace help??
David.

RMAN are physical backups and in order to restore that truncated data you need to do incomplete recovery. But before doing this tell us the version of your oracle database, if you are on 10g then you can use flashback feature to restore the whole data without touching any RMAN backups. Other wise the best option would be to restore the backup on some other box and recover it just before that truncate command and then export the table from that and import into your database.
Daljit Singh

Similar Messages

  • How to restore a table using RMAN with previous backup ?

    Hi everyone,
    we have to restore a table from 1 week previous backup using RMAN.
    Could you show me how to restore a table using RMAN with previous full backup.
    please Help me out.
    Thanks
    Info > oracle 10g, OS: AIX5L

    Hi,
    first of all you must have all the archivelogs since you want to recover your table from the previous backups.
    anyways if you want to recover your table then you need to perform incomplete recovery to the point where you loss the table for that you need to restore and recover your database.you likely to loose all the transcation which occurs to the point where you you loose your table.
    thanks..

  • How to restore a table from a backup table

    I used this sql to backup my fnd_table:
    create table fnd_concurrent_queues_backup as (select * from fnd_concurrent_queues);
    I modified some things in this table for diagnostic purposes with my concurrent managers, now I need to restore back to my original table, I believe this would be correct but I'm not 100% sure as I never had to restore the table. Please help me verify this.
    alter table fnd_concurrent_queues as (select * from fnd_concurrent_queues_backup);
    Is this correct or is there another way to restore this table?
    Thanks

    According to eTRM "APPLSYS.FND_CONCURRENT_QUEUES does not reference any database object" but there is no harm in compiling all invalid objects just to be sure none exists.
    And yes you're right the CM should be down.
    And I should mention that shouldn't be done in production.
    Thanks,
    Hussein

  • How To Restore Deleted Table With It's Data To Specified Time Using 10g

    Hello Everybody
    I would like to gain from your experience in the Felid of DBA so now i am not trying to restore the full database, but i have a stupid user dropped accedintaly a single table from the database. i want to restore this table after being deleted but also i have big problem i dont have any backup for this table so if you please send to me any solution to restore this deleted table
    Notes : I have (Flash backup On , Archive Log Is On)
    it is not that the database is corrupted or anything
    Ramez S. Swires

    Hey N. Gasparotto
    Thank you for replying me. in the first thread you told me
    ( Without any flashback availability, you haven't any other choice than PITR (Point In Time Recovery)).
    i already checked i found that flashback is working and archive log are working and both are working normally and working before dropping the table and also i cant restore the table which is dropped.
    So what can i do?
    Do you have any other idea?
    Ramez S. Sawires

  • Why not physical backup be able to restore logical tables ?

    DBA's are used to the perspective of physical & logical backups for a long time .
    I wonder why should it not be able to do a logical restore a single table from a physical backup ? It will be great to have this possibility.
    Is this is design constraint that can be changed by Oracle ?
    -Shekar

    This is not a design constraint.
    The physical backup is of all the physical components of a database which are interpreted by the server software to create the logical representation.
    A physical backup is meant to be restored completely whereas a logical backup can be restored as of requirement.
    It is not desirable to be able to restore a single table from physical backup as table is a logical representation of data. Till such time that the physical data is not interpreted by Server software it is just bytes on the disk.
    So, if we want to restore a table from physical backup we will need a running instance to interpret the data and this will be more time consuming than having it extracted from a logical set.
    If our system has not gone down and we want to restore the table just to a previous state, then (Oracle 10g) we can do it easily without taking the help of physical backups, through flashbacks.
    These are my views, perhaps others can join in and we can discuss this out.

  • How to restore one table from the previous backup in 9.2.0.8 version.

    Hi,
    How to restore one table from the previous backup in 9.2.0.8 version.
    Thanks
    -Ganga

    Hi,
    What is the table you want to restore?
    Using export/import is supported with Oracle Apps database (for full database exp/imp, and certain schemas like custom ones). For the Apps schema, I believe it is not supported due to object dependencies and integrity constraints.
    Regards,
    Hussein

  • Estimation of time needed to restore a table.

    Hello,
    We need to perform a test of how fast our DC responds to an urgent request to restore a table.
    Can you please provide a list of what information we should request in order to beb able to estimate the time to restore an eg. 1GB table?
    HW (Tape maker (I/O), HDD, etc...)
    SW (Backup S/W used, configuration of the S/W, etc...)
    DBs are 9i & 10g
    I know this is a very general question, but I would appreciate a list of the basic things I should know.
    Thank you !

    >
    We need to perform a test of how fast our DC responds to an urgent request to restore a table.
    >
    So, first thing: You need to perform a test. You seem to forget that further on:
    >
    Can you please provide a list of what information we should request in order to be able to estimate the time to restore an eg. 1GB table?
    >
    What is your role in this? Are you the customer requesting the restore, or the support guy who has to do it (or is responsible for getting it done)? That matters a lot.
    Assuming you're in that second role:
    What you need to ask, from the person requesting the restore/test, are (from a functional perspective) sample scenarios of what could have happened and what kind of solution is needed. All the other questions you mention (hardware versions, tape software, database size, export dumps available yes or no) are things that you know or are fixed for that scenario, you know your database environment, what kind of backups you take, etc. Together with your customer, translate the functional scenarios into technical scenarios (which depend on your environmt, ofcourse), ranging from best case (which could be, for example, using flashback query to repair some data accidentally deleted by a user) to worst-case (for example, restoring multi-terabyte tablespaces from tape to set up a temporary database, export data, import it into production). When you have defined several of these scenarios, play them out, and see how much time and effort each takes. Within a scenario, you can try to intra-, or extrapolate for varying data sizes. But the most important thing is to actually TEST.

  • Restoring certain tables accidently dropped from 10TB database

    Dear Friends,
    Wanted to discuss a scenerio and would require your revert in deciding a best and fastest method of recovery.
    Suppose i have 10TB database and someone accidently drops 5 tables.i have RMAN backup,i dont want to use flashback option and i dont want it from recyclebin either.What would be fastest method for restoring the tables with the whole database being consistent.
    Regards
    Vijay

    Vijay Salian wrote:
    Dear Friends,
    Wanted to discuss a scenerio and would require your revert in deciding a best and fastest method of recovery.
    Suppose i have 10TB database and someone accidently drops 5 tables.i have RMAN backup,i dont want to use flashback option and i dont want it from recyclebin either.What would be fastest method for restoring the tables with the whole database being consistent.
    Regards
    VijayThere is fast and good method using flash back technology.So configure your undo parameter properly then use this(if happen this case).If there happen media fail then you need perform media recovery.But against user/human error you need using flashback technology.

  • Need to restore a table which is del by mistake my archive log is on

    Hi Guru's
    i took full backup through RMAN. My archive log in ON.
    After taking backup one of table is deleted by mistake ,how can i restore it ?
    Thanks

    Hello,
    The solution depends on your Oracle Release and if you enabled RECYCLE BIN and/or FLASHBACK LOG.
    If the Table was dropped and you are in Oracle *9.2* or earlier release, you need to Restore/Recover the Database (from the RMAN BACKUP) to a time before the Table was dropped, somewhere else (another server,...). Then from this Database you may export the Table and import it to the original Database.
    If the rows of the Table were just Deleted (so the Table still exists), you may (in 9.2) use FLASHBACK QUERY to get back the deleted rows.
    If you are in *10.1* or later release, then if the Table was dropped you may use FLASHBACK DROP to get it back (see the previous post from Kamran). If the rows were just deleted (so the Table still exists) you may use FLASHBACK QUERY or more efficiently FLASHBACK TABLE:
    http://www.oracle-developer.net/display.php?id=313
    About FLASHBACK QUERY, it depends on the Undo Retention time (it should be large enough), and the table shouldn't have Column of specific Datatype like LONG or LOB:
    http://www.orafaq.com/node/50
    Hope this help.
    Best regards,
    Jean-Valentin

  • How to restore a table image?

    1. We have a table with bad data.
    2. We know that data was entered via the GUI exactly one week ago.
    3. I have an RMAN database full back-up two weeks old
    4. the database in archivelog mode.
    5. we will be happy to restore the database in the condition before the change occured
    5. when I restore database via RMAN, Oracle does not allow until cancel option.
    Is there any other way to do it?
    TIA

    You can execute an incomplete recovery executing
    RMAN> run {
    shutdown immediate;
    startup mount;
    allocate channel ch1 type disk;
    set until time  "to_date('25-05-2005 13:40:15', 'DD-MM-YYYY HH24:MI:SS')";
    restore database;
    recover database;
    alter database open resetlogs;
    }Aron

  • Restore single table

    I've accidentally truncated a table for the wrong schema and I need to get the data back. I realize this isn't an easy task with rman, but I'm looking for advice for the best method.
    I am running Oracle Standard Edition 11.1.0.6.0 on Linux. A cold backup of this database is created every week with rman. It is not in archivelog mode, since it would generate too many log files and all the changes are fairly easy to replicate. The only method I know of is to restore the entire database on another machine, then export the table/data from the restored database and import it into the truncated table. This will take quite a bit of time (a few or several days), and seems to contain a lot of unnecessary work for the computers involved. The table was only a few 100 MB, and the DB is 1TB+.
    Is there any way to restore just the tablespace with the truncated table on a new server? Can this somehow be done in another database instance on the same computer? If I can restore just one tablespace, but have to do it on a different computer, can I avoid having to transfer the entire rman backup to the new server? Is there anything like flashback that will help me on Oracle Standard Edition? Are there any other suggestions for restoring the one table more quickly?

    I think everything almost worked. I restored the datafile on a new instance, along with the system, sysaux, undo and users tables. I renamed and opened the new database, and set everything up so I could query it from the database where I accidentally truncated the table.
    I logged into the first database, and I ran "select count(*) from my_table@new_orcl;". It ran fine.
    I ran "insert into my_table (select * from my_table@new_orcl);", and it gave me an error:
    ORA-03113: end-of-file on communication channel
    Process ID: 28835
    Session ID: 295 Serial number:1679
    SQL> select count(*) from my_table;
    ERROR:
    ORA-03114: not connected to ORACLE
    SQL> quit
    servername $sqlplus my_username/my_password
    ERROR:
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    servername $ sqlplus / as sysdba
    SQL> startup
    ORA-00338: log 3 of thread 1 is more recent than control file
    ORA-00312 online log 3 thread 1: ...
    I issued a recover until cancel, and put in the file name of the current logfile when it asked for it, but it tells me file 1 needs more recovery to be consistent. The only error I have in the alert log is a reference to a .trc file with repeated warnings "WARNING:Oracle process running out of OS kernel I/O resources" and the ORA-00338/ORA-00312 errors before the instance terminated.
    I don't know what happened, other than there are a few relevant bugs about this on my oracle support and I need to restore the 1TB database now. Based on my experiences with Oracle support on severity 1 requests, I can probably get this database restored about as fast as they will decide to tell me to restore the database from a backup. Thanks for your help.

  • Backup and restore georaster table and rdt table by image id

    Hellow everyone,
    I want to backup my georaster table and rdt table by the Specified image id and also can use these georater rows to restore? How can I do? the geraster table structure is as follows:
    image_table
    id NUMBER,
    filename VARCHAR2(255),
    raster SDO_GEORASTER
    Best Regards,
    Lin

    ylin wrote:
    Hellow everyone,
    I want to backup my georaster table and rdt table by the Specified image id and also can use these georater rows to restore? How can I do? the geraster table structure is as follows:
    image_table
    id NUMBER,
    filename VARCHAR2(255),
    raster SDO_GEORASTER
    Best Regards,
    LinIf I understand you correctly, There is no specific issue if you want to export table with spatial data - It is the same as with normal tables.

  • Only restore lost table?

    Hi Gurus,
    There is a question like this. We have full RMAN or user managed backup done by one week ago. Now we lost a table (someone deleted two days ago) from the Oracle 9i database. How we can restore only the lost table?
    Thanks

    Hi,
    Use flashback.
    http://www.oracle.com/pls/db92/search?remark=&word=flashback&book=&preference=
    Is this a custom or standard table?
    Thanks,
    Hussein

  • Need to restore FND_USER table.

    Hi,
    Due to some reason i lost entire data from FND_USER table in my test instance. i do not have FND_USER table backup. TEST instance was refreshed almost 1 month back. can i use FND_USER TABLE FROM PROD instance, if yes, how to restore?
    Thanks in-advance.
    dba...

    Can you not refresh TEST again from prod?
    Normally, I would not do this but since you have dropped the table and there is no data, it may be worth trying.
    (This comes with a big disclaimer)
    You can export fnd_user from prod and then import it into test (using exp/imp) commands.
    Keep in mind that you will have to update current value of some sequences such as FND_USER_S, FND_ORACLE_USERID_S if those sequences have a higher value in prod.
    For new users created in production in the last 1 month, you will have problems in TEST because those users may not have the right roles/employee records etc. in TEST.
    Also, any new users created in TEST in the last 1 month will have to be recreated.
    Sandeep Gandhi
    The best option is to refresh again from Prod.

  • Restoring damaged tables

    Hi All.
    Refer SN831678
    I have a damaged table on my quality system - I followed the above note to point 6.
    In my system table "/BI59807" has an alternative name of /BI0/F0SD_C03 I followed the instructions via point 6 and created this table via SE14. The problem is that the original table is a PF while the new table that SE14 created was a LF - the alternative name was also slightly different from the original.
    I decided to recreate it and therefore deleted "/BI59807" however SE14 sees /BI0/F0SD_C03 as existing (create table is greyed out)
    What I also do not understand is that this table on my development system is also a LF although the alternate name is "/BIC/DZMP_C101+020"
    I need assistance with understanding how the alternative names work please. Fortunately the file I am working with is a file that we do not use but I have 2 damaged files on my production system that I also need to fix and I do not want these delays or problems when I do them.
    Thank-you
    Anette

    Hi Anette,
    first a few words to the alternate names and system names for a better understanding of the situation. The database can only work with tablenames up to ten characters. Therefore the OS system creates automatically a "system name"  when the original table name is longer than 10 characters. This system name is build from the the first 3 characters of the original table name appended by a contigous number. Therefore you can't compare the "system name" of a table in two different systems, i.e. the development system and the quality system as in your case. Most likely you'll have different "alternate table names".
    When you've created now the table "/BI0/F0SD_C03" via SE14 the OS system assigned a new "system name" which is in your case different to the previous one, but that's normal behaviour. When a table is deleted the corresponding "system name" is free to reuse for a new table, view or secondary index. This is the reason that when you now look again at the system table "/BI59807" you'll find another table or index under "alternative table name".
    So up to now all seems to be O.K. I assume that you also copied the records from the saved table as described in point 7 and 8 of the note.
    What's now missing are the indexes. As described in point 9 you can either restore the indexes if you saved them at point 2 or you can create them via SE11 or SE14.
    Kind regards,
    Gerhard Hoffmann
    SAP Development Support on IBM i Systems

Maybe you are looking for

  • OAS 4.0.8.1 for Linux: wrksf goes down

    After having installed the OAS 4.0.8.1 for Linux, I have a problem getting it to work. I use the OAS Manager to start the following four processes : oassrv "Oracle Application Server" wrksf "Cartridge Server Factory" otsfacsrv "Transaction Server Fac

  • Icon for Desktop Shows Up as a Generic Icon in the Places Sidebar

    Noticed yesterday that the icon for the Desktop showed up as a generic icon in the Places Sidebar. I have tried resetting the PRAM, repaired the Hard Disk and Permissions using the Disk Utility and deleted the com.apple.desktop.plist pref in my user

  • Cant download and update app ios 6

    after updating to ios 6 firstly i download itunes, find iphone podcasts app but when i goes to update twitter app nothing happen and now i cant even download any thing when i press install the icon apears on waiting and it dont download help me

  • Non-persistent fields

    Hi, I would like to use toplink with objects that contains both persistent and non-persistent fields (unmapped). When I insert such an object to the database using unit-of-work, and then try to query toplink for that same object elsewhere in my progr

  • Open Hub and Reporting

    In Open Hub we send the data from Data Target to the Excel Sheet and in reporting also we generate the report in excel sheet.what is the difference between the two. Regards, Chandu.