recover the database when losing all the controlfile

I read backup and recovery advanced 10 g R2 Guide.
I can't stop to understand a scene in the restoration of control of backup files after loss of control current files
Table 18 - 1 scenarios when control files are lost

When journal the online version report is unavailable, and the State of the data file is in progress, the restore procedure is as follows:

If online newspapers contain redo necessary for recovery, then
Re-create the control file. Because again the online newspapers are
inaccessible, open RESETLOGS (when online newspapers are
accessible, it is not necessary to OPEN RESETLOGS after
recovery with a created control file).


My question is create even you it the controlfile based on current data files, the online newspaper lost is always necessary for recovery (given the DB is the judgment)

So I can't get the consistent DB

It is with a database that has stopped. CREATE CONTROLFILE to read the headers of all the data files and to find "closed" in compatibility mode.

Hemant K Collette

Tags: Database

Similar Questions

  • When one of the contolfile is corrupted so how to recover the controlfile?

    When one of the contolfile is corrupted so how to recover the controlfile?

    Simply copy another control on your database to a file simply paste in the location of the corrupted controlfile.

    or

    Manually re-create the control file

    SQL > STARTUP NOMOUNT
    SQL >
    CREATE CONTROLFILE REUSE DATABASE "orcl".
    NORESETLOGS [archivelog/noarchivelog]
    MAXLOGFILES 5
    MAXLOGMEMBERS 3
    MAXDATAFILES 10
    MAXINSTANCES 1
    MAXLOGHISTORY 113
    LOGFILE
    GROUP 1 ' path to the REDO01. LOG' SIZE xxxM,
    GROUP 2 ' path to the REDO02. LOG' SIZE xxxM,
    GROUP 3 'path to the REDO03. LOG' SIZE xxxM
    DATA FILE
    "the data 1' SIZE xxx file path,
    "path of the file of data 2' SIZE xxx,
    "path of the data 3' SIZE xxx file,
    .
    .
    .
    .
    .
    .
    .
    "path of the data file n ' SIZE xxx,.
    ...
    GAME CHARACTERS [characater_set];

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

    Hello world

    How can I recover my database in the following scenario.

    1 offline full backup made 2 days ago. database was offline archive.
    2. today, I lost my file system data and also lost my all archived files.
    3. I started the database, but the following error is generated.

    SQL > startup
    ORACLE instance started.

    Total System Global Area 135338868 bytes
    Bytes of size 453492 fixed
    109051904 variable size bytes
    Buffers 25165824 database bytes
    Redo buffers 667648 bytes
    Mounted database.
    ORA-01113: file 1 needs media recovery
    ORA-01110: data file 1: ' D:\ORACLE\ORADATA\ORCL\SYSTEM01. DBF'

    4. I copied the data backup system file and wrote the following statement, to recover the database.

    SQL > recover datafile 1;
    ORA-00279: change 2234434 September at 2009-07-15 10:52:10 needed to screw 1
    ORA-00289: suggestion: C:\B\ARC00051.001
    ORA-00280: change 2234434 thread 1 is in sequence #51


    Specify the log: {< RET > = suggested |} Filename | AUTO | CANCEL}


    now, I have no file to archive. are there opportunities to recover the database?


    R e g a r d s,

    Asif Iqbal
    Software engineer,
    Lucky Tex, Karachi,
    In Pakistan.

    are there opportunities to recover the database?

    Yes

    Restore a full backup taken 2 days ago offline.

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

    I am facing a problem with the Oracle database, which is linked to archivelogs.
    Our development database is running in archivelog mode, but we don't have safeguards and have no recovery catalog.
    When the database was in running, disk got full, so some archivelogs were deleted manually.
    After that they have restarted the DB, and DB now not come. The errors are as follows:

    -------------------------------------------------------------------------------------------------------------


    SQL > startup
    ORACLE instance started.

    Total System Global Area 1444383504 bytes
    Bytes of size 731920 fixed
    486539264 variable size bytes
    956301312 of database buffers bytes
    Redo buffers 811008 bytes
    Mounted database.
    ORA-01589: must use RESETLOGS or NORESETLOGS option of database open


    SQL > alter database open resetlogs;
    ALTER database open resetlogs
    *
    ERROR on 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: cool cancelled due to errors
    ORA-01610: recovery using BACKUP CONTROLFILE option must be


    SQL > restore database using backup controlfile;
    ORA-00279: change 215548705 generated at 2008-09-02 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 thread 1 is in sequence #1107


    Specify the 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 get file status
    SVR4 error: 2: no such file or directory
    Additional information: 3


    Specify the log: {< RET > = suggested |} Filename | AUTO | CANCEL}
    Cancel
    Cancelled media recovery.
    SQL >

    -------------------------------------------------------------------------------------------------------------


    1 how to recover the database and put online

    Any help will be much appreciated.

    Regarding
    Hemant Joshi

    Published by: hem_Kec on 7 Sep 2008 09:07

    Hello

    It is actually quite easy.
    We knew that Oracle was looking for logsequence 1107. There is no archived log, it was deleted, or it has never generated. As you delete files, the 1st solution would be possible, BUT as there was only an instance crash so more old archived logs is not required for crash recovery. There is a need during the restoration of the old backup files, which is not our case.

    Thus, the missing log sequence has not been archived = > it is a redo log.
    To identify the required online redo log, we just to log query v$ as I suggest.

    Once the log identified file, we can recover it by specifying the redo log when you ask logsequence 1107.

    And it is on. We win! :)

  • How to recover the database with RMAN avoiding blur

    Hi gurus,


    I'm stuck in a situation and need your help.

    We check if our backups are valid or not. So it gave me a new server and backups/archives to a 2 TB database I need to restore/recovery. I followed steps below.

    (1) copied the prod parameter file to test.

    (2) make the necessary changes in the init file.

    db_file_name_convert, etc..

    (3) start db in nomount mode.

    (4) restore the backup control file

    Restore controlfile to ' / oraback/ARCH/prod/backup_controlfiles/c-250795000-20141030-01';

    (5) mount the database.

    (6) created under the rman script and executed.

    Run {}

    Catalogue start with ' / oraback/RMAN/test "noprompt.

    Catalogue start with ' / oraback/ARCH/test "noprompt.

    allocate channel C1 device type disk;

    allocate channel C2 device type disk;

    allocated channel C3 device type disk;

    allocate channel C4 device type disk;

    allocate channel C5 device type disk;

    allocate channel C6 device type disk;

    allocate channel C7 device type disk;

    allocate channel C8 device type disk;

    @rename_datafiles.lst

    @rename_logfiles.lst

    until the SNA 144390584718.

    restore the database;

    switch datafile;

    recover the database

    }

    Questions-

    -Restore completed successfully, but I found that few archives are missing.

    -I pulled from database to recover until cancel using backup controlfile; There is a below error

    ORA-01152: 1 no file has been restored from a sufficiently old backup

    ORA-01110: data file 1: ' / u02/oradata/testsystem01.dbf'

    -Then tried to restore the archive of available backup archive and few of archives have been restored.

    i.e. of sequence between 759529 and 759552.

    And then I pulled the database until cancel using backup controlfile recovery and I got errors below.

    SQL > restore database using backup controlfile until cancel;

    ORA-00279: change 144185396330 September at 26/10/2014 to 08:14:01

    thread 1

    ORA-00289: suggestion: /oraback/ARCH/arch_1_759541_535023608.arc

    ORA-00280: change 144185396330 thread 1 is in sequence #759541

    Specify the log: {< RET > = suggested |} Filename | AUTO | CANCEL}

    Auto

    ORA-00279: change 144187549215 September at 26/10/2014 to 08:22:05

    thread 1

    ORA-00289: suggestion: /oraback/ARCH/arch_1_759542_535023608.arc

    ORA-00280: change 144187549215 thread 1 is in sequence #759542

    ORA-00278: log file ' / oraback/ARCH/arch_1_759541_535023608.arc' is no longer

    necessary for this recovery

    ORA-00279: change 144187559176 September at 26/10/2014 08:28:41 needed to

    thread 1

    ORA-00289: suggestion: /oraback/ARCH/arch_1_759543_535023608.arc

    ORA-00280: change 144187559176 thread 1 is in sequence #759543

    ORA-00278: log file ' / oraback/ARCH/arch_1_759542_535023608.arc' is no longer

    necessary for this recovery

    ORA-00279: change 144188388865 September at 26/10/2014 08:36:51 needed to

    thread 1

    ORA-00289: suggestion: /oraback/ARCH/arch_1_759544_535023608.arc

    ORA-00280: change 144188388865 thread 1 is in sequence #759544

    ORA-00278: log file ' / oraback/ARCH/arch_1_759543_535023608.arc' is no longer

    necessary for this recovery

    ORA-00279: change 144188399424 September at 26/10/2014 08:46:40 needed to

    thread 1

    ORA-00289: suggestion: /oraback/ARCH/arch_1_759545_535023608.arc

    ORA-00280: change 144188399424 thread 1 is in sequence #759545

    ORA-00278: log file ' / oraback/ARCH/arch_1_759544_535023608.arc' is no longer

    necessary for this recovery

    ORA-00279: change 144189462436 September at 26/10/2014 08:54:04 needed to

    thread 1

    ORA-00289: suggestion: /oraback/ARCH/arch_1_759546_535023608.arc

    ORA-00280: change 144189462436 thread 1 is in sequence #759546

    ORA-00278: log file ' / oraback/ARCH/arch_1_759545_535023608.arc' is no longer

    necessary for this recovery

    ORA-00279: change 144189469985 September at 26/10/2014 08:58:13 needed to

    thread 1

    ORA-00289: suggestion: /oraback/ARCH/arch_1_759547_535023608.arc

    ORA-00280: change 144189469985 thread 1 is in sequence #759547

    ORA-00278: log file ' / oraback/ARCH/arch_1_759546_535023608.arc' is no longer

    necessary for this recovery

    ORA-00279: change 144189577217 September at 26/10/2014 to 09:01:38

    thread 1

    ORA-00289: suggestion: /oraback/ARCH/arch_1_759548_535023608.arc

    ORA-00280: change 144189577217 thread 1 is in sequence #759548

    ORA-00278: log file ' / oraback/ARCH/arch_1_759547_535023608.arc' is no longer

    necessary for this recovery

    ORA-00279: change 144189584836 September at 26/10/2014 to 09:05:26

    thread 1

    ORA-00289: suggestion: /oraback/ARCH/arch_1_759549_535023608.arc

    ORA-00280: change 144189584836 thread 1 is in sequence #759549

    ORA-00278: log file ' / oraback/ARCH/arch_1_759548_535023608.arc' is no longer

    necessary for this recovery

    ORA-00279: change 144189699671 September at 26/10/2014 to 09:09:23

    thread 1

    ORA-00289: suggestion: /oraback/ARCH/arch_1_759550_535023608.arc

    ORA-00280: change 144189699671 thread 1 is in sequence #759550

    ORA-00278: log file ' / oraback/ARCH/arch_1_759549_535023608.arc' is no longer

    necessary for this recovery

    ORA-00279: change 144189708674 September at 26/10/2014 to 09:14:23

    thread 1

    ORA-00289: suggestion: /oraback/ARCH/arch_1_759551_535023608.arc

    ORA-00280: change 144189708674 thread 1 is in sequence #759551

    ORA-00278: log file ' / oraback/ARCH/arch_1_759550_535023608.arc' is no longer

    necessary for this recovery

    ORA-00279: change 144189715134 September at 26/10/2014 to 09:21:51

    thread 1

    ORA-00289: suggestion: /oraback/ARCH/arch_1_759552_535023608.arc

    ORA-00280: change 144189715134 thread 1 is in sequence #759552

    ORA-00278: log file ' / oraback/ARCH/arch_1_759551_535023608.arc' is no longer

    necessary for this recovery

    ORA-00279: change 144189715148 September at 26/10/2014 to 09:21:52

    thread 1

    ORA-00289: suggestion: /oraback/ARCH/arch_1_759553_535023608.arc

    ORA-00280: change 144189715148 thread 1 is in sequence #759553

    ORA-00278: log file ' / oraback/ARCH/arch_1_759552_535023608.arc' is no longer

    necessary for this recovery

    ORA-00308: cannot open archived log ' / oraback/ARCH/arch_1_759553_535023608.arc'

    ORA-27037: unable to get file status

    IBM AIX RISC System/6000 error: 2: no such file or directory

    Additional information: 3

    ORA-10879: error reported in parallel recovery slave

    ORA-01547: WARNING: RECOVER succeeded but OPEN RESETLOGS would get below error

    ORA-01194: file 6 recovery needs more match

    ORA-01110: data file 6: ' / u01/oradata/testchgtwy_data01.dbf'

    -Now when I tried to open the database with resetlogs it gives below error.

    SQL > alter database open resetlogs;

    ALTER database open resetlogs

    *

    ERROR on line 1:

    ORA-01194: file 6 recovery needs more match

    ORA-01110: data file 6: ' / u01/oradata/testchgtwy_data01.dbf'

    -I found that sequence backup archives are missing 759553 to 759599. This is not present in the primary also.

    -I tried to check the blur of datafiles and achieved lower results.

    ALTER session set nls_date_format = 'DD-MON-YYYY HH24:MI:SS ";

    Set of feedback on

    topic on the value

    set pagesize 1000

    set linesize 175

    format of column checkpoint_change # 999999999999999999999

    Select the State, checkpoint_change #, fuzzy,.

    TO_CHAR (checkpoint_time, ' ' MON-DD-YYYY HH24:MI:SS) as checkpoint_time,.

    Count (*)

    v $ datafile_header

    Status group, checkpoint_change #, fuzzy, checkpoint_time

    order of the State, checkpoint_change #, fuzzy, checkpoint_time;

    STATUS CHECKPOINT_CHANGE # CHECKPOINT_TIME FUZZY COUNT (*)

    --------------------- ---------------------- --------- -------------------- ----------

    144189715148. ONLINE NO 26 OCTOBER 2014 09:21:52 123

    ONLINE 144375495577 YES 29 OCTOBER 2014 20:30:23 1

    ONLINE 144375495581 YES 29 OCTOBER 2014 20:30:23 1

    ONLINE 144375891732 YES 29 OCTOBER 2014 20:52 1

    ONLINE 144375891955 YES 29 OCTOBER 2014 20:52:03 1

    144376850545. ONLINE NO 29 OCTOBER 2014 21:13:10 1

    ONLINE 144376866610 YES 29 OCTOBER 2014 21:13:36 1

    ONLINE 144377230506 YES 29 OCTOBER 2014 21:31:42 1

    ONLINE 144377313738 YES 29 OCTOBER 2014 21:35:47 1

    144377571340. ONLINE NO 29 OCTOBER 2014 21:53:33 1

    ONLINE 144377625895 YES 29 OCTOBER 2014 21:57:39 1

    ONLINE 144378445278 YES 29 OCTOBER 2014 22:13:37 1

    ONLINE 144378578727 YES 29 OCTOBER 2014 22:20:43 1

    ONLINE 144378877241 YES 29 OCTOBER 2014 22:35:59 1

    ONLINE 144378912130 YES 29 OCTOBER 2014 22:42:25 1

    ONLINE 144379435791 YES 29 OCTOBER 2014 22:57:31 1

    ONLINE 144379545905 YES 29 OCTOBER 2014 23:03:17 1

    ONLINE 144379631677 YES 29 OCTOBER 2014 23:18:53 1

    ONLINE 144379637933 YES 29 OCTOBER 2014 23:24:18 1

    ONLINE 144380039550 YES 29 OCTOBER 2014 23:37:44 1

    ONLINE 144380054601 YES 29 OCTOBER 2014 23:41:40 1

    ONLINE 144380099883 YES 29 OCTOBER 2014 23:54:16 1

    ONLINE 144380114063 YES 29 OCTOBER 2014 23:59:41 1

    ONLINE 144380676881 YES 30 OCTOBER 2014 00:13:27 1

    ONLINE 144380869308 YES 30 OCTOBER 2014 00:20:33 1

    ONLINE 144381101372 YES 30 OCTOBER 2014 00:32:49 1

    ONLINE 144381124605 YES 30 OCTOBER 2014 00:40:54 1

    ONLINE 144381393417 YES 30 OCTOBER 2014 00:51:20 1

    ONLINE 144382166578 YES 30 OCTOBER 2014 01:00:46 1

    ONLINE 144382500313 YES 30 OCTOBER 2014 01:10:11 1

    ONLINE 144382666697 YES 30 OCTOBER 2014 01:18:47 1

    ONLINE 144382861398 YES 30 OCTOBER 2014 01:30:02 1

    ONLINE 144383132266 YES 30 OCTOBER 2014 01:37:38 1

    ONLINE 144383283837 YES 30 OCTOBER 2014 01:48:24 1

    ONLINE 144383580087 YES 30 OCTOBER 2014 01:55:49 1

    ONLINE 144384682269 YES 30 OCTOBER 2014 02:06:55 1

    ONLINE 144384792040 YES 30 OCTOBER 2014 02:12:50 1

    144385726601. ONLINE NO OCTOBER 30, 2014 02:24:16 1

    144385779382. ONLINE NO OCTOBER 30, 2014 02:29:51 1

    ONLINE 144385956865 YES 30 OCTOBER 2014 02:41:27 1

    ONLINE 144386015770 YES 30 OCTOBER 2014 02:46:22 1

    ONLINE 144386151651 YES 30 OCTOBER 2014 02:59:08 1

    ONLINE 144386317681 YES 30 OCTOBER 2014 03:04:13 1

    ONLINE 144386563076 YES 30 OCTOBER 2014 03:16:59 1

    ONLINE 144386565235 YES 30 OCTOBER 2014 03:18:44 1

    ONLINE 144386699656 YES 30 OCTOBER 2014 03:31:40 1

    144386801438. ONLINE NO OCTOBER 30, 2014 03:36:15 1

    144387128892. ONLINE NO OCTOBER 30, 2014 03:52:31 1

    ONLINE 144387143873 YES 30 OCTOBER 2014 03:53:56 1

    144387490033. ONLINE NO OCTOBER 30, 2014 04:09:52 1

    ONLINE 144387501235 YES 30 OCTOBER 2014 04:11:27 1

    144388180516. ONLINE NO OCTOBER 30, 2014 04:26:44 1

    ONLINE 144388433270 YES 30 OCTOBER 2014 04:31:19 1

    ONLINE 144388902410 YES 30 OCTOBER 2014 04:42:55 1

    ONLINE 144388917251 YES 30 OCTOBER 2014 04:53:11 1

    ONLINE 144389534812 YES 30 OCTOBER 2014 05:01:56 1

    ONLINE 144389556024 YES 30 OCTOBER 2014 05:08:42 1

    ONLINE 144389674922 YES 30 OCTOBER 2014 05:19:48 1

    ONLINE 144389831920 YES 30 OCTOBER 2014 05:26:13 1

    144389957543. ONLINE NO OCTOBER 30, 2014 05:42:59 1

    ONLINE 144389982414 YES 30 OCTOBER 2014 05:46:24 1

    144390137798. ONLINE NO OCTOBER 30, 2014 05:56:40 1

    ONLINE 144390460229 YES 30 OCTOBER 2014 06:12:36 1

    ONLINE 144390474106 YES 30 OCTOBER 2014 06:13:11 1

    144390582132. ONLINE NO OCTOBER 30, 2014 06:27:27 1

    144390582634. ONLINE NO OCTOBER 30, 2014 06:28:02 1

    (1) how to proceed from here.

    (2) all the changes I need to do to the RMAN script. As I need to automate the process of restoration.

    (3) I don't want to use under hidden settings

    _ALLOW_RESETLOGS_CORRUPTION = TRUE

    _CORRUPTED_ROLLBACK_SEGMENTS = (Automatic Undo segments comma-separated list)

    Thank you for the support.

    You can not ignore the archivelogs.

    If the archivelogs are not available, you need a database backup that was created after missing the last archivelog point.

    Hemant K Collette

  • Recover the database by using cold backup

    Hi all

    One of the table is deleted accidentally by one of our DBA of PROD. We have a backup to cold on a day before.

    Now, we try to restore from the backup to cold. DB PROD is in archivelog and all the archives are in tact.

    The resulting table truncated today at 20:00. We can apply the database until 20:00 so that we can restore the table truncated using cold backup.

    Please find the steps we use to restore below.

    create controlfile

    from the db in State of Mt.

    recover the database;

    It will ask for last log archive when we try to get it back.

    ENV details-

    DB - 11.2.0.1

    Please suggest.

    Thank you

    create controlfile

    from the db in State of Mt.

    recover the database;

    This method is not correct. Here are the four steps for incomplete recovery (which is what you need):

    Mount the database

    restore all data files

    recover the database up to the...

    ALTER database open resetlogs

    Your DBA (who say you was responsible for the error) will be familiar with the routine. Or it should be.

  • Recover a database using the archivelogs

    We have restored a backup of cold base using avamar from one server to another. All data, controlfiles, pfiles files are in place right after restoration. It is a 9i database. All I have to do now is to recover the database to a point in time which is 3 days after the last cold backup. I have all necessary archivelogs that transferred to destination Ark. Here are the steps that I think we need to do to recover the database using the archivelogs until the point in time with RMAN:

    RUN {}

    BOOTABLE MEDIA;

    RECOVER THE DATABASE;

    ALTER DATABASE OPEN;

    }

    Please let me know if I'm missing something here.

    your third step is able, as sybrand_b said that your DB is already in a consistent state.

    The backup controlfile clause must notify oracle that SNA to controlfile is not common and needs recovery to bring back to the most recent State, is recommended to use the backup controlfile clause if you are recovering from an old controlfile or recreated controlfile.

    Mark post below to roll forward from a cold backup.

    Hemant Oracle DBA blog: RollForward from backup to cold

  • recover the database up to the time, ORA-600 [2619]

    Oracle 11.2.0.3.9

    Solaris 10

    I have a database of pending that I would copy and activate the copy in another recovery base autonomous disaster.  I took a "Save as copy" of the day before and generated a controlfile primary with «alter database backup controlfile to trace...» ».

    I edited the controlfile, but now course issues with my recover.  I want to get back at 11:00, but I get an error ORA-600 at the end of the restoration and data files have a 10:40:46 checkpoint_time.  Here's the problem:

    Hood > sqlplus / as sysdba

    SQL * more: Production release 11.2.0.3.0 Wed Oct 8 11:35:47 2014

    Copyright (c) 1982, 2011, Oracle.  All rights reserved.

    Connected to:

    Oracle Database 11 g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production

    With partitioning, OLAP, Data Mining and Real Application Testing options

    SQL > restore database using backup controlfile until time ' 2014 - 10 - 08:11:00:00';

    ORA-00279: change 90406997774 generated at 08/10/2014 10:40:46 needed to

    thread 1

    ORA-00289: suggestion: /oracle/logs/NFDR/arch_598887_1_527943760.dbf

    ORA-00280: change 90406997774 thread 1 is in sequence #598887

    Specify the log: {< RET > = suggested |} Filename | AUTO | CANCEL}

    Auto

    ORA-00600: internal error code, arguments: [2619], [598887], [] [], [], [],.

    [], [], [], [], [], []



    SQL > select file #, to_char (checkpoint_time, 'YYYYMMDD HH24:MI:SS') from v$ datafile_header by 2.

    FOLDER # TO_CHAR (CHECKPOIN

    ---------- -----------------

    1 20141008 10:40:46

    2 20141008 10:40:46

    ...


    I have provided all archivelogs (even more) to the new database.  On the primary:


    SELECT the name of sequence #, first_time next_time OF V$ ARCHIVED_LOG WHERE SEQUENCE # < = 598889 AND name! = 'nfpo_stby' ORDER BY DESC SEQUENCE #.


    /archive01/NFPO/arch_598889_1_527943760.dbf59888908/10/2014 11:34:0508/10/2014 11:55:26
    /archive01/NFPO/arch_598888_1_527943760.dbf59888808/10/2014 11:09:4408/10/2014 11:34:05
    /archive01/NFPO/arch_598887_1_527943760.dbf59888708/10/2014-10:40:4608/10/2014 11:09:44
    /archive01/NFPO/arch_598886_1_527943760.dbf59888608/10/2014-09:57:1508/10/2014-10:40:46
    /archive01/NFPO/arch_598885_1_527943760.dbf59888508/10/2014-09:03:0308/10/2014-09:57:15
    /archive01/NFPO/arch_598884_1_527943760.dbf59888408/10/2014-08:30:1108/10/2014-09:03:03
    /archive01/NFPO/arch_598883_1_527943760.dbf59888308/10/2014 08:07:2308/10/2014-08:30:11
    /archive01/NFPO/arch_598882_1_527943760.dbf59888208/10/2014 08:05:5308/10/2014 08:07:23
    /archive01/NFPO/arch_598881_1_527943760.dbf59888108/10/2014-07:33:2908/10/2014 08:05:53


    SQL > show parameter log_archive_dest;

    VALUE OF TYPE NAME

    ------------------------------------ ----------- ------------------------------

    Log_archive_dest chain

    Log_archive_dest_1 string LOCATION = / oracle/logs/NFDR

    ...


    Hood > cd/oracle/logs/NFDR

    Hood > ls - lah

    Total 3170612

    DBA oracle drwxr-xr-x 2 512 8 Oct 11:35.

    DBA oracle drwxr-xr-x 4 512 8 Oct 09:01...

    -rw - r - 1 oracle dba 173M 8 Oct 11:03 arch_598881_1_527943760.dbf

    -rw - r - 1 oracle dba M 174, 8 Oct 11:04 arch_598882_1_527943760.dbf

    -rw - r - 1 oracle dba M 175, 8 Oct 11:04 arch_598883_1_527943760.dbf

    -rw - r - 1 oracle dba 169M 8 Oct 11:04 arch_598884_1_527943760.dbf

    -rw - r - 1 oracle dba 168M 8 Oct 11:04 arch_598885_1_527943760.dbf

    -rw - r - 1 oracle dba 168M 8 Oct 11:04 arch_598886_1_527943760.dbf

    -rw - r - 1 oracle dba 200M 8 Oct 11:04 arch_598887_1_527943760.dbf

    -rw - r - 1 oracle dba M 121, 8 Oct 11:34 arch_598888_1_527943760.dbf

    -rw - r - 1 oracle dba 200M 8 Oct 11:35 arch_598889_1_527943760.dbf

    Why my database only get over not at 10:40, 11:00?

    Just a semantic quibble: you can't have a recovery with noarchivelog database.  (Unless I'm missing something)

  • recover the db when a redolog online is deleted

    Hi all

    I have backup rman 11g dB, someone file.now redolog deleted online I get the db via rman recovery but the problem is I dnt know the time and day this file online redolog is deleted.how I can find the time and the day where this file online redolog is deleted by the user? your help is appreciated.

    Thank you and best regards.

    XXXX.

    Unless the CURRENT log file is deleted, there is no need to use RMAN to RESTORE and RECOVER the database.

    You say that you do not know the time and day when the log file has been deleted.  This means that the CURRENT no logfile multiplexes has been removed.

    In all other cases, you need not to RMAN.

    Hemant K Collette

  • recover the database

    Hi all

    I took a backup using the database in backup mode

    alter database begin backup
    copying the files to the new destination
    change the backup of the end
    insert into values('abc') of the employee;
    Commit
    alter system archive log current;
    alter database backup controlfile to trace as "c:\control01.sql"
    connected to the new database

    created settings file,

    startup nomount;

    C:\control01.SQL Edited
    and inventory is change, change reuse to set
    Control file to
    @C:\control01.sql
    was created

    ALTER system set log_archive_dest_1 =' location = c ';

    copied the primary database archiving logs at this location

    now, I want to know the difference between


    recover the database, recover database until cancel and recover database using backup contorlfile up to cancel


    Thank you

    948024 wrote:
    Thank you very much guys it really helped,

    I fixed the database completely I have cross checked the lines that I have inserted after taking the backup, and they are in the new database

    just one thing guys.

    now both HAV same databses data...

    Once again if I want to insert rows in the primary database and

    alter system archive log current;

    then the cn I directly paste this newspaper archive in second file of database archvive and make immediate judgment

    N ° once you opened this second database, he began his life with it's own set of stock footage, it's own set of SNA. You can not just graft in a some other database archivelog, no matter how closely, you think that these databases are linked. Oracle is concerned, as they have zero relationship to another.

  • Why cant the controlfile be synchronized, when you use the backup controlfile

    Hi all

    I understand a little... .to leave a DBA of my friends...

    you need a resetlog to synchronize the data file headers and the controlfiles

    (1) you need a resetlog when you perform incomplete recovery
    (2) you can complete recovery using a backup controlfile as long as you have all the necessary archived logs and online redo logs.
    (3) but not to do resetlog after 2), you must re-create the controlfile

    my questions are

    T1) are the next point above true?

    (* q2) why update slope the controlfile to oracle during recovery using backup controlfile? in this case, I do not need to recreate a controlfile, isn't?


    Rgds,
    Noob

    user12050668 wrote:
    Hi Alex and the guys,.

    Thanks for comfirming my questions.
    I wonder what...

    -resetlog was designed to synchronize the control and the data headers file isn't it?
    -When I get back, even if I am using backup controlfile, I'm actually synchronization data is not?

    Yes it's true. But also during resetlogs you get new redologs and PAPER SEQUENCE NUMBER will be 1 and the database will has new incarnation.

    so, the only reason why I need resetlog even if I finished syncing correctly to the point of failure, is simply because I am using a BACKUP controlfile?.

    Yes quite right.

  • recover the database by using the RMAN backup archivelogs

    Hello

    I tried to find the resolution of this problem in google a lot but couldn't find something useful.

    Location:

    We try to clone the dev environment of production that are completely on different servers and do not share a common mount point.
    Backup RMAN of PROD with RMAN as well as arch newspapers are kept in this mount point.
    We took control of backup files of PROD restored in DEV fired restore with recovery until a when not.
    Turns out that the sequence was not saved in right backupsets there if recovery has not requested more arch newspapers that are present in the PROD.
    Archs are stored in ASM and only way out is to take of RMAN backup of them.
    We control the file as a repository for RMAN.

    my questions are

    1. surely, I need to take backup of the control file after I take the log arch by RMAN backup and restore this file command in the DEV of so that when I start RMAN recovery in DEV, database will be able to find the backupset with arch newspapers. But the new restore a control file will delete the data files restored information?

    2. If we did not have a point of common Assembly and then after sending the backup destination elements how the database would be the locations of the game copied to the new location of the control file that is restored from the backup source?

    Suppose that in the source backups are stored in/backup/rman
    in destination copy us in/backup/clone
    in the PROD control file, their locations are saved in/backup/rman
    so if I restore this command file in custom DEV it find the elements of backup in/backup/rman?
    is it possible to save a backup of outside item in the control of a database file?


    3 al ' ASM, is there another way to extract the PROD archive logs and apply them to a cloned instance? (sending of newspapers without DR)

    The help is very appreciated.

    Kind regards
    Marjorie Dutta

    1. .... But the new restore a control file will delete the data files restored information?

    N ° provided that you do not have renamed, moved or abandoned any of the data files that were already copied in DEV. (also, subject that you did not add da new Production data between two backups - otherwise the new controlfile file will wait as datafile also to be present at DEV).
    You will do an incomplete recovery until a certain SNA / sequence # if information subsequent archivelogs beyond your point of recovery in the controlfile are redundant. In addition, a RESETLOGS would be done when you OPEN the database.

    2... how to know the locations of the game copied to the new location of the control file that is restored from the backup source database?

    What is the order CATALOG. In 9i, CATALOGUE could only of catalog datafilecopy. In 10g and more, you can BackupPieces CATALOGUER. Thus, it would "update" the controlfile (which is the RMAN Repository) with information about the BackupPieces that are present in a replacement / new location.
    See http://download.oracle.com/docs/cd/B19306_01/backup.102/b14194/rcmsynta011.htm#sthref230

    3. ... ASM, is there another way to extract the PROD archive logs and apply them to a cloned instance?

    According to the version you are using, ASMCMD has a 'cp' command to copy the files from the DSO for the operating system. However, you cannot use ASM to apply directly the archivelogs. You always use the 'RECOVER' of RMAN or SQL command line command.

    Hemant K Collette
    http://hemantoracledba.blogspot.com

  • Recover the database Losted

    I have a new adventure like Oracle Database Administrator (of course as a beginner): I assume that this database has crashed during the backup. Now, I can't launch database, I can't retrieve the database, I can't do anything. EM said "the State of the database is currently unavailable. It is possible Traore, the database is in State of Mount or nomount. Click 'Start' to get the current state and open the database. If the database cannot be opened, click "Perform the valuation" to run a proper recovery operation. "When I try to"Start", according to the information of identification and"work in progress", he returned to the first window. I tried to perform recovery, but the result is same.

    Can someone describe me procedure how to recover the database step by step? I need to recover the data from the tables and if it is possible, the tables.

    I have the database Oracle 10.1.0 on Windows 2003 server.

    Thanks in advance!

    Miroslav197 wrote:
    Yes, I did: alter system set db_recovery_file_dest_size = 10G-force and commissioning.

    Now, he says: ORACLE instance started. Complete system...; Mounted database. ; Open database.

    Looks all right. Do I need something more to do before opening EM?

    Yes.
    Actually answer your question. Except that pst responded and post correct/good

  • recover the database unitl cancel using the control file

    I refreshed with db1 db2, copied all the newspapers dbfile and archive to the db2 server and setup/adjusted spfile, controlfile etc on the new db2 server and has
    recover the database unitl cancel using the control file.
    ALTER database open resetlogs.

    Now the customer want to refresh it after 2 days, I wonder of I need only archive newspapers or both? to do the same again?

    Published by: DBA2008 on November 11, 2009 09:49

    Yes, you can 'restore to cancel' several times.

  • How do I recover my database with the backup hot?

    Expensive of DBA,.

    I take the backup of my database as below. Please guide me how to recover the database at the time of the failure with my backup.

    Step 1: Begin backup Mode

    connect sysdba virtue
    alter tablespace SYSTEM begin backup;
    alter tablespace UNDOTBS1 begin backup;
    alter tablespace SYSAUX begin backup;
    alter tablespace USERS begin backup;
    alter tablespace EXAMPLE begin backup;
    alter system switch logfile;
    ALTER database backup controlfile to trace as 'C:\backup\ctrl.bak ';
    output

    Step 2: Database of Coping files

    Copy C:\oracle\product\10.2.0\oradata\db1\SYSTEM01. DBF C:\backup\
    Copy C:\oracle\product\10.2.0\oradata\db1\UNDOTBS01. DBF C:\backup\
    Copy C:\oracle\product\10.2.0\oradata\db1\SYSAUX01. DBF C:\backup\
    Copy C:\oracle\product\10.2.0\oradata\db1\TEMP01. DBF C:\backup\
    Copy C:\oracle\product\10.2.0\oradata\db1\USERS01. DBF C:\backup\
    Copy C:\oracle\product\10.2.0\oradata\db1\EXAMPLE01. DBF C:\backup\
    Copy C:\oracle\product\10.2.0\oradata\db1\CONTROL01. CTL C:\backup\
    Copy C:\oracle\product\10.2.0\oradata\db1\CONTROL02. CTL C:\backup\
    Copy C:\oracle\product\10.2.0\oradata\db1\CONTROL03. CTL C:\backup\
    Copy C:\oracle\product\10.2.0\oradata\db1\REDO01. JOURNAL C:\backup\
    Copy C:\oracle\product\10.2.0\oradata\db1\REDO02. JOURNAL C:\backup\
    Copy C:\oracle\product\10.2.0\oradata\db1\REDO03. JOURNAL C:\backup\

    Step 3: End to high mode

    sqlplus/nolog
    connect sysdba virtue
    alter tablespace backup end of SYSTEM;
    alter tablespace UNDOTBS1 backup end;
    change the tablespace SYSAUX end backup;
    alter tablespace USERS end backup;
    change the EXAMPLE tablespace backup;
    output


    Best regards
    SG

    PGO

    All recovery scenarios are discussed in the following documents.

    Oracle® backup and recovery of bases 10 g Release 2 (10.2)
    http://download.Oracle.com/docs/CD/B19306_01/backup.102/b14192/TOC.htm

    Oracle® database 10 g Release 2 User Guide Advanced Backup and restore (10.2)
    http://download.Oracle.com/docs/CD/B19306_01/backup.102/b14191/TOC.htm

    Note: 94114.1 - backup and recovery scenarios
    https://MetaLink.Oracle.com/MetaLink/PLSQL/ml2_documents.showDocument?p_database_id=not&P_ID=94114.1

    Kind regards
    Hussein

Maybe you are looking for

  • How can I remove istart webssearches please

    I want to remove a hyjacker browser called istart webssearches

  • Impossible to verify updates or install apps

    Since last week (20.2.2016), I can not install applications or check the updates on my iPhone 6. I got iOS 9.2 I've tried everything -restart -hard reset -update to 9.2.1 using iTunes (also updated iTunes to latest version) -Connected to my Apple acc

  • [Config] 877 VPN - please help

    Hello I wonder if someone could help me because I am quite stuck I am trying to establish the following VPN configuration? Remote user Mobile > Internet > Cisco VPN > server (service) With the help of SDM I selected 'Easy VPN Server' deployment. I am

  • Previous event of Max

    An interesting scenario. Source table records the history of events with time stamp:CustomerID ChangeType OldValue, NewValue TimeStamp1 Change1 off 01/01/2014 0:002 Change1 off the 11:50 02/01/20141 futur2 TRUE FALSE 02/01/2014 11:551 Change1 off the

  • I bought for plan 1 year for lightroom and Photoshop - version students

    But why he says it is expired? and it is so even in PhotoShop and I uninstalled it now.I tried to disconnect and reconnect.Likewise, I am tired of uninstall and install again twice.