Control files and spfile backup automatic backup fails

Hi all

I use Oracle RAC 11 g ASM 2. My database is 2 knots RAC1 and RAC2.

I take the RMAN database backup ASM diskgroup (FRA) and RAC1 and RAC2-mounted network file system. I have this requirement backup also outside the DSO.

I put: set UP the CONTROL FILE AUTOBACKUP ON;
I'm runing the node RMAN backup task 2 (RAC2)

I am facing the error when taking a backup to the network file system. below
Starting Control File and SPFILE Autobackup at 08-SEP-12
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of Control File and SPFILE Autobackup command on ORA_DISK_1 channel at 09/08/2012 18:20:06
ORA-00245: control file backup failed; target is likely on a local file system
How would I fix this?

Kind regards

Hello

Please take a look at the document MOS * RMAN backup fails with Ora-00245 and Rman-08132 [1365484.1 ID] *.

Snapshot must Controlfile location on a location shared between the nodes.

Tags: Database

Similar Questions

  • Lost all control files and no available backup... . How to recover the DB

    All,

    We have lost all control files and no backups available now...

    How to proceed on this to recover the database without data loss is possible...?

    Oracle 10g on solaris

    Hello

    Check out the link:
    http://Myracle.WordPress.com/2008/01/11/recover-database-without-control-files-and-redo-log-files/

    Thank you
    A H E E R X

  • Control files and backup spfile


    Hi all

    This is a database of GR 11, 2. There is a running script to keep the full backup.

    crosscheck archivelog all;
    crosscheck backup;
    backup database;
    backup archivelog all delete input;
    delete noprompt obsolete;
    

    I checked the controlfile autobackup using - show controlfile autobackup.    and it is turned OFF

    But when I run - list backup of controlfile; list backup of spfile;

    I find that contolfile benefits from the support upwards and also through the above script spfile

    Can someone please explain to me how this happens without controlfile autobackup

    Thanks in advance

    This is a normal behavior on version 11.2 and beyond

    No matter if controlfile autobackup turned OFF, RMAN automatically includes the control file and the server settings file in the backups of data file1

    (i.e backup database command always include datafile 1 which trigger backup of control and spfile).

  • lost control file and datafile addeed restore/recovery without loss of data

    Here, I tried the following

    created a new table called t2 and made sure the data went to a specific tablespace...
    has taken a level 0 backup
    remove the control file
    couple of datafile to above tablespace was added and then insert more data
    then went out to restore the database... but datafile and control file always could not be open? What is wrong here...

    SQL> @datafile
    -- list of datafile
    
    Tablespace File Typ Tablespac File Stat    Used MB    Free MB    FILE_MB    MAXMB Datafile_name                     FILE_ID AUT
    ---------- -------- --------- --------- ---------- ---------- ---------- -------- ------------------------------ ---------- ---
    UNDOTBS1   Datafile ONLINE    AVAILABLE         16         84        100    1,024 /data/trgt/undotbs01.dbf                3 YES
    USERS      Datafile ONLINE    AVAILABLE       1153        895       2048    3,072 /data3/trgt/user02.dbf                  5 YES
    CNT_TST    Datafile ONLINE    AVAILABLE          1          9         10        0 /data3/trgt/cnt_tst01.dbf               7 NO
    SYSAUX     Datafile ONLINE    AVAILABLE        626         35        660   32,768 /data/trgt/sysaux01.dbf                 2 YES
    USERS      Datafile ONLINE    AVAILABLE       2031         17       2048    2,048 /data3/trgt/move/users01.dbf            4 YES
    SYSTEM     Datafile ONLINE    AVAILABLE        712         58        770   32,768 /data/trgt/system01.dbf                 1 YES
    USERS      Datafile ONLINE    AVAILABLE         65         35        100   32,768 /data3/trgt/users03.dbf                 6 YES
    
    7 rows selected.
    -- new table is created called t2 and its going into TS called cnt_tst
    SQL> CREATE TABLE TEST.T2
    (
      C1  DATE,
      C2  NUMBER,
      C3  NUMBER,
      C4  VARCHAR2(300 BYTE)
    )
    TABLESPACE cnt_tst;  2    3    4    5    6    7    8
    
    Table created.
    -- data inserted
    SQL> INSERT INTO
      test.T2
    SELECT
      *
    FROM
      (SELECT
        SYSDATE,
        ROWNUM C2,
        DECODE(MOD(ROWNUM,100),99,99,1) C3,
        RPAD('A',300,'A') C4
      FROM
        DUAL
      CONNECT BY
        LEVEL <= 10000)
    ;   2    3    4    5    6    7    8    9   10   11   12   13   14   15
    
    10000 rows created.
    
    SQL> commit;
    
    Commit complete.
    -- to check of cnt_tst has any free space or not, as we can see its full
    SQL> @datafile
    
    Tablespace File Typ Tablespac File Stat    Used MB    Free MB    FILE_MB    MAXMB Datafile_name                     FILE_ID AUT
    ---------- -------- --------- --------- ---------- ---------- ---------- -------- ------------------------------ ---------- ---
    UNDOTBS1   Datafile ONLINE    AVAILABLE         16         84        100    1,024 /data/trgt/undotbs01.dbf                3 YES
    USERS      Datafile ONLINE    AVAILABLE       1153        895       2048    3,072 /data3/trgt/user02.dbf                  5 YES
    SYSAUX     Datafile ONLINE    AVAILABLE        626         35        660   32,768 /data/trgt/sysaux01.dbf                 2 YES
    USERS      Datafile ONLINE    AVAILABLE       2031         17       2048    2,048 /data3/trgt/move/users01.dbf            4 YES
    SYSTEM     Datafile ONLINE    AVAILABLE        712         58        770   32,768 /data/trgt/system01.dbf                 1 YES
    USERS      Datafile ONLINE    AVAILABLE         65         35        100   32,768 /data3/trgt/users03.dbf                 6 YES
    CNT_TST    Datafile ONLINE    AVAILABLE         10          0         10        0 /data3/trgt/cnt_tst01.dbf               7 NO
    
    7 rows selected.
    
    SQL> select count(*) from test.t2;
    
      COUNT(*)
    ----------
         10000
    
    1 row selected.
    -- to get a count and max on date
    SQL> select max(c1) from test.t2;
    
    MAX(C1)
    ------------------
    29-feb-12 13:47:52
    
    1 row selected.
    
    SQL> -- AT THIS POINT A LEVEL 0 BACKUP IS TAKEN (using backup database plus archivelog)
    SQL> -- now control files are removed
    SQL> select name from v$controlfile;
    
    NAME
    --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    /ctrl/trgt/control01.ctl
    /ctrl/trgt/control02.ctl
    
    2 rows selected.
    
    SQL>
    SQL> ! rm /ctrl/trgt/control01.ctl
    SQL> ! rm /ctrl/trgt/control02.ctl
    SQL> ! ls -ltr /ctrl/trgt/
    
    ls: /ctrl/trgt/: No such file or directory
    
    SQL> 
    -- new datafile is added to CNT_TST TABLESPACE and new data is added as well
    SQL> ALTER TABLESPACE CNT_TST ADD DATAFILE '/data3/trgt/CNT_TST02.dbf' SIZE 100M AUTOEXTEND OFF;
    
    Tablespace altered.
    
    SQL> ALTER SYSTEM CHECKPOINT;
    
    System altered.
    
    SQL> alter system switch logfile;
    
    System altered.
    
    SQL> /
    
    System altered.
    
    SQL> /
    
    System altered.
    
    SQL> ALTER TABLESPACE CNT_TST ADD DATAFILE '/data3/trgt/CNT_TST03.dbf' SIZE 100M AUTOEXTEND OFF;
    
    Tablespace altered.
    
    SQL>  INSERT INTO
      test.T2
    SELECT
      *
    FROM
      (SELECT
        SYSDATE,
        ROWNUM C2,
        DECODE(MOD(ROWNUM,100),99,99,1) C3,
        RPAD('A',300,'A') C4
      FROM
        DUAL
      CONNECT BY
        LEVEL <= 10000)
    ;   2    3    4    5    6    7    8    9   10   11   12   13   14   15
    
    10000 rows created.
    
    SQL> /
    
    10000 rows created.
    
    SQL> commit;
    
    Commit complete.
    
    SQL> INSERT INTO
      test.T2
    SELECT
      *
    FROM
      (SELECT
        SYSDATE,
        ROWNUM C2,
        DECODE(MOD(ROWNUM,100),99,99,1) C3,
        RPAD('A',300,'A') C4
      FROM
        DUAL
      CONNECT BY
        LEVEL <= 40000)
    ;  2    3    4    5    6    7    8    9   10   11   12   13   14   15
    
    40000 rows created.
    
    SQL> commit;
    
    Commit complete.
    
    SQL> @datafile
    -- to make sure new datafile has been registered with the DB 
    Tablespace File Typ Tablespac File Stat    Used MB    Free MB    FILE_MB    MAXMB Datafile_name                     FILE_ID AUT
    ---------- -------- --------- --------- ---------- ---------- ---------- -------- ------------------------------ ---------- ---
    CNT_TST    Datafile ONLINE    AVAILABLE          9         91        100        0 /data3/trgt/CNT_TST03.dbf               9 NO
    UNDOTBS1   Datafile ONLINE    AVAILABLE         16         84        100    1,024 /data/trgt/undotbs01.dbf                3 YES
    USERS      Datafile ONLINE    AVAILABLE       1153        895       2048    3,072 /data3/trgt/user02.dbf                  5 YES
    CNT_TST    Datafile ONLINE    AVAILABLE          9         91        100        0 /data3/trgt/CNT_TST02.dbf               8 NO
    SYSAUX     Datafile ONLINE    AVAILABLE        626         35        660   32,768 /data/trgt/sysaux01.dbf                 2 YES
    USERS      Datafile ONLINE    AVAILABLE       2031         17       2048    2,048 /data3/trgt/move/users01.dbf            4 YES
    SYSTEM     Datafile ONLINE    AVAILABLE        712         58        770   32,768 /data/trgt/system01.dbf                 1 YES
    USERS      Datafile ONLINE    AVAILABLE         65         35        100   32,768 /data3/trgt/users03.dbf                 6 YES
    CNT_TST    Datafile ONLINE    AVAILABLE         10          0         10        0 /data3/trgt/cnt_tst01.dbf               7 NO
    
    9 rows selected.
    -- now the count and max ... note count before backup was 10000 and max(c1) was diff
    SQL> select count(*) from test.t2;
    
      COUNT(*)
    ----------
         70000
    
    1 row selected.
    
    SQL> select max(c1) from test.t2;
    
    MAX(C1)
    ------------------
    29-feb-12 13:58:25
    
    1 row selected.
    
    SQL> -- now restore starts 
    SQL> shutdown abort;
    ORACLE instance shut down.
    SQL> exit
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    [oracle@berry trgt]$ rman
    
    Recovery Manager: Release 11.2.0.1.0 - Production on Wed Feb 29 14:01:48 2012
    
    Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.
    
    RMAN>  connect catalog rman/pass@rcat
    
    connected to recovery catalog database
    
    RMAN>  connect target /
    
    connected to target database (not started)
    
    RMAN> startup nomount;
    
    Oracle instance started
    
    Total System Global Area     188313600 bytes
    
    Fixed Size                     1335388 bytes
    Variable Size                125833124 bytes
    Database Buffers              58720256 bytes
    Redo Buffers                   2424832 bytes
    
    RMAN> restore controlfile from autobackup;
    
    Starting restore at 29-FEB-12 14:02:37
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=20 device type=DISK
    
    recovery area destination: /backup/trgt/flash_recovery_area
    database name (or database unique name) used for search: TRGT
    channel ORA_DISK_1: no AUTOBACKUPS found in the recovery area
    channel ORA_DISK_1: looking for AUTOBACKUP on day: 20120229
    channel ORA_DISK_1: AUTOBACKUP found: /backup/trgt/backup/cont_c-3405317011-20120229-09
    channel ORA_DISK_1: restoring control file from AUTOBACKUP /backup/trgt/backup/cont_c-3405317011-20120229-09
    channel ORA_DISK_1: control file restore from AUTOBACKUP complete
    output file name=/ctrl/trgt/control01.ctl
    output file name=/ctrl/trgt/control02.ctl
    Finished restore at 29-FEB-12 14:02:39
    
    RMAN> alter database mount;
    
    database mounted
    released channel: ORA_DISK_1
    
    RMAN> recover database;
    
    Starting recover at 29-FEB-12 14:02:55
    Starting implicit crosscheck backup at 29-FEB-12 14:02:55
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=20 device type=DISK
    Crosschecked 96 objects
    Finished implicit crosscheck backup at 29-FEB-12 14:02:57
    
    Starting implicit crosscheck copy at 29-FEB-12 14:02:57
    using channel ORA_DISK_1
    Finished implicit crosscheck copy at 29-FEB-12 14:02:57
    
    searching for all files in the recovery area
    cataloging files...
    no files cataloged
    
    using channel ORA_DISK_1
    
    starting media recovery
    
    archived log for thread 1 with sequence 13 is already on disk as file /redo_archive/trgt/online/redo01.log
    archived log for thread 1 with sequence 14 is already on disk as file /redo_archive/trgt/online/redo02.log
    archived log for thread 1 with sequence 15 is already on disk as file /redo_archive/trgt/online/redo03.log
    archived log file name=/redo_archive/trgt/archive/1_10_776523284.dbf thread=1 sequence=10
    archived log file name=/redo_archive/trgt/archive/1_10_776523284.dbf thread=1 sequence=10
    archived log file name=/redo_archive/trgt/archive/1_11_776523284.dbf thread=1 sequence=11
    archived log file name=/redo_archive/trgt/archive/1_12_776523284.dbf thread=1 sequence=12
    archived log file name=/redo_archive/trgt/online/redo01.log thread=1 sequence=13
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of recover command at 02/29/2012 14:02:59
    ORA-01422: exact fetch returns more than requested number of rows
    RMAN-20505: create datafile during recovery
    RMAN-11003: failure during parse/execution of SQL statement: alter database recover logfile '/redo_archive/trgt/online/redo01.log'
    ORA-00283: recovery session canceled due to errors
    ORA-01244: unnamed datafile(s) added to control file by media recovery
    ORA-01110: data file 9: '/data3/trgt/CNT_TST03.dbf'
    
    RMAN> -- wnet to session 2 and renamed datafile from unammed
    -wnet to session 2 and renamed datafile for file unammed
    SQL> select name from v$datafile;
    
    NAME
    --------------------------------------------------------------------------------
    /data/trgt/system01.dbf
    /data/trgt/sysaux01.dbf
    /data/trgt/undotbs01.dbf
    /data3/trgt/move/users01.dbf
    /data3/trgt/user02.dbf
    /data3/trgt/users03.dbf
    /data3/trgt/cnt_tst01.dbf
    /oracle/app/product/11.2.0/dbhome_1/dbs/UNNAMED00008
    /oracle/app/product/11.2.0/dbhome_1/dbs/UNNAMED00009
    
    9 rows selected.
    
    SQL> alter database create datafile '/oracle/app/product/11.2.0/dbhome_1/dbs/UNNAMED00008' as '/data3/trgt/CNT_TST02.dbf';
    
    Database altered.
    
    SQL> alter database create datafile '/oracle/app/product/11.2.0/dbhome_1/dbs/UNNAMED00009' as '/data3/trgt/CNT_TST03.dbf';
    
    Database altered.
    
    SQL>  select name from v$datafile;
    
    NAME
    --------------------------------------------------------------------------------
    /data/trgt/system01.dbf
    /data/trgt/sysaux01.dbf
    /data/trgt/undotbs01.dbf
    /data3/trgt/move/users01.dbf
    /data3/trgt/user02.dbf
    /data3/trgt/users03.dbf
    /data3/trgt/cnt_tst01.dbf
    /data3/trgt/CNT_TST02.dbf
    /data3/trgt/CNT_TST03.dbf
    
    9 rows selected.
    After before was done, went back to session 1 and I tried recovered the DB
    RMAN> recover database;
    
    Starting recover at 29-FEB-12 14:06:16
    using channel ORA_DISK_1
    
    starting media recovery
    
    archived log for thread 1 with sequence 13 is already on disk as file /redo_archive/trgt/online/redo01.log
    archived log for thread 1 with sequence 14 is already on disk as file /redo_archive/trgt/online/redo02.log
    archived log for thread 1 with sequence 15 is already on disk as file /redo_archive/trgt/online/redo03.log
    archived log file name=/redo_archive/trgt/online/redo01.log thread=1 sequence=13
    archived log file name=/redo_archive/trgt/online/redo02.log thread=1 sequence=14
    archived log file name=/redo_archive/trgt/online/redo03.log thread=1 sequence=15
    media recovery complete, elapsed time: 00:00:00
    Finished recover at 29-FEB-12 14:06:17
    
    RMAN> alter database open resetlogs;
    
    database opened
    new incarnation of database registered in recovery catalog
    starting full resync of recovery catalog
    full resync complete
    starting full resync of recovery catalog
    full resync complete
    
    RMAN> exit
    
    
    Recovery Manager complete.
    [oracle@berry trgt]$
    [oracle@berry trgt]$
    [oracle@berry trgt]$ sq
    
    SQL*Plus: Release 11.2.0.1.0 Production on Wed Feb 29 14:07:18 2012
    
    Copyright (c) 1982, 2009, Oracle.  All rights reserved.
    
    
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    
    SQL> alter session set NLS_DATE_FORMAT="dd-mon-yy hh24:mi:ss:
      2
    SQL>
    SQL> alter session set NLS_DATE_FORMAT="dd-mon-yy hh24:mi:ss";
    
    Session altered.
    
    SQL> select count(*) from test.t2;
    select count(*) from test.t2
                              *
    ERROR at line 1:
    ORA-00376: file 8 cannot be read at this time
    ORA-01110: data file 8: '/data3/trgt/CNT_TST02.dbf'
    
    
    SQL> select max(c1) from test.t2;
    select max(c1) from test.t2
                             *
    ERROR at line 1:
    ORA-00376: file 8 cannot be read at this time
    ORA-01110: data file 8: '/data3/trgt/CNT_TST02.dbf'
    
    SQL> alter database datafile 8 online;
    alter database datafile 8 online
    *
    ERROR at line 1:
    ORA-01190: control file or data file 8 is from before the last RESETLOGS
    ORA-01110: data file 8: '/data3/trgt/CNT_TST02.dbf'
    
    {code}
    
    so what did i do wrong in my recovery that i could not get my data?? how can i avoid this?? and restore my DB?
    
    Edited by: user8363520 on Feb 29, 2012 12:24 PM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                

    user8363520 wrote:
    so can get us this or can't do?

    You seem to have:
    (a) old version of data through rman backup files
    (b) old version of the control file
    (c) Backed archived redo logs
    (d) recovery archived logs that have been recently generated
    (e) current online redo logs

    Therefore, you should be able to bring back the database in the State wherever it was when you made the abandonment.
    I don't do enough laps to be able to cite details on the commands to use (and I often find myself using the command line recovery after that file of rman restore, but the steps you need must be)

    Take a copy of security of the data current, archived and online redo log files.
    Restore the backup control file, data files, and archived recovery logs
    Recover the database by using up to cancel backup control file
    You have to do 'create datafile' bit as the collection hits the 'missing file' bit
    You will need to provide the names of the archived and log files online redo recovery reached their
    (although, presumably, you could leave copies of the logs stored in the default location)

    Concerning
    Jonathan Lewis
    http://jonathanlewis.WordPress.com
    Author: core Oracle

  • Incompatible control file and the data after the backup files

    The company that I work has servers where some components are new more, so have a backup in the event of hardware failure. If we intend to do some clones of 1:1 of the current servers to change them in case of emergency. As most of the necessary data is not volatile and we reset stuff in any case, there is no need of replicaton, replace an old version of the database works very well. Now we could not easily get substitutes for our old material, so we had to set up new machines. And that's where my trouble starts, because now I had to actually set up the system and the database rather than do a simple copy of byte to byte. I'm mainly a programmer, using Oracle of 'other' side, but as our DBA is yet to come and the work must be done now...

    So I did some reasearch and decided to do a normal backup of the cold. I have dumped the controlfile, copied data and configuration files to the new server and read the prompt SQL (no mistake there) control file. After some initial hiccups with the system (memory, etc.), I was finally about to start the database, only to get an error ORA-01190 ("1 database or control file is from before the last RESETLOGS").

    I guess I did is a bad thing when you restart the database (used the wrong part of the control file) or when the copy of the data. The original data have split two readers for simplicity and logical, I copied their entire contents. So maybe I don't not copied to little but too?

    As I said in the introductory paragraph, I'm not a DBA, but I'm willing to learn and listen. I don't expect a complete solution, but some guidelines when to look and what to avoid. Any help on this would be appreciated.

    Currently, there are some points need clarification,

    1. you don't need to re-create the control file, if you have a clean shutdown database and copied all the files at the same time (data files, control files etc.)

    2. If you stop DB, copied files of data but do not copy the control at shutdown file, you must re-create the control file.

    3. the error ORA-19909 suggested you resetlog prior to recovery.

    ORA-19909: string data file belongs to an orphan incarnation
    Cause: The data file specified has been restored from a backup that was taken during a period of time that has already been abandoned by a resetlogs operation or Oracle cannot identify what incarnation of database file belongs. The alert log contains more information.
    Action: Restore a backup of this file that belongs to the current or a previous incarnation of the database. If you use RMAN to restore, RMAN automatically selects a good backup.

    4. it would be better that again follow you from scratch the article.

    for example,.

    Copy the files you did copy over the data base to the bottom of the old server,
    modify the control file creation script

    RECOVER DATABASE USING BACKUP CONTROLFILE;
    ALTER DATABASE OPEN RESETLOGS;

  • MSINWINPC - FBW files and restore, backup Dec 2009 concerns, concerns given PC June 2011

    Dear Sir/Madam,

    I did a back up of my data in December 2009 and I was wondering what is happening during a restore because I read that FWB is an extension for the backup file that is created. It compresses all the saved data and it incorporates in a single file so that it develops the files when performing a restore.

    What happened to my computer from my backup, it's that I had to install the Windows Vista Service Pack 2, which has consistently failed. To cut to the Chase, I contacted HP and everything they suggested the partition of hard drive HP factory reset factory reset, does not work properly and therefore all erased my disk hard but does restore all apps doing so my computer a brick. But since then, I contact Microsoft who kindly helped me with my cmputer and it is now working very well. (Thanks a lot).

    In any case, since the restore will be expanded I have 3 fear and would like advice on how I should go about restoring:

    1. the data amounts to 35.8 GB is currently on my external hard drive and free space on my drive hard is only 38 GB. If the files are all developed the 35.8 GB of data will take over 38GB?

    2. If I wanted to restore only certain files (I have a master's thesis I want to find and restore), copy the data to a file on my C drive before using the backup and Restore Center on my computer to find the file and restore?

    3. I'm worried that the old files that are saved can conflict with existing files I have been restoring my computer (like copying and pasting a file with the same name). I have to worry about this at all if I had to restore my backup data?

    Thank you

    Hi Densebrains

    Yes, the files get expanded after a restore of the backup is performed and the free space, you mentioned not be enough to restore the backup. When restoring files is performed on the computer disk files with the same name are replaced and you will get a prompt notifying replace it taking place.

    See below the help links-

    http://Windows.Microsoft.com/en-us/Windows-Vista/back-up-and-restore-frequently-asked-questions

    http://Windows.Microsoft.com/en-us/Windows-Vista/restore-files-from-a-backup

    I hope this helps.

  • Control files and uir version

    Hi all

    What are your methods to keep the files under version control, namely SVN UIR? It works very well as binary files, but if someone makes a minor change to the user interface, there is no way that you can find it visually.

    I tested the TUI under SVN files and in fact a quick 'diff' shows you what is new or changed in the file. It is possible to load files TUI with LoadPanel(), but it is not possible to have the default editor UI savings as TUI, making it impassable. So, how do you do that? A think a simple solution of NOR would be to have the default option of the editor as TUI, bearing in mind that in the past, there were several cases of .tui behave differently from .uir.

    If some of you are in agreement, I'll drop a suggestion.

    While you cannot Editor Save only in. TUI format, you can configure it to automatically generate the. TUI when you save the file: can it be a solution tailored to your needs?

    In addition, even if I do not use version control, I honor your valuable suggestion and I'll congratulations your idea when you publish.

  • WS 2012 and NAS backup failed to prepare the backup image

    Hello

    I'm trying to back up some of my data to Windows server 2012. I am using LG - 250GL Buffalo NAS.

    I use the scheduled backup option, but it is unable to prepare the backup image, error code is "0x807800C5", event id 517."

    However, if I rename my folder name, and then it creates the folder and with successful backup my data, only problem is that it is said version is not compatible. Once again, if I change the name of the folder, it's OK, but I can't do that everyday manually, everything save automatically at certain time.

    I tried to find a solution, but nothing works.

    Maybe my NAS is a bit too old and is not compatible with the version of 2012.

    What are my options? Should I buy new SIN or is it fixable somehow?

    This issue is beyond the scope of this site (for consumers) and to be sure, you get the best (and fastest) reply, we have to ask either on Technet (for IT Pro) or MSDN (for developers)

    If you give us a link to the new thread we can point to some resources it
  • VMware CBT (tracking changes block): ctk files and multiple backup systems?

    Hello

    We have 2 datarecovery running backups of the SAME virtual machines, but on the other day.

    Later, we will have a dedicated backup solution, so we will use only 1 VDR + external backup system.

    The external backup system use CBT too.

    Now my question is: how CBT done when several backup systems require "that is the last blocks changed since the last backup?

    I mean if I run Sunday, on the same VDR2, VMs and VDR1 Saturday to VDR2 always have only the changed blocks from Saturday to Sunday and the blocks changed the week lack? !!!

    Could someone provide me a technique explaining the depth of the CBT mechanism?

    Thank you

    Yes, once a block is modified the corresponding location in the mapping file is labeled with the new changeID.

    André

  • Loss of all control files and two independent of the system tablespace data files.

    Hello


    Loss of the controlfile and 2 data files: February 25, 2010... 15:00

    Database: in Archivelog mode

    Backup: controlfile and all (6) datafiles on February 20, 2010 and all archive logs are available up to the failure

    -Wanted to recover.

    Even if the controlfiles are restored from a backup, as long as the archive + online redo logs are available, you can make a FULL recovery.
    At the end of the recovery, an OPEN RESETLOGS would update the controlfile with correct information about SNA sequence # and headers of files.
    (Of course, the RESETLOGS would mean a new incarnation is created and log sequence numbers start from 1 - if you perform a backup as soon as possible after the RESETLOGS).

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

  • RoboSource Control files and htt, hhc and root.fpj

    Two authors are working on a project using source control. I met three questions, which are not a problem if the other writer does not work on the project.

    1. I can not create a new topic because of the root.fpj be checked.
    2. I couldn't add/edit footer because of the htt file being checked.
    3. I could not change the table of contents.

    To work around this problem, the options are available?

    We are new RoboSource Control and without a doubt, this is the cause of our road block, but I didn't have much luck with the findings detailed in on best practices of workflow in Source code control. Any info would be greatly appreciated, and I appreciate this forum gets larger every time I use it.

    Kind regards

    Joe

    Hi Joe-

    A few suggestions:

    1. to overcome the blocking of root.fpj... organize your project with folders and subfolders, move all your subjects in the files. Don't let not all loose items in the root of the project. Then the root.fpj file should be retrieved when you add/remove/change a top-level project folder. Do not go too deep with folders, however, because you don't want your paths for too long.

    2. the extraction of model... Define your models into read-only. Then no one will check out them! I smile, but I'm serious about this. Set the user rights so that only the administrator (or other special account) can make changes to the models. It is FAR too easy to inadvertently change the templates, and it is indeed a problem even more serious than the lack of access to the models.

    3. can not access the table of contents... There are no that you can do about it. Only one person can work on the table of contents at the same time. Other that in fact a practice of checking files as soon as you are finished with them, all you can do is coordinated with your colleague. "Say, could check you in the .hhc file? I need access to a few minutes. "Or something like that.

    G

  • ORA-00245: backup of control file failed; target is likely on a local file sys

    Hello

    our CARS (Linux 11.2.0.3.0) is relatively new and we are still on the acquisition of experiences with this system...

    At the start of the backup with RMAN, we get the following error:

    From control file and SPFILE Autobackup 4 July 12
    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03009: failure of command of file control and SPFILE Autobackup on channel ORA_DISK_1 at 04/07/2012 16:41:48
    ORA-00245: backup of control file failed; target is likely on a local file system

    The reason for the error is clear ORA-00245 - in a CCR environment, the snapshot Controlfile location must be on a shared location.

    When running the RMAN command "show all" on each node, we get
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO ' / u01/app/oracle/product/11.2.0.3/db/dbs/snapcf_PROD021.f'; # by default
    for the #1 node
    and
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO ' / u01/app/oracle/product/11.2.0.3/db/dbs/snapcf_PROD022.f'; # by default
    for the #2 node

    When using a shared location for the snapshot Controlfile make us still need 2 different names for this configuration file?

    CONFIGURE SNAPSHOT CONTROLFILE NAME to ' / < shared location > / snapcf_PROD021.f'; # by default
    for the #1 node and
    CONFIGURE SNAPSHOT CONTROLFILE NAME to ' / < shared location > / snapcf_PROD022.f'; # by default
    for the #2 node

    Or should set us up as a single snapshot Controlfile?

    RMAN installation for "CONFIGURE SNAPSHOT CONTROLFILE NAME TO... "must be changed on both nodes - correct?

    I hope my question is clear enough--any help will be appreciated.

    Rgds
    JH

    Published by: VivaLaVida on 05.07.2012 11:41

    The controlfile is shared on the RAC database and having the backup of any node to shared mount point would meet the requirement.

    Configure snapshot controlfile name to ' /snapcf_PROD0.f';

    Anand

  • Error especially when the control file / spfile auto backup

    Hello

    10.2.0.4 on Linux

    We conduct a scheduled backup RMAN on SBT_TAPE cold.

    Error below is taking autobackup controlfile and spfile (rest of the dbf is backed up successfully)

    Backup finished in 24 October 12

    From control file and SPFILE Autobackup 24 October 12
    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03009: failure of command control file and SPFILE Autobackup on channel ORA_SBT_TAPE_1 at 10/24/2012 20:12:07
    ORA-27091: unable to queue I/O
    ORA-27072: IO file error
    Linux-x86_64 error: 22: invalid argument
    Additional information: 4
    Additional information: 1
    Additional information:-1

    We check the question to the team of storage and found that the tape is accessible very well with the amount of available space.

    Concerning
    KSG

    Hello;

    It is an Oracle on this point, not to let the stupid title.

    Register without the database with RMAN-03002, RMAN-03014, RMAN-03009 [ID 340539.1]

    See the filesystemio_options parameter

    Best regards

    mseberg

  • We can to restore the content of a game without the backup control file?

    Hello

    I went in earlier today, a situation when someone (it wasn't me this time!):
    (1) a to back up a database and its archivelogs, in a compressed backup sets;
    (2) pushed the files to another server and
    (3) deleted everything on the server source, including ALL control files and control files.

    As he tried to recover the control file was missing and asked for help... I worked around the issue by using the snapshot controlfile he had forgotten (lucky me!)

    Now I can not remove from my mind the idea that I won't be so lucky the next time... I wonder if there is another way to work around this problem?

    Does anyone have an idea how to restore the contents of a backupset when we lack ALL control files and their backups? I tried to save the backup in the controlfile to a different database, but it does not work. I didn't find anyway to recreate a controlfile with a specific dbid without data files (and those who are in the backupset...).

    Any other idea? Best regards

    Gregory

    Hi arkzoyd,
    Is the only way to restore data from a backup set files using rman an instance and a controlfile so the answer is no.
    Kind regards
    Tycho

  • RMAN-20033 control file sequence # too low &amp; ORA-00230

    The two RMAN below errors occasionally I think that the cause is if an archive backup is running during a database backup, the controlfile is supported by both and can (but not always) cause these errors. The backup of the database is generally successful and that's just the backup controlfile who complains. I looked at how to avoid this, but it is not easy. Some backups of large database, especially for a full backup, run it for hours so archives have yet to be backed up and deleted.

    It might have started when ON CONFIGURE CONTROLFILE AUTOBACKUP has been set up. I don't know if this can be changed for backups of archive without affecting full/comú backups. Any ideas are appreciated.


    From control file and SPFILE Autobackup July 23, 10
    handful of piece = c-3756288473-20100723-2nd comment = 2.0, MMS Version 5.4.1.0 API Version
    File control finished and Autobackup SPFILE to July 23, 10
    output channel: T1
    output channel: T2
    output channel: T3
    output channel: T4
    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03008: error when executing automatic resynchronization of the recovery catalog
    RMAN-20033: control file sequence # too low


    From backup 6 August 10
    channel T1: starting full datafile backupset
    channel T1: specifying datafile (s) in backupset
    output channel: T1
    output channel: T2
    output channel: T3
    output channel: T4
    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03009: failure of the backup command on channel T1 at 2010-08-06 11:43:52
    ORA-00230: forbidden operation: snapshot controls unavailable file enqueue

    Dear DBA2008,

    Please find the explanation of the error first;

    ORA-00230: operation disallowed: snapshot control file enqueue unavailable
    Cause: The attempted operation cannot be executed at this time because another process currently holds the snapshot control file enqueue.
    Action: Retry the operation after the concurrent operation that is holding the snapshot control file enqueue terminates. 
    

    There could be an enqueu for the snapshot controlfile and he should be released in order to continue operating.

    The other mistake is;

    Oracle Error :: RMAN-20033
    control file SEQUENCE# too low
    
    Cause
    the control file sequence is less than the one of the previous resync
    
    Action
    make sure that the right control file is used
    

    Thus, there could be another session which was try to resynchronize the catalog or simply access the snapshot controlfile.

    Can you connect please for the usual recovery with the connection string manager and type;

    RESYNC CATALOG;
    

    Do you still take the enqueue snapshot controlfile error?

    Hope that helps.

    Ogan

Maybe you are looking for