Recover Losted Database

I'm experiencing a new adventure as Oracle Database Administrator (of course as newbie): I presume that database crashed during backup. Now, I can't start up database, I can't recover database, I can't anything. EM says "The database status is currently unavailable. It is possible thet the database is in mount or nomount state. Click 'Startup' to obtain the current status and open the database. If the database cannot be opened, click 'Perform Recovery' to perform an appropriate recovery operation." When I try 'Startup', after credentials and 'job in progress', he returns to first window. I have tried Perform Recovery but result is same.
Can anybody describe me procedure how to recover database step by step? I need to recover data from tables and if it is possible tables.
I have Oracle Database Server 10.1.0 on Windows 2003.
Thx in advance!

Miroslav197 wrote:
Well, when I type "set ORACLE_SID=ORACLE", he says nothing, seems that's OK. When I type sqlplus "/as sysdba", he says 'Insufficient privileges', and ask me user-name. I type sys then he asks password. I type pass. Then he returns message: ERROR: ORA-01033: ORACLE initialization or shutdown in progress. And, again he asks user-name.Well.You get +'Insufficient privileges'+ due to your OS user is not member of ORA_DBA OS group(also provide SQLNET.AUTHENTICATION_SERVICES = (NTS) in $ORACLE_HOME\network\admin\sqlnetora file).
But you can use passwordfile authorization as below
sqlplus sys/yoursyspass@ORACLE as sysdba
startup force;or
set ORACLE_SID=ORACLE
sqlplus sys/yoursyspass  as sysdba
startup force;And post result and alert.log there
Edited by: Chinar on Nov 2, 2010 5:07 AM

Similar Messages

  • How can i recover my database after losing system data file.

    hi everyone,
    how can i recover my database in the following scenario.
    1. offline complete backup taken 2 days ago. database was in archive mode.
    2. today i lost my system data file, and also lost my all archived files.
    3. i started up the database but, the following error was generated.
    SQL> startup
    ORACLE instance started.
    Total System Global Area 135338868 bytes
    Fixed Size 453492 bytes
    Variable Size 109051904 bytes
    Database Buffers 25165824 bytes
    Redo Buffers 667648 bytes
    Database mounted.
    ORA-01113: file 1 needs media recovery
    ORA-01110: data file 1: 'D:\ORACLE\ORADATA\ORCL\SYSTEM01.DBF'
    4. i copied the system data file from backup and wrote the following statement, to recover the database.
    SQL> recover datafile 1;
    ORA-00279: change 2234434 generated at 07/15/2009 10:52:10 needed for thread 1
    ORA-00289: suggestion : C:\B\ARC00051.001
    ORA-00280: change 2234434 for thread 1 is in sequence #51
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    now i don't have any archive file. is there any chance to recover the database ?
    R e g a r d s,
    Asif Iqbal
    Software Engineer,
    Lucky Tex, Karachi,
    Pakistan.

    now i don't have any archive file. is there any chance to recover the database ?If no archive log files are available you can't recover the datafile.You need to have all the archives from the time of offline backup was taken till the system datafile is lost.
    Anand

  • Can I recover the database to the current time using a backup control file?

    Can I recover the database to the current time using a backup control file? How far can I recover this database?
    I have an Oracle 10g(10.2.3) database on RHEL4.3 system.
    I have lost all the current control files and all the online redo logs, archived redo logs and all other files are OK.
    Now I have to recovery this database using a backup control file.
    Can I recover the database without any data lost?

    If
    a) it was a Shutdown Abort or an Instance Crash (i.e. backgrounds died on detecting loss of redo logs),
    b) redo logs are lost
    c) data files are intact
    You'd have to
    a) Restore datafiles
    b) Do an Incomplete Recovery to the last available ArchiveLog
    Hemant K Chitale
    http://hemantoracledba.blogspot.com

  • Recovered standby database, still it is looking for gap sequence

    I have lost archive logs in both primary and standby database(deleted due to low space).
    So folloed the below steps.
    1.Identified minimum SCN from standby database.
    2.Took inremental backup from primary database according this SCN(nnnnn)
    3.Transfer this backup file to standby side
    4. Cataloged database backups and recovered the database.
    But medial recovery is searching for missing archived logs. Please advice.

    957905 wrote:
    I have lost archive logs in both primary and standby database(deleted due to low space).
    So folloed the below steps.
    1.Identified minimum SCN from standby database.
    2.Took inremental backup from primary database according this SCN(nnnnn)
    3.Transfer this backup file to standby side
    4. Cataloged database backups and recovered the database.
    But medial recovery is searching for missing archived logs. Please advice.Probably you have not restored new standby controlfile before performing recovery.

  • Up to what time can I recover my database?

    I have lost all of my current controlfiles and I have to recover my database using a backup controlfile. Up to what time can I recover my database?---------No.204

    In another thread you said you had your OCP. What test are these questions for?
    Along the same line as your other asking what is next, have you tried recreating this problem? It is one thing to be able to give an answer, being able to actually perform the work is what your future employer is looking for.

  • How do I recover lost photos in iPhoto?

    How do I recover lost photos in iPhoto? Instead of photos I have dotted borders or, in a few cases white boxes.

    You could try rebuilding the database ...
    Launch iPhoto while holding down the Command + Option keys.
    The Photo Library First Aid window should open.
    Select:  Repair Database
    Click:  Repair
    If that doesn't help, open the Finder. From the Finder menu bar click Go > Go to Folder
    Type or copy paste the following:
    ~/Library/Preferences/com.apple.iPhoto.plist
    Click Go then move the com.apple.iPhoto.plist file to the Trash.
    Quit and relaunch iPhoto.
    If that doesn't help, copy paste the following:
    ~/Library/Caches/com.apple.iPhoto/Cache.db
    Click Go then move the Cache.db file to the Trash.
    Quit and relaunch iPhoto.
    If you do not currently have a wawy to backup your iPhoto library, you need to do that so that you can recover your photos in the event of a hard drive problem.
    Help here >  Mac Basics: Time Machine
    message edited by:  cs

  • Can I recover lost contacts?

    A little kid wiped out my phone a little while ago probably a month but he wiped out all the data by inputting the wrong code too many times and I was able to redownload all my lost media and stuff and most of my contacts were saved. However, a few of the contacts weren't and I was wondering if its possible to recover them?

        Hi there DaveBrock,
    Those kids can be quite destructive when it comes to technology sometimes! Did you previously have your contacts backed up anywhere? Google, Backup Assistant, Verizon Cloud? If yes, then you should be able to recover them from there. If not, there wouldn't be a way for us to recover lost contacts.
    ErinW_VZW
    Follow us on Twitter @VZWSupport

  • I lost all personal data while installing maverick in external drive. How can I recover lost data?

    I lost all personal data while installing maverick in external drive. How can I recover lost data?

    If all your files are missing
    You may have logged in as a different user, such as Guest. Open the Users & Groups pane in System Preferences. Your name should be at the top of the user list, under Current User. See also this support article.   
    If files are missing from one folder
    Change the Finder view mode; for example, from icon view to list view, or vice versa.

  • How to recover the database when some of the archive log file get deleted.

    I am facing a problem with Oracle database, which is related to archivelogs.
    Our development database is running in archivelog mode, but we don't have backups scheduled and have no recovery catalog.
    When the database was in running condition, disk got full, so some archivelogs were deleted manually.
    After this they restarted the DB, and now DB is not coming up. Errors are as follows:
    SQL> startup
    ORACLE instance started.
    Total System Global Area 1444383504 bytes
    Fixed Size 731920 bytes
    Variable Size 486539264 bytes
    Database Buffers 956301312 bytes
    Redo Buffers 811008 bytes
    Database mounted.
    ORA-01589: must use RESETLOGS or NORESETLOGS option for database open
    SQL> alter database open resetlogs;
    alter database open resetlogs
    ERROR at line 1:
    ORA-01113: file 1 needs media recovery
    ORA-01110: data file 1: '/export/home/oracle/dev/ADVFRW/ADVFRW.system'
    SQL> recover datafile '/export/home/oracle/dev/ADVFRW/ADVFRW.system'
    ORA-00283: recovery session canceled due to errors
    ORA-01610: recovery using the BACKUP CONTROLFILE option must be done
    SQL> recover database using backup controlfile;
    ORA-00279: change 215548705 generated at 09/02/2008 17:06:10 needed for thread
    1
    ORA-00289: suggestion :
    /export/home/oracle/dev/ADVFRW/ADVFRW.archivelog1/LOG_ADVFRW_1107_1.ARC
    ORA-00280: change 215548705 for thread 1 is in sequence #1107
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    /export/home/oracle/dev/ADVFRW/ADVFRW.archivelog1/LOG_ADVFRW_1107_1.ARC
    ORA-00308: cannot open archived log
    '/export/home/oracle/dev/ADVFRW/ADVFRW.archivelog1/LOG_ADVFRW_1107_1.ARC'
    ORA-27037: unable to obtain file status
    SVR4 Error: 2: No such file or directory
    Additional information: 3
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    CANCEL
    Media recovery cancelled.
    SQL>
    1. How to recover the database and bring it online
    Any help will be highly appreciated.
    With Regards
    Hemant Joshi
    Edited by: hem_Kec on Sep 7, 2008 9:07 AM

    Hi,
    Archive log files are the copies of redolog files.As redo log files are circularly overwritten,oracle generates archive log file of the corresponding redo logfiles being overwritten.So if you have a backup that dates back to 10 am in the morning and if your database creashed at 3 pm,you cannot use the redo log files alone as they have incomplete information.To completely recover the database upto 3 pm,you need archive log files generated between 10 am to 3 pm. In your case since you are missing one archive log file,you cannot perform complete recovery and hence would suffer data loss.

  • Urgent help : Need to recover a database without backup and archivelogs

    Hi,
    We are in urgent need to recover a database without backup and archivelogs
    one datafile seems corrupted
    SQL> recover automatic database until cancel using BACKUP CONTROLFILE;
    ORA-00279: change 10527325422479 generated at 07/27/2011 03:13:04 needed for
    thread 1
    ORA-00289: suggestion : /pys/u5/oradata/PYS/PYSarch/arch0001.0000181845.arc
    ORA-00280: change 10527325422479 for thread 1 is in sequence #181845
    ORA-00278: log file '/pys/u5/oradata/PYS/PYSarch/arch0001.0000181845.arc' no
    longer needed for this recovery
    ORA-00308: cannot open archived log
    '/pys/u5/oradata/PYS/PYSarch/arch0001.0000181845.arc'
    ORA-27037: unable to obtain file status
    HP-UX Error: 2: No such file or directory
    Additional information: 3
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    CANCEL
    ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
    ORA-01152: file 1 was not restored from a sufficiently old backup
    ORA-01110: data file 1: '/pys/u2/oradata/PYS/pay_system_01.dbf'

    N Gasparotto wrote:
    bsac14 wrote:
    my database is in no archive mode
    can you please tell how to restore
    yes it is a datafile corruptionYou did not say how you defined that's a datafile corruption. You provide minimum to zero information.
    I just need to bring the database up,no need any exact data
    I can refresh from prod laterThen drop and recreate database. Basically and since you are not in archive mode, no recover is possible. Period.
    Nicolas.Hi,
    How did you come to the conclusion that your datafile is corrupted? Can you provide and supported logs?
    Regards .....

  • Recover Standby Database suggests wrong filename

    Hi,
    I am running Oracle Database 10g Release 10.2.0.3.0 - 64bit Production Standard Edition on Linux version 2.6.9-42.0.8.ELsmp ([email protected]) (gcc version 3.4.6 20060404 (Red Hat 3.4.6-3))
    I've created a physical standby database, but since I am running Standard Edition, I am not using the DataGuard features. I use the rsync utility to copy over the archivelogs to the standby database, and I apply them periodically to the standby database.
    The standby database is started this way :
    startup nomount pfile='/u01/oradata/orcl/initorcl.stdby';
    alter database mount standby database;
    And the archives are applied this way :
    recover standby database;
    AUTO
    (AUTO for the command to apply all available archive logs automatically, using the suggested paths and filenames)
    My problem is that once in a while (maybe once every 2-3 weeks), the suggested filename does not have the same format as the rest of the time. I then have to manually specify the correct filename and it goes fine after that.
    Example :
    In this example, you will see that it is first looking for sequence 22907 (o1_mf_1_22907_5n3m1xrf_.arc), then 22908 (o1_mf_1_22908_5n3m4kf0_.arc) [Notice the format of the file name] and then tries to look for sequence 22909, but looks for filename ".o1_mf_1_22909_5n3md1h5_.arc.qXMz5s"
    Mon Jan 4 06:22:01 2010
    ALTER DATABASE RECOVER standby database
    Media Recovery Start
    Managed Standby Recovery not using Real Time Apply
    ORA-279 signalled during: ALTER DATABASE RECOVER standby database ...
    Mon Jan 4 06:22:02 2010
    ALTER DATABASE RECOVER CONTINUE DEFAULT
    Mon Jan 4 06:22:02 2010
    Media Recovery Log /oraarch/oracle/flash_recovery_area/GIGA10G/archivelog/2010_01_04/o1_mf_1_22907_5n3m1xrf_.arc
    Mon Jan 4 06:24:20 2010
    ORA-279 signalled during: ALTER DATABASE RECOVER CONTINUE DEFAULT ...
    Mon Jan 4 06:24:20 2010
    ALTER DATABASE RECOVER CONTINUE DEFAULT
    Mon Jan 4 06:24:20 2010
    Media Recovery Log /oraarch/oracle/flash_recovery_area/GIGA10G/archivelog/2010_01_04/o1_mf_1_22908_5n3m4kf0_.arc
    Mon Jan 4 06:24:46 2010
    ORA-279 signalled during: ALTER DATABASE RECOVER CONTINUE DEFAULT ...
    Mon Jan 4 06:24:46 2010
    ALTER DATABASE RECOVER CONTINUE DEFAULT
    Mon Jan 4 06:24:46 2010
    Media Recovery Log /oraarch/oracle/flash_recovery_area/GIGA10G/archivelog/2010_01_04/.o1_mf_1_22909_5n3md1h5_.arc.qXMz5s
    Errors with log /oraarch/oracle/flash_recovery_area/GIGA10G/archivelog/2010_01_04/.o1_mf_1_22909_5n3md1h5_.arc.qXMz5s
    ORA-308 signalled during: ALTER DATABASE RECOVER CONTINUE DEFAULT ...
    Mon Jan 4 06:24:46 2010
    ALTER DATABASE RECOVER CANCEL
    Mon Jan 4 06:24:46 2010
    Media Recovery Canceled
    Completed: ALTER DATABASE RECOVER CANCEL
    Can someone explain to me why is this happening please ?
    Thanks a lot,
    Mat

    @fjfranken
    Yes. If I manually enter the name of the file for the sequence requested instead of passing the suggested fielname, it works fine.
    And the log_archive_format is not defined, I am using the flash_recovery_area and let Oracle manage this automatically.
    @Hemant K Chitale
    Unfortunately, those sequences are not listed anymore in the V$ARCHIVED_LOG view.
    Well, I think the the problem might be related to files that are being written to at some time...
    Thanks,
    Mat

  • How to recover a database with archive log

    how to recover database with archivle log

    Hi,
    With in information no one can tell the answer.
    Kindly post your qusetion in details information, you want to recover the database in archive log mode, what type of error you get, bcoz depending up on the errors you recover your database,
    please mention all about your database
    cheers
    Senthil Kumar

  • NEED TO RECOVER A DATABASE USING RMAN with CONTROL FILE AND NO RMAN CATALOG, DISK FAILURE..

    Hello All,
    The disk failure caused our production data on the disk to be resotred with the backup data available and recovered through RMAN with cotrolfile , and no catalog DB is configured.
    I had the restored the spfile and control file then recovered the database,
    startup nomount;
    RESTORE SPFILE FROM ' path '  ;
    Shutdown immediate;
    startup nomount
    Restore controfile from autobackup;
    restore database;
    [AT POINT , A MESSAGE PROMPTED LIKE " failur of restored command - some targets not found"  (thinking may be few archives are not found, i proceeded to incomeplete recovery of DB) ]
    recover database;
    Finished reocvery .
    Now in the Grid control i see that 60 blocks of a particular datafile are corrupted and needs recovery. Do i need to get the data file resotred again and recover it or any simple way to recover this data file
    When i perform the block recovery , it says recovery failed and when i run the data file recovery it succeeds. Please provide you inputs to recover the database as it is production BI database and pretty critical to our client.
    Thanks for your valuable time in advance.
    Regards,
    Ran G.

    These is a common problem if the object are created due to NOLOGGIN option. If you check most of the object which are facing block corruption is indexes .
    Use the below query to check the objects :
    It will map each block from v$database_block_corruption to either a segment or if the block is free.
    $ sqlplus / as sysdba
    set pagesize 2000
    set linesize 250
    SELECT e.owner, e.segment_type, e.segment_name, e.partition_name, c.file#
    , greatest(e.block_id, c.block#) corr_start_block#
    , least(e.block_id+e.blocks-1, c.block#+c.blocks-1) corr_end_block#
    , least(e.block_id+e.blocks-1, c.block#+c.blocks-1)
    - greatest(e.block_id, c.block#) + 1 blocks_corrupted
    , null description
    FROM dba_extents e, v$database_block_corruption c
    WHERE e.file_id = c.file#
    AND e.block_id <= c.block# + c.blocks - 1
    AND e.block_id + e.blocks - 1 >= c.block#
    UNION
    SELECT s.owner, s.segment_type, s.segment_name, s.partition_name, c.file#
    , header_block corr_start_block#
    , header_block corr_end_block#
    , 1 blocks_corrupted
    , 'Segment Header' description
    FROM dba_segments s, v$database_block_corruption c
    WHERE s.header_file = c.file#
    AND s.header_block between c.block# and c.block# + c.blocks - 1
    UNION
    SELECT null owner, null segment_type, null segment_name, null partition_name, c.file#
    , greatest(f.block_id, c.block#) corr_start_block#
    , least(f.block_id+f.blocks-1, c.block#+c.blocks-1) corr_end_block#
    , least(f.block_id+f.blocks-1, c.block#+c.blocks-1)
    - greatest(f.block_id, c.block#) + 1 blocks_corrupted
    , 'Free Block' description
    FROM dba_free_space f, v$database_block_corruption c
    WHERE f.file_id = c.file#
    AND f.block_id <= c.block# + c.blocks - 1
    AND f.block_id + f.blocks - 1 >= c.block#
    order by file#, corr_start_block#;
    Below oracle support note will help you :
    ORA-1578 / ORA-26040 Corrupt blocks by NOLOGGING - Error explanation and solution (Doc ID 794505.1)
    The Gains and Pains of Nologging Operations (Doc ID 290161.1)
    SQL> select d.NAME as DBF_NAME, t.NAME as TS_NAME, d.UNRECOVERABLE_CHANGE# as NOLOG_CHNG#, to_char(d.UNRECOVERABLE_TIME, 'Dy DD-Mon-YYYY HH24:MI:SS') as NOLOG_TIME from V$DATAFILE d join V$TABLESPACE t on d.TS# = t.TS# order by t.NAME;
    Thanks,
    gssdba.wordpress.com

  • Problem in recovering a database on another machine

    Dear All,
    I need your help in restoring and recovering a database on another machine. I don't have access to old machine to get logfile or archivelogs. I have taken full backup using RMAN. I have restored the database using rman sucessfully and trying to recover the database. RMAN have't restored the logfile. Database version is 8.1.7.4, OS is Solaris 8. In recovery, its showing the problem in rbs file. I'm showing all command and error. Just give me any idea that how to recover it sucessfully.
    SVRMGRL>recover database using backup controlfile until cancel;
    ORA-0279: Change 1935345519 generated at 08/19/2005 16:45:50 needed for thread 1
    ORA-0289: suggestion: /u07/oraexp/PROD/arch/arch_1_29958.arc
    ORA-0280: Change 1935345519 for thread 1 is in sequence #29958
    specify log : {RET}...
    cancel
    ORA-01547: warning: Recover succeeded but open resetlogs would get error below
    ORA-01194: file 2 needs more recovery to be consistent
    ORA-01110: data file 2: '/u06/oracle/oradata/PROD/rbs01-PROD.dbf'
    This RBS file size is 7GB. Is it the reason of problem. Even I tried until time, but its also has same error.
    SVRMGRL>recover database using backup controlfile until time '2005-08-16:20:10:00';
    ORA-0279: Change 1935345519 generated at 08/19/2005 16:45:50 needed for thread 1
    ORA-0289: suggestion: /u07/oraexp/PROD/arch/arch_1_29958.arc
    ORA-0280: Change 1935345519 for thread 1 is in sequence #29958
    specify log : {RET}...
    cancel
    ORA-01547: warning: Recover succeeded but open resetlogs would get error below
    ORA-01194: file 2 needs more recovery to be consistent
    ORA-01110: data file 2: '/u06/oracle/oradata/PROD/rbs01-PROD.dbf'
    Why its asking for archive file which generated on 19th, when I'm trying to recover until 16th only.
    Regards
    Rakesh

    Hi.
    What is the size of the redo logs in the database. With a small amount of transactions, there might be redo in this particular archived file from two days back. The timestamp of the archivelogfiles does not indicate that all redo in the file is from this day. It might have changes several days back if no logswitch occured inbetween.
    So, if I were you, I would provide all archivelogs required to get the datafiles consistent.
    As a matter of fact, if archived redo is in the following folder :
    /u07/oraexp/PROD/arch/
    I would use recover database until time and press return for all archived logs svrmgrl comes up with.
    I assume that the database was closed normally prior to taking the offline backup.
    Good luck.
    Rgds
    Kjell Ove

  • Redo log files are deleted, how to recover the database

    Hi All,
    I removed the redo01.log, redo02.log and redo03.log files of our Oracle database. And it caused the db to fail. Is there any way I can recover the database and startup database in normal mode? I do not need it to have all the latest data restored, I will be happy to just start the db and get going.
    database is in arcive log mode.
    Thanks

    Hello,
    You may try this if the database is mounted:
    recover database until cancel;
    cancel
    alter database open resetlogs;Hope it can help.
    Best regards,
    Jean-Valentin

Maybe you are looking for

  • MacBook Video Issues

    I've had my Macbook for two years with no problems and just a few days ago when I download a video to the hard drive or try try stream on from the web I will start to stop and start all the time. On another note around the same time this issue showed

  • OBIA- Connection Problems ORA-00604 and ORA-02248

    Hi, i have an installation OBI Server, Presentation Services, and Scheduler on RH Linux 64Bit, Oracle 11 DB, OBI Admin on Win xp, in online mode when i try import from Database i got following errors:ORA-00604 and ORA-02248 but i can Create ibots and

  • How to Import .txt files in ORACLE having 300 thousand records

    How to Import .txt files in ORACLE having 300 thousand records. Kindly help me in that context

  • Allow negative stock on storage location

    Dear all, When we allow negative stock on a storage location. At posting time we have an error "deficit stock of batch assignment". Anybody got a clue of what has to be done to correct this ??? Cheers, Olivier

  • Added outputs getting vanished because of BAPI in SAVE_DOCUMENT(DELIVERY)

    Hi Experts, We have requirement to update Sales order price whenever PGI happens. In order to do that 'BAPI_SALESORDER_CHANGE' was been used. New issue rose. 1. In delivery Extras-> Output header-> Added new output 2. Came back to delivery screen and