How to recover datafile in Oralcle 10g...? No backups and No archive log

All,
I need to recover the datafile 2 which is for undo tablespace and it is in recover state and i need to recover the data files now .
But the bad thing is We dont have backup at all and we dont have archive logs (Archive log disabled in the database)...
In this situation how can i recover the datafile ...?
SQL> select a.file#,a.name,a.status from v$datafile a,v$tablespace b where a.ts#=b.ts#;
FILE# NAME STATUS
1 /export/home/oracle/flexcube/product/10.2.0/db_1/oradata/bwfcc73/system01.dbf SYSTEM
*2 /export/home/oracle/logs/bw/undotbs01.dbf RECOVER*
3 /export/home/oracle/flexcube/product/10.2.0/db_1/oradata/bwfcc73/sysaux01.dbf ONLINE
4 /export/home/oracle/datafiles/bw/bwfcc73.dbf ONLINE
5 /export/home/oracle/datafiles/bw/bwfcc73_01.dbf ONLINE
SQL> archive log list;
Database log mode No Archive Mode
Automatic archival Disabled
Archive destination USE_DB_RECOVERY_FILE_DEST
Oldest online log sequence 4940
Current log sequence 4942

Hi,
First of all you must Open a ticket with oracle Support and explore the options
You can use this note to fix it:
RECOVERING FROM A LOST DATAFILE IN A UNDO TABLESPACE [ID 1013221.6]
If you is Unable to Drop Undo tablespace Since Undo Segment is in Needs Recovery
You can Upload the following trace file while opening the ticket
SQL>Alter session set tracefile_identifier='corrupt';
SQL>Alter system dump undo header "<new of undo segment in recover status>";
Go to udump
ls -lrt *corrupt*
Upload this trace file
Also upload the alert log fileRegards,
Levi Pereira
Edited by: Levi Pereira on Nov 29, 2011 1:58 PM

Similar Messages

  • How to recover datafile.when control file auto backup is off

    hi friend
    i took hot backup of my database using following command
    rman>backup database;
    in my case controlfile auto backup is off.
    and i have lost my all controlfiles as well as datafiles except spfile.
    i have recovered control file using dbms_backup_restore package.
    know i am able to mount database using following command
    rman> startup mount;
    when i wrote following command
    rman> restore database;
    i got following error
    RMAN-06023: no backup or copy of datafile name found to restore
    enven i have backup of datbase.
    can anybody tell me how to recover datafiles in this case.
    thanking you
    sohail

    hi,
    I think you might have a problem here as the error from RMAN is described in the following metalink note
    Doc ID: Note:100565.1
    You should change you backup script to be something like
    rman {
    backup database include current controlfile;
    do you have any earlier backups of your database?
    regards
    Alan

  • How to Recover database from old backup and full archive log file

    Hi Oracle expert!
    I met problem when restore my oracle database.
    In my case:
    - My database version: 10.2.0.2
    - I have a database full backup (01-Nov)
    - I have all Archived log file from (01-Nov -> 05-Nov)
    - My database drop in 05-Nov with disk error (no datafile, no redo..).
    - I have no any RMAN backup from (01-Nov -> 05-Nov)
    How can i restore my database to 05-Nov?
    Thanks

    user10280724 wrote:
    Hi Chinar.
    When i used RMAN flow as your step, but i met the problem!
    - After recover database i select sequence#, applied from v$archived_log;
    --> it apply newest archived log that i had.
    - but when I select Data from table created between 01-Nov to 05-Nov, it not found!
    Not the same way the step:
    SQL> RECOVER DATABASE USING BACKUP CONTROLFILE UNTIL CANCEL?
    It apply newest the same archived log i had table created between 01-Nov to 05-Nov.
    How can i do with RMAN to recover my table?That is not possible,if your all available archive logs applied using rman or through sqlplus(recover database using backup controlfile until cancel) and one of these logs contain your table then there are not any problems.So there are not any difference between recovery using rman and user managed(using sqlplus),but there main matter is applying all archive logs.So first check through rman list copy of archivelog all or list backup of archivelog all and identify there in rman repository is any information or not about these logs.

  • How to recreate datafile in oracle 10g.

    pls tell me how to recreate datafile in oracle 10g...
    what are situation to recreate datafile
    Edited by: 898085 on Nov 18, 2011 9:16 PM

    898085 wrote:
    pls tell me how to recreate datafile in oracle 10g...
    what are situation to recreate datafile
    Edited by: 898085 on Nov 18, 2011 9:16 PMDid u mean create or recreate?
    if datafie is deleted then you may add it into existing tablespace.
    Try this : -
    1.)sqlplus sys/xx as sysdba
    2.)alter tablespace <tablespace_name> add datafile <datafile_name> size <give size>;
    HTH:-)

  • Hey guys i just wanna ask you if you know any way how to recover pics deleted from my camera rol and photo stream, i deleted accidentally without backing it up on icloud, any ideas how i can get it back

    hey guys i just wanna ask you if you know any way how to recover pics deleted from my camera rol and photo stream, i deleted accidentally without backing it up on icloud, any ideas how i can get it back

    If you deleted them from both PhotoStream and the camera roll, and you don't otherwise have them backed up, they're gone.

  • HOW TO RECOVER MY PHOTO ON MY IPHONE BROKEN and locked with a password

    HOW TO RECOVER MY PHOTO ON MY IPHONE BROKEN and locked with a password?

    I JUST SOLVED MY PROBLEM!

  • How to recover the deleted SMS message, Contacts, CallHistory and Photos from ipad.

    how to recover the deleted SMS message, Contacts, CallHistory and Photos from ipad.

    If you did the backup of your data before deleting then you can easily get back the data by the following steps:
    1. First don’t connect your iPad directly to computer because the iTunes only saves the most recent backup
    2. Now make sure that you have a valid backup as listed iTunes> preferences> devices
    3. Before connecting your iPad make sure to check iTunes>preferences> devices "prevent iPad from syncing automatically." Because this will ensures we don't erase the previously stored backup. Then select ok and close the window after checking " don't sync"
    4. Now connect your iPad to your computer .
    5. Select the iPad as seen in the left bar of iTunes, as listed under the devices .
    6. Select version and click on restore from options.
    7. It takes a while to for iPad to erase itself, reset and restart.
    8. After the iPad is restart you will see Set Up Your iPad in iTunes on your computer, and now just click the restore from the backup and click continue. It will take 10 to 12 minutes to recover your data from iPad, including the deleted sms, notes, photos, music, contacts etc.
    Here is a step by step guide for you: http://www.video-converter-mac.org/recover-deleted-ipad/

  • How can recover the dropped table on oracle 9i and 10g ?

    This is the scnario...
    user dropped one table on his schema...
    oracle 10g DB
    flashback not enabled so no flashback drop possible
    but any way to recover it from recyclebin on 10g ? becuase this is not sysdba table ...if yes how about on 9i...if yes then will there be any limit on recycle bin like space pressure ??
    Scnario 2:
    we have two online redo log group with 2 member each..
    my currnet online redolog group currupted (including members)...we need the data's of that currnet group so we should'nt use the clear log command
    how to recover it ?
    Do we need to go for any block level revcovery ?
    thanks
    Moorthy
    Edited by: user13014926 on Jan 18, 2011 6:55 AM

    If you have no backup your only option is to perform incomplete recovery (point-in-time recovery) to the time just before the drop, export the table and then restore the database (for example, from a cold backup taken just before the incomplete recovery,) and import the table. This obviously requires a full backup
    taken before the drop which you don't seem to have, so the answer is "regrettably no."
    If you have a backup;
    Take backup of ur current db, apply previous day backup, do point in time recovery to get table back,export table, shutdown and apply latest backup, import table back
    Regards,

  • How to recover the data from a  dropped table in production/archive mode

    How to recover the data/change on a table that was dropped by accident.
    The database is on archive mode.

    Oracle Version. ? If 10g.
    Try this Way
    SQL> create table taj as select * from all_objects where rownum <= 100;
    Table created.
    SQL> drop table taj ;
    Table dropped.
    SQL> show recyclebin
    ORIGINAL NAME    RECYCLEBIN NAME                OBJECT TYPE  DROP TIME
    TAJ              BIN$b3MmS7kYS9ClMvKm0bu8Vw==$0 TABLE        2006-09-10:16:02:58
    SQL> flashback table taj to before drop;
    Flashback complete.
    SQL> show recyclebin;
    SQL> desc taj;
    Name                                      Null?    Type
    OWNER                                              VARCHAR2(30)
    OBJECT_NAME                                        VARCHAR2(30)
    SUBOBJECT_NAME                                     VARCHAR2(30)
    OBJECT_ID                                          NUMBER
    DATA_OBJECT_ID                                     NUMBER
    OBJECT_TYPE                                        VARCHAR2(19)
    CREATED                                            DATE
    LAST_DDL_TIME                                      DATE
    TIMESTAMP                                          VARCHAR2(19)
    STATUS                                             VARCHAR2(7)
    TEMPORARY                                          VARCHAR2(1)
    GENERATED                                          VARCHAR2(1)
    SECONDARY                                          VARCHAR2(1)
    SQL>M.S.Taj

  • How to recover RSS feeds from Time Machine backup?

    Hi,
    I have deleted an RSS feed and so even his messages are gone. Then I have tried to recover it from my TM backup but I just discovered that TM shows me the RSS feed but it does not allow me to select them to recover.
    Is it correct?
    Is there any way to recover that?
    thanks!

    Thanks for the response BDAqua, I did use Migration Assistant to transfer her data from the SuperDuper backup.  Are you suggesting that I use Migration Assistant to transfer data from the Time Machine backup?  Will that result in duplication?  Sorry, but I've no experience at all with Time Machine backups and don't know whether you can 'pick and choose' what to restore from the Time Machine using Migration Assistant.
    Cheers
    Tricia

  • Two hard drives connected to Airport Extreme. How to include one of them in TimeMachine Backup and use other disc as Time Machine backup disc?

    Hi,
    the title says it all. I've got an airport extreme and two hard drives connected to it. My idea was to use one as my additional storage (say DISC STORAGE) and the other one as my backup drive (say DISC BACKUP). I would like to backup my mac AND DISC STORAGE together to DISC BACKUP using time machine. My mac has 256 GB HDD, DISC STORAGE is 1 TB big, DISC BACKUP 2 TB. So there are no space issues.
    Problem: DISC STORAGE is not included in Time Machine's backup to DISC BACKUP. At the moment, only the mac is backed up to DISC BACKUP.
    Does anybody know if and how I can include DISC STORAGE in the backup process?
    By the way, DISC STORAGE is not listed in the "exclude from backup" list in Time Machine.
    Thanks!
    Arne

    Unforrtunately, Time Machine cannot backup from a network drive to another drive. Time Machine will only backup a Mac and a drive that is directly attached to the Mac, via USB or FireWire.
    You will need to use an application like Carbon Copy Cloner or SupoerDuper to be able to backup from DISC BACKUP to DISC STORAGE.

  • How to switch from data guard really time apply (redo) to archive log

    Hi
    Standby database configured with broker and applying the redo in really time; however, I want to change this to archive log apply mode without losing the broker configuration. Is it possible? If it is not possible to use broker to do archive log apply, can I remove the broker and use data guard to set up the standby to use archive log apply?
    Regards

    user3076922 wrote:
    Hi
    Standby database configured with broker and applying the redo in really time; however, I want to change this to archive log apply mode without losing the broker configuration. Is it possible? If it is not possible to use broker to do archive log apply, can I remove the broker and use data guard to set up the standby to use archive log apply?
    RegardsHi
    I think mseberg is answered correct, you can use enable/disable apply log with change of state on standby database with DGMGRL, as writen mseberg.
    or you can disable recover standby database with following script from SQL*Plus.
    SQL> alter database recover managed standby database cancel;Regards
    Mahir M. Quluzade
    www.mahir-quluzade.com

  • How can you restore from both an iCloud backup AND an iTunes backup?

    In article HT5262 (linked below) iOS backups are covered. There is a section "When to use iCloud and iTunes Backup together". I understand how to do this and the reasons why. What I haven't been able to find is an explanation of how you would actually restore from both? I know how to restore from each, however, if I first restore from iCloud, how can I then proceed to restore from iTunes without overwriting my iCloud restore?
    http://support.apple.com/kb/HT5262

    Demo, thanks for the reply. What you wrote is exactly what I thought. I'm trying to figure out why Apple is putting out this article (see partial contents below). The implication is that you can restore from both or why back up some data to one and different data to the other:
    "When to use iCloud and iTunes Backup together
    For an extra level of backup for your data, you can use iCloud Backup and iTunes Backup together."
    Tip: If you are using iCloud and iTunes Backup together, and you simply want to speed up your iCloud Backup & Restore functions, you can save iCloud storage by turning off iCloud Backup for very large data types. For example, if you have a 15 GB Camera Roll on your iPhone, you may not wish to back it up to iCloud because it is already being manually backed up to iTunes. You can disable back up of any iCloud Backup item in Settings > iCloud > Storage & Backup > Manage Storage > Backups > Backup Options. After doing so, these items will only be backed up when you manually back up to iTunes.

  • How to drop datafiles in oracle 10g r2

    Hi all,
    Db :oracle 10.2.0.3
    os:solaris 10
    tablespace name: jllp_tabs01
    datafile:
    /ora/data001/jllp/jllp_tbs01_tbl_1.dbf
    /ora/data001/jllp/jllp_tbs01_tbl_2.dbf
    /ora/data001/jllp/jllp_tbs01_tbl_3.dbf
    /ora/data001/jllp/jllp_tbs01_tbl_4.dbf
    its has consisting of 4 datafiles, I need to drop the 2 of them perminently.
    the datafile are having data.
    how to drop the datafiles.
    please suggest me.

    There is no way to drop the datafiles once they are added to the tablespace. The command given by Asif , offline drop won't actually drop the datafile but would be an indication only to Oracle that you would be dropping the entire tablespace after issuing this command. In 11g, there is a command to drop the datafile but only if it's completely empty.
    HTH
    Aman....

  • How do I create an Oracle 10g offsite backup

    Total size of the datafiles that make up the tablespaces of the DB = 1532121.6875 Mb
    This size will eventually grow to about 6-7 terrabytes
    I used the following query to determine the above size:
    SELECT sum(bytes/1048576) FROM dba_extents; I saw this question poseted on another site
    QUESTION POSED ON: 15 August 2007
    I recently handled a project whereby we have many site servers at various places in our country and there is a central server in Delhi (India). My project is to take a backup of the local server and post that backup to the central server via Internet. I chose the RMAN (Recovery Manager) approach. Using that approach I can back up the database and connect to the remote database. But I can't find how to post the backup to the remote server. Please give me guidance regarding this project.
    This was the answer:
    EXPERT RESPONSE
    Basically, there are two options to have RMAN back up to a remote server. One, back up locally and then FTP the backup to the remote server. Two, create a network file share from the database server to the remote server. Have RMAN back up to the network file share. It will think the file system is local, but in actuality, the file system is in another location.
    Currently a level 1 incremental backup is done at 10:00PM every night to the array (this takes approximately 1 hour to be completed). I am interested in doing a full hot offsite backup of the DB to a disk on another server.
    Can anyone tell me how would I be able to do this using RMAN and/or backing locally and then FTP'ing the backup to a remote sever.
    Can anyone also confirm if the calculation for the size of the DB is accurate?
    ( I did the calculations based on what I saw at this site and this site)
    I would like to do this in preperation for some firmware upgrade that our Sun support would like to do on the array, I would like to implement a script (or maybe use RMAN) to do a nightly offsite backup. I would still need to do the DB backup to the array...but what files do I copy off the array (to the remote server) for an offsite backup of the DB.
    I would really appreciate any help.
    MY CURRENT RMAN CONFIGS
    using target database control file instead of recovery catalog                
    RMAN configuration parameters are:                                            
    CONFIGURE RETENTION POLICY TO REDUNDANCY 1;                                   
    CONFIGURE BACKUP OPTIMIZATION OFF; # default                                  
    CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default                              
    CONFIGURE CONTROLFILE AUTOBACKUP ON;                                          
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
    CONFIGURE DEVICE TYPE DISK PARALLELISM 2 BACKUP TYPE TO BACKUPSET;            
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default         
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default       
    CONFIGURE MAXSETSIZE TO UNLIMITED; # default                                  
    CONFIGURE ENCRYPTION FOR DATABASE OFF; # default                              
    CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default                            
    CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default                       
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/opt/oracle/product/10.2.0/dbs/snapcf_MYSID.f'; # default########################################
    I am using the following software/hardware :
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bi
    PL/SQL Release 10.2.0.3.0 - Production
    CORE 10.2.0.3.0 Production
    TNS for Solaris: Version 10.2.0.3.0 - Production
    NLSRTL Version 10.2.0.3.0 - Production
    Recovery Manager: Release 10.2.0.3.0 - Production
    SunOS myserver 5.9 Generic_118558-34 sun4u sparc SUNW,Netra-T12
    SunFire E2900 Server with Sun Storage Tek 6140

    Thanks for the help, I took a look at the script. Suppose however I didn't/couldn't do any modification of the Oracle RMAN settings (without voiding my support contract). Could I simply copy the necessary DB files to a remote server, would I be able to do a restore (if necessary) from those copied files?
    Like I have pointed out before, currently an incremental level 1 backup (to the array) is done nightly at 10 (and it takes approximately 1 hour)
    [....I am also working on updating the support contract ]

Maybe you are looking for

  • Sharing iTunes between users on same MacBookPro

    Hi, I have a a MacBookPro working on Mountain Lion. I have just moved my iTunes library and media to the 'shared' folder in finder and repointed iTunes on my user id at the new location. Everything opened up as it should and looked as it did when it

  • How to write oracle output in XML

    can any one please let me know how to write or covert procedure or function output in XML?

  • What is the little blue bell icon and HOW do I get rid of it?

    Hi all, I keep getting a little blue bell icon with 2 red curved lines up at the top right corner of my screen. I do not have any alarms or alerts set. What is this and how do I get rid of it? (permanently would be nice). Thanks in advance for any wi

  • IPhoto hangsup uploading album to homepage

    I'm trying to upload photos, but am having a problem. I have enough space on my iDisk, but the Publish Home Page Status bar just says "Connecting." And it was only able to upload 2.1 of 2.7 MB of pics. Also, my Internet connection is working fine. Th

  • I reset my ipad 2 back to factory, can I recover my photos

    I am getting ready to sell my ipad, I set it back to factory and forgot to take my photos off. Can I recover them?