to find checkpoint_change # to controlfile - autobackup vs Ckp_SCN #.

Hi all

(1) made a point of control to ensure that all checkpoint_change # SNA are synchronized.


select null, null, checkpoint_change#,null from v$database
union all
select file#, name, checkpoint_change# , last_Change# from v$datafile;

          4095405
1     +DATA/orcl/datafile/system.268.884148927     4095405
2     +DATA/orcl/datafile/sysaux.269.884149053     4095405
3     +DATA/orcl/datafile/undotbs1.270.884149167     4095405
4     +DATA/orcl/datafile/usernew1.dbf     4095405
5     +DATA/main/datafile/test.343.887323655     4095405

(2) run a fulbackup (autobackup controlfile on) and run the same query as above


select null, null, checkpoint_change#,null from v$database
union all
select file#, name, checkpoint_change# , last_Change# from v$datafile;

          4095405
1     +DATA/orcl/datafile/system.268.884148927     4095581
2     +DATA/orcl/datafile/sysaux.269.884149053     4095581
3     +DATA/orcl/datafile/undotbs1.270.884149167     4095581
4     +DATA/orcl/datafile/usernew1.dbf     4095581
5     +DATA/main/datafile/test.343.887323655     4095581

T1) why the checkpoint_change # in the database of v$ remains the same as before and yet datafiles checkpoint_change # has changed?

-- proceed to list backup and see the controfile's autobackup scn
list backup;
...
Control File Included: Ckp SCN: 4095640

Q2) why is the SNA cash at the same autobackup later then the checkpoint_change # in the database of v$?

Q3) how to find the last checkpoint_change # in the current controlfile then?

Q4) what is the use of the checkpoint_change # v$ database used since then? (because it does not reflect the last checkpoint #-v$ datafile.checkpoint_change # is more accurate)?

Kind regards

Noob

Hello

v$ database.checkpoint_change # Q1) is loaded from the record section of the controlfile right?
v$ datafile.checkpoint_change # Q2) is also responsible for controlfile right?

No, v$ datafile would be real datafile (AFAIK - as the nucleus is different for this) bonano$ x database $ kcc % structure (so she keeps track of more than all databases - my point of view more controlfile).

(T3) - the v$ database.checkpoint_change # is responsible of the controlfile and then it is used to match against what?

In your example above SNA for v$ database is 100, CPN for v$ datafile 6 is 98 and the v$ datafile_header is 97.  So, how the v$ database.checkpoint_change # a role here?  I mean just by comparing v$ datafile YVERT and v$ datafile_header SNA, we will know that there is a difference and a recovery is necessary.

Why do we still need to look at v$ database.checkpoint_change #?

v$ database is at the highest level of level/parent, and v$ datafile (x$ kcvdf) is a subset of the audit is made/done. v$ datafile_header (her picking up x$ kcvfh) both are different structures (If you dig the 'C' code header files so you can get to know), so it would play a break point (or) updates made to different internal control points are made by CKPT processes.  Now, you don't ask me on internal control points when and that process, so that you get support and view the code (it is people development oracle).

or spend some time x$ active_ckpt how it gets changed and everything what you can observe from the validations and cheating LGWR (I can't go beyond that).

Q4) in my scenario above, the v$ database.checkpoint_change # is significantly different from the v$ datafile and v$ datafile_header, but in reality no recovery is necessary.

v$ database 4177813

v$ datafile 4189456

v$ datafile_header 4189456

How does v$ database.checkpoint_change # here help to determine if a recovery is needed or not so?

I did not sit that is it his ' necessary recovery or non-compulsory. When you try to open it will provide information - based consistenct check with the data files (v$ datafile and v$ datafile_header) else believe me your cannot open it (as much my testing goes).

Now, don't say you took the backup and clone of another server, when it is permissible for you open resetlogs, so what is this case/situation, since the db you has opened, since you find no different to SNA (v$ datafile and v$ datafile_header) so he could continue with the new incarnation (new activation id #).  About the incarnation and activation id visit google or one of my blog where I have provided information on that.

v$ Database.checkpoint_change #-does not say any substance above recovery, its comparison with (v$ datafile and v$ datafile_header) would help on the recovery.

If you come back and say only above will be enough to decide that if recovery is necessary or not, so I can't decide on this, this is the /algorithm code, if you ask for reasons simply understand that we have below records

CHECKPOINT PROGRESS RECORD

EXTENDED ENTRY database... which contains the information

Automatic backup control date)

RECORDS IN DATA FILE

MULTI INSTANCE REDO APPLY RECORD... It's needs to check that all committed or rollback - in terms of CARS (so all the code depends on two or three columns of two control points and can't decide on recovery - according to my knowledge /understanding)

ARCHIVES NEWSPAPER RECORDS... If SNA isn't matches he can check what archives with SNA which are recovery - on this basis he asks what Archives need to apply.

Hope this helps and ask you to spend some time, you will understand things.

-Pavan Kumar N

Tags: Database

Similar Questions

  • Clarification on controlfile autobackup

    Friends, I read in one of the famous books of RMAN that "when we add new data files to storage, server process initiates controlfile autobackup'.If controlfile autobackup is set on"ON"in parameter of RMAN. I tested in my dummy environment but did not find any truth in it, I checked for alert log and did not find any backup controlfile after adding data files. No indication in this regard will be appreciated.

    > Data files how much I add

    A few.  An accurate count is not documented.  Oracle monitors the number of changes in the course of an interval.  I know, it does not create a new autobackup controlfile for each data file added in a 5 minute window, but only at the end of this window.  But I don't know if that 5 minutes is a documented fact or a result of some heuristics.  The actual duration of your environment may vary.

    Hemant K Collette

  • controlfile autobackup does not work on 11g R2

    Hi all

    in database 11g R2 on windows and linux os (linux machine is a virtual machine), RMAN controlfile autobackup does not work. I'm this setting on IT and adding a tablespace for the database, but there is no new files backup controlfile.

    Oracle documentation, I know that if you set THE controlfile autobackup on RMAN, each structural change in the database control file is saved to automaticlly. Also in the 11g R1 version I did and saw new backup controlfile is created. (to see the new backup, I use the backup RMAN list command).

    I check in the machine 2 windows machines and different virtual linux but for 11 g r2 there is no new backup. I couldn't find anything about it in the Oracle documentation.

    will there be a new change that I don't know? I will appriciate to get answers.

    Published by: Mustafa KALAYCI on 10.Oca.2011 16:50

    I see in the GR 11, 2 backup and recovery Reference Guide, page 98, there is a paragraph as follows:

    "Beginning with Oracle 11 g Release 2, RMAN creates a backup file auto single covering the whole of the structural changes that took place within minutes of each other rather than create a new backup of the controlfile on each structural change to the database."

    I checked all my databases again, and there is now a backup of contolfile for each of them. It seems that there is now a delay of a few minutes for the backup of the controlfile. Can you watch it again to see if you can see them on your databases?

  • controlfile autobackup and DBID

    Hi all

    If we are to restore RMAN controlfile autobackup controlfile, we must define the DBID. Otherwise, we can specify the full of the controlfile autobackup path if we do not have a DBID. My question is how exactly RMAN determines the proper backup of just the ID file? Is this something like this:

    RMAN goes to the default backup location - $ORACLE_HOME/dbs

    Examines all backups for DBID that we put

    Then restore the backup file appropriate?

    Kind regards

    Vinod

    The file name by default in $ORACLE_HOME/dbs includes the DBID.

    If you use db_recovery_file_dest (i.e. an MRE), record going under the DB_UNIQUE_NAME folder

    Hemant K Collette

  • Configure controlfile autobackup

    Hello

    Anyone bed this backup of their control files using the following configure command?

    RMAN > configure controlfile autobackup peripheral type disc format '< path > '.

    I read that this will ensure that whenever a change is made to the database, the control file is saved.

    Like her, is there a structural change between backups, and we recover, the control file is then used (recorded in the backupset since the last backup) will not have this information in it.

    This sounds like a major witch hunt is there a failure and the need to recover. RMAN users implement this? I'm surrpised that he gets only half a page of reference in the book RMAN 11 g backup and recovery (Oracle Press).

    Thank you

    DA

    11.2.0.3

    RHEL 5.5

    Hi Dan,.

    What you said culminated just my interest I never really tried before... so here goes.

    What I meant by the two parameters is the following (auto backup format and autobackup on):

    CONFIGURE CONTROLFILE AUTOBACKUP ON;

    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE SBT_TAPE TO "%F" # by default

    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO "%F" # by default

    My autobackup controlfile is currently on and has my default device defined tape type:

    CONFIGURE THE TYPE OF DEFAULT DEVICE TO 'SBT_TAPE ';

    CONFIGURE CONTROLFILE AUTOBACKUP ON;

    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE SBT_TAPE TO "%F" # by default

    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO "%F" # by default

    I created a tablespace, and after about 10 minutes the controlfile autobackup has been taken.  Tablespace was created at 14:15:53, and automatic backup was taken to 14.23.

    Note that even if the default device type was tape the controlfile was actually saved on the disk in $ORACLE_HOME/dbs

    CON START_TIME COMPLETION_TIME TIME_TAKEN_DISPLAY OUTPUT_BYTES_DISPLAY PARTS

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

    YES 1 APRIL 30, 2014 14:23 APRIL 30, 2014 14:23 00:00:00 7.23 M

    .

    Then I changed my settings as follows:

    CONFIGURE the DEFAULT DEVICE TYPE TO DISK;

    CONFIGURE CONTROLFILE AUTOBACKUP ON;

    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE SBT_TAPE TO "%F" # by default

    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO "%F" # by default

    I created a tablespace, and after about 5 minutes the controlfile autobackup has taken in $ORACLE_HOME/dbs.  Tablespace was created at 14:27:57 and the AutoSave was taken at 14.33.

    CON START_TIME COMPLETION_TIME TIME_TAKEN_DISPLAY OUTPUT_BYTES_DISPLAY PARTS

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

    YES 1 APRIL 30, 2014 14:33 APRIL 30, 2014 14:33 00:00:00 7.23 M

    Then, I explicitly set my location on disk:

    CONFIGURE the DEFAULT DEVICE TYPE TO DISK;

    CONFIGURE CONTROLFILE AUTOBACKUP ON;

    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE SBT_TAPE TO "%F" # by default

    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT for DEVICE TYPE DISK to 'u01/app/oracle/product/11.2.0/dbs/cf_%F';

    I created a tablespace, and after 7 minutes the controlfile autobackup has been taken.  Tablespace was created at 14:35:59 and the AutoSave was taken to 14.43.

    The backup controlfile was still taken on the disc.

    CON START_TIME COMPLETION_TIME TIME_TAKEN_DISPLAY OUTPUT_BYTES_DISPLAY PARTS

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

    YES 1 APRIL 30, 2014 14:43 APRIL 30, 2014 14:43 00:00:00 7.23 M

    So, in summary, if the database is in archivelog and controlfile autobackup is set on, then the controlfile is saved on disk, no matter if the default device type is tape or disk.  (I have not tried this if the database is not in archivelog mode, but I guess the Oracle documentation is correct).

  • controlfile autobackup in 11.2.0.1

    Hello

    I wonder what that means below?

    http://download.Oracle.com/docs/CD/E11882_01/backup.112/e10643/rcmsynta010.htm#RCMRF113

    Starting with Oracle 11 g Release 2, RMAN creates a backup file auto single covering the whole of the structural changes that took place within minutes of each other rather than create a new backup of the controlfile on each structural change to the database.

    Thank you
    Markus

    Dear Markus Waldorf,

    For example, when you add a data file to a tablespace in the alert.log file, it says "start autobackup controlfile. According to the the Recovery Manager retention policy, these controlfiles are stored in the directory appropriate for this period. So when he wants to create a controlfile autobackup option, it creates a new rather than to modify the last being.

    So when there's a controlfile autobackup has been created by the recovery, after a few minutes of this, Manager when he needs to create a new, it will not create the controlfile (automatic backup).

    That's what I realized with this sentence.

    Kind regards.

    Ogan

  • Controlfile autobackup without RMAN recovery


    Hello

    I'm trying to restore a customer database of RMAN backups for the same instance name and DBID but a different server with a different directory structure.

    It is a full RMAN backup, but the log shows that the controlfile is supported only through current, not with autobackup backup controlfile.

    I have built directories bdump standard and created a directory of data, file a copy of the init.ora in order to take into account locations suitable for the dump file, the archive logs and the controlfiles and also added in the settings db_file_name_convert and log_file_name_convert to map the original directory structure noted in the backup rman to the new locations.

    I understand that you cannot restore the backup controlfile, but was under the impression that you can set the format and restore the controlfile but am not having luck with this-

    [oracle@el64dev03 dbs] $ echo $ORACLE_SID
    EUMSIPSP
    rman target $ [oracle@el64dev03 dbs].

    Recovery Manager: Release 10.2.0.4.0 - Production Wed Aug 28 16:05:37 2013

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

    connected to the database target (not started)

    RMAN > startup nomount;

    Oracle instance started

    Total System Global Area 524288000 bytes

    Bytes of size 2085256 fixed
    285216376 variable size bytes
    230686720 of database buffers bytes
    Redo buffers 6299648 bytes

    RMAN > set dbid 1887849233;   (this is the ID of database)

    executing command: SET DBID

    RMAN > restore controlfile to ' / oradata2/10.2.0/CUST-EUMSIPSP/BAK_98723_d3ohkisi. CTL'; (this is the backup piece pointed in the RMAN backup)

    From restoration to 28 Aug 13
    using the control file of the target instead of recovery catalog database
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid = 430 devtype = DISK

    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03002: failure of the restore command at 28/08/2013 16:06:24
    RMAN-06172: no autobackup couldn't find or handle specified is not a valid copy or a piece

    RMAN > run {}
    2 > affect the disc type channel d1 format ' / oradata2/10.2.0/CUST-EUMSIPSP/BAK_%s_%u.CTL';
    3 > restore controlfile to ' / oradata2/10.2.0/EUMSIPSP/' to ' / oradata2/10.2.0/CUST-EUMSIPSP/';
    {4 >}

    output channel: ORA_DISK_1
    allocated channel: d1
    channel d1: sid = 430 devtype = DISK

    From restoration to 28 Aug 13

    output channel: d1
    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03002: failure of the restore command at 28/08/2013 16:09:01
    RMAN-06172: no autobackup couldn't find or handle specified is not a valid copy or a piece

    RMAN > exit

    RMAN BACKUP log-

    ...

    connected to target database: EUMSIPSP (DBID = 1887849233)
    using the control file of the target instead of recovery catalog database

    RMAN > run {}
    2 > allocate channel d1 type disk;
    3 > setlimit channel d1 readrate 2000;
    4 > sql 'alter database backup controlfile to trace. "
    5 > backup
    6 > filesperset 1
    7 > format ' / oracle/RMAN/eumsipsp/backups/full/BAK_%s_%u.CTL'
    8 > (current controlfilE);
    {9 >}
    10 >
    allocated channel: d1
    channel d1: sid = 425 devtype = DISK


    SQL statement: alter database backup controlfile to trace

    From backup 18 August 13
    channel d1: from full datafile backupset
    channel d1: specifying datafile (s) in backupset
    including the current control in backupset file
    channel d1: from room 1 to 18 August 13
    channel d1: finished piece 1 at 18 August 13
    piece handle = / oracle/RMAN/eumsipsp/backups/full/BAK_98723_d3ohkisi. Tag CTL = comment TAG20130818T191425 = NONE
    channel d1: complete set of backups, time: 00:00:01
    Backup finished on 18 August 13
    output channel: d1

    ...

    Copied the information from backup files-

    [CUST-EUMSIPSP oracle@el64dev03] $ pwd

    /oradata2/10.2.0/Cust-EUMSIPSP

    [CUST-EUMSIPSP oracle@el64dev03] $ ls - lt * Journal

    -rw - r - r - 1 oracle oinstall 22139 23 August at 14:25 rman_full_eumsipsp_20130818190000.log

    [CUST-EUMSIPSP oracle@el64dev03] $ ls - lt * CTL

    -rw - r - r - 1 oracle oinstall 11927552 28 August at 11:08 BAK_98723_d3ohkisi. CTL

    Is it possible to recover the controlfile at all (as in a disaster situation) so that the database can then be recovered.

    More welcome advice

    Concerning

    Lesley

    I do not know what operating system, customers use

    I need to prove the process works and what I'm looking for is correct, before I can go back to them and ask what they sent.

    Yes, but operating systems may be incompatible. For example, if yours is Linux, and one of the clients is AIX, it would not work, and you get the error that you actually get.

  • Can I retrieve my db (if I don't activate controlfile autobackup ONE)?

    Hi all;

    Unfortunately, I deleted all the CRD of local database files.  I have backup rman.

    But I did NOT control file autobackup.

    $ rm *.

    $ ls-> NO HRMS CRD of for DATABASE FILES

    SYS > close the demolition;

    ORACLE instance stops.

    SYS > startup nomount;

    ORACLE instance started.

    Total System Global Area 373293056 bytes

    Bytes of size 1273780 fixed

    113246284 variable size bytes

    255852544 of database buffers bytes

    Redo buffers 2920448 bytes

    rman target $ /.

    Recovery Manager: release 10.2.0.5.0 - Production on Mon Nov 10 12:51:11 2014

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

    connected to target database: hrms (unassembled)

    RMAN > restore controlfile autobackp;

    RMAN-00571: ===========================================================

    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.

    RMAN-00571: ===========================================================

    RMAN-00558: error occurred during parsing of order entry

    RMAN-01009: syntax error: found 'identifier': expected an a: "autobackup, single-quoted-string, double-quoted-string tag,"

    RMAN-01008: the identifier of the AfDB was: autobackp

    RMAN-01007: column 26 line 1 file: entry standard

    $ cd/u01/app/oracle/flash_recovery_area/HRMS/backupset/2014_11_10

    [oracle@oel5 2014_11_10] $ ls-l

    Total 1598704

    -rw - r - 1 oracle oinstall 790493184 Nov 10 01:25 o1_mf_annnn_TAG20141110T012445_b5zkn7cn_.bkp

    -rw - r - 1 oracle oinstall 20992 Nov 10 01:27 o1_mf_annnn_TAG20141110T012705_b5zkrlyq_.bkp

    -rw - r - 1 oracle oinstall 7143424 Nov 10 01:27 o1_mf_ncsnf_TAG20141110T012555_b5zkrhqp_.bkp

    -rw - r - 1 oracle oinstall 837795840 Nov 10 01:26 o1_mf_nnndf_TAG20141110T012555_b5zkpfp7_.bkp


    Can I recover my database?

    File "o1_mf_ncsnf_TAG20141110T012555_b5zkrhqp_.bkp" is probably a backup controlfile.

    Use RESTORE CONTROLFILE FROM "path_to_file".

    (Note: you must SET DBID before RESTORE you CONTROLFILE because Oracle uses the DBID to test if the controlfile is the same database.)  You can obtain the DBID of newspapers of the previous series of rman or your documentation)

    Hemant K Collette

  • RMAN controlfile autobackup

    How ramn will be notified of changes in the structure of the database... which backgound process will even update...

    Hello

    As said above, whenever a structural change happens in the DB... it will be updated in controlfile.similarlly whenever you connect the rman, it get full details of the control file DB. so, if you have configured the automatic backup of the file control then controlfile will be upward automatically saved whenever you issue the backup command.
    by default, rman does not have any backup... Yo has set up or have to plan the rman backup...

    Kind regards
    Deepak

  • Cannot find autobackup controlfiles even if we had Sunday full backup

    I got this when trying to restore controlfile:
    RMAN > 2 > 3 > 4 > 5 > 6 > 7 > 8 > 9 > 10 >
    allocated channel: t1
    channel t1: SID = 1034 device type = SBT_TAPE
    channel t1: NMO v5.0.0.0

    command sent on the channel: t1

    executing command: SET CONTROLFILE AUTOBACKUP FORMAT

    From restoration to 25 October 12

    channel t1: looking for AUTOBACKUP day: 20121025
    channel t1: looking for AUTOBACKUP day: 20121024
    channel t1: looking for AUTOBACKUP day: 20121023
    channel t1: looking for AUTOBACKUP day: 20121022
    channel t1: looking for AUTOBACKUP day: 20121021
    channel t1: looking for AUTOBACKUP day: 20121020
    channel t1: looking for AUTOBACKUP day: 20121019
    channel t1: found no AUTOBACKUP in 7 days
    output channel: t1
    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03002: failure of the restore command at 25/10/2012 18:58:23
    RMAN-06172: no AUTOBACKUP couldn't find or handle specified is not a valid copy or a piece


    How to list to see if we have autobackup controlfile? in the full backup on Sunday, there is a full backup.

    Here's the Sunday full backup script:
    connection target;
    configure backup optimization

    Run {}
    Configure controlfile autobackup on;
    Configure controlfile autobackup format for device type 'sbt_tape' to ' / NMO_v_ %f ';

    DATABASE INCREMENTAL level 0 BACKUP more archivelog delete all entries "prod" TAG

    output channel ch00;
    output channel ch01.
    output channel ch02;
    output channel ch03;

    Hello again;

    Looks like you found them! Great! So they mean only the part %F. always good to learn something new.

    / NMO_v_c-258815187-20121025-00

    Not having automatic not backup job is a nightmare. I know that I have bet on it.

    Thanks for letting me know before the end of my day.

    Have a good night.

    mseberg

  • RMAN-06172: no autobackup couldn't find or handle specified is not a valid copy or

    Hello

    I was currently doing the hands on the simulation of all the possible scenarios of recovery and restoration. I attend the mandatory Wk II only during the weekends. So it is possible that I don't have backup even up to seven days.

    That's what I'm doing in rman

    connected to target database: CHUNHUNG (DBID = 1555989970, is not open)

    RMAN > show controlfile autobackup.

    using the control file of the target instead of recovery catalog database
    RMAN configuration parameters are:
    CONFIGURE CONTROLFILE AUTOBACKUP ON;

    RMAN > show all.

    RMAN configuration parameters are:
    CONFIGURE REDUNDANCY 1 RETENTION STRATEGY; # by default
    CONFIGURE BACKUP OPTIMIZATION # by default
    SET UP DEFAULT DISK DEVICE TYPE; # by default
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO "%F" # by default
    SET UP THE DEVICE TYPE DISK PARALLELISM 1 BACKUP BACKUPSET TYPE; # by default
    CONFIGURE BACKUP OF DATA TO DISK FILE TYPE DEVICE TO 1; # by default
    CONFIGURE BACKUP ARCHIVELOG FOR DEVICE TYPE DISK TO 1; # by default
    CONFIGURE MAXSETSIZE TO UNLIMITED; # by default
    CONFIGURE ENCRYPTION OF DATABASE # by default
    CONFIGURE THE ENCRYPTION ALGORITHM "AES128"; # by default
    CONFIGURE THE NONE ARCHIVELOG DELETION POLICY; # by default
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO ' / u01/app/oracle/product/10.2.0/db_1/dbs/snapcf_chunhung.f'; # by default

    RMAN > backup database tag "chunhungtag".

    From backup 22 November 08
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid = 154 devtype = DISK
    channel ORA_DISK_1: from full datafile backupset
    channel ORA_DISK_1: specifying datafile (s) in backupset
    input datafile fno = 00001 name=/u01/app/oracle/oradata/CHUNHUNG/datafile/o1_mf_system_4kds048o_.dbf
    input datafile fno = name=/u01/app/oracle/oradata/CHUNHUNG/datafile/o1_mf_sysaux_4kds049s_.dbf 00003
    input datafile fno = name=/u01/app/oracle/oradata/CHUNHUNG/datafile/o1_mf_undotbs1_4kds050b_.dbf 00002
    input datafile fno = name=/u01/app/oracle/oradata/CHUNHUNG/datafile/o1_mf_users_4kf5b856_.dbf 00004
    channel ORA_DISK_1: starting piece 1 to 22 November 08
    channel ORA_DISK_1: finished piece 1 to 22 November 08
    piece handle=/u01/app/oracle/flash_recovery_area/CHUNHUNG/CHUNHUNG/backupset/2008_11_22/o1_mf_nnndf_CHUNHUNGTAG_4lhhzjf6_.bkp tag = CHUNHUNGTAG comment = NONE
    channel ORA_DISK_1: complete set of backups, time: 00:07:36
    Backup finished in 22 November 08

    From control file and SPFILE Autobackup 22 November 08
    room handle=/u01/app/oracle/flash_recovery_area/CHUNHUNG/CHUNHUNG/autobackup/2008_11_22/o1_mf_s_671448766_4lhjfx7g_.bkp comment = NONE
    File control finished and Autobackup SPFILE to 22 November 08

    RMAN > exit

    As show above the control and backup and spfile.

    now I will stop immediately and rename to another name spfile

    I start mode little DB,.

    so, I did the following as what http://download.oracle.com/docs/cd/B12037_01/server.101/b10735/recov.htm#1040743 said.

    RMAN > STARTUP NOMOUNT of STRENGTH;

    RMAN > backup SPFILE RESTORE AUTOMATIC;

    then, the following error comes up

    RMAN-00571: ===========================================================
    RMAN-03002: failure of the restore command at 2008-11-22 16:32:52
    RMAN-06172: no autobackup couldn't find or handle specified is not a valid copy or a piece

    then I try what is suggested in the Doc ID: Note: 274237.1

    SPFile restore automatic backup until time 'SYSDATE-X ";

    automatic backup restore SPFile maxdays X;

    No matter how much the values of X, I try, it still does not work, why is it so?

    I try 7, 8, 16, broken, why he not yet? More importantly, what is the solution to solve?

    Operating system Red Hat Enterprise Linux ES release 4 (Nahant Update 6)
    Oracle version: Enterprise Edition Release 10.2.0.1.0

    Thank you very much!
    RMAN> restore spfile  from autobackup
    2> recovery area '/u01/app/oracle/flash_recovery_area'
    3> db_name 'CHUNHUNG' maxdays 14;
    

    Enrique

  • Error when I configure snapshot controlfile RMAN

    Dear Experts,

    I have Oracle 11 g R2 DB primary and Standby in two Machines

    I have Window Server 2008

    I am new to RMAN tools

    I do set up RMAN primary side

    I made the OS address for a disk primary side

    Now I'm RMAN configuration as below:

    Configure default device the disk type;

    set up the device type disk parallelism 4 type of backup backupset.

    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK to 'Z:\RmanControlFileBackup\cf%F ';

    Configure controlfile autobackup on;

    Configure controlfile autobackup peripheral type disc format to "+ FRA;

    Configure controlfile autobackup format for device type sbt to "backup_ % d_controlfile_ %f."

    Configure redundancy 4 retention strategy;

    Configure the None archivelog deletion policy;

    Configure snapshot controlfile name to 'Z:\RMANCONTROLFILEBACKUP\SNAPSHOT_EPPROD1_CF. CTL';

    Next, I get the following error... I don't know how I can delete that I did my research online, I found this link

    http://pavelermakov.WordPress.com/2011/11/08/ora-01580-error-creating-control-backup-file/

    RUN SYS. DBMS_BACKUP_RESTORE. CFILESETSNAPSHOTNAME('/U01/app/Oracle/product/11.2/DB/DBS/snapcf_db1. F') ;

    I could not implemented on my setup because I do not have snapcf_db1.f file... Please any help will be appreciated.

    anyone with any solution.

    I need to erase the last transactional... .configure the controlfile Snap to 'Z:\RMANCONTROLFILEBACKUP\SNAPSHOT_EPPROD1_CF. CTL' name; who make that mistake.

    RMAN-00571: ===========================================================

    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.

    RMAN-00571: ===========================================================

    RMAN-03002: failure of the command configure at 19/12/2013 08:44:57

    RMAN-03014: implicit recovery catalog Resync failed

    RMAN-03009: resync command failed complete default channel at 19/12/2013 08:44:57

    ORA-01580: Z:\RMANCONTROLFILEBACKUP\SNAPSHOT_EPPROD1_CF. CTL control backup file creation error

    ORA-27040: create file error, cannot create the file

    04002 - OSD: could not open the file

    S/O-error: (OS 3) the system cannot find the path specified.

    Hello

    > RMAN-03002: failure of the command configure at 19/12/2013 08:44:57

    > Implicit 03014 RMAN recovery catalog Resync failed:

    > RMAN-03009: resync command failed complete default channel at 19/12/2013 08:44:57

    "DO NOT CONNECT TO THE CATALOG.

    Thank you

  • From control autobackup

    Hi Experts, I have a problem

    I get the following error in my log file alert

    Killed Dec 03 10:17:12 2013

    Errors in the D:\APP\ADMIN\diag\rdbms\epprod1\epprod1\trace\epprod1_m000_5292.trc file:

    ORA-19624: operation failed, try again possible

    ORA-19504: cannot create the file 'E:\RBACKUP\CFC-2128199230-20131203-00 '.

    ORA-27040: create file error, cannot create the file

    04002 - OSD: could not open the file

    S/O-error: (OS 3) the system cannot find the path specified.

    I got my diagnosis, I found Errors in the D:\APP\ADMIN\diag\rdbms\epprod1\epprod1\trace\epprod1_m000_5292.trc file as below:

    ===

    from control autobackup

    krsk.c 10:17:11.975 4178 2013-12-03

    krsk_rtrtwd_state: RT role transition work not of markings

    krss_sched_work: archiver Prod request USER process (function: 0 x 100)

    krss_find_arc: assessment ARC1 to receive message (flags 0xc)

    krss_find_arc: cra1 selection receive message

    krsv.c 10:17:11.975 3187 2013-12-03

    krsv_send_msg: send message to ARC1 process

    2013-12-03 10:17:11.975 1835 krss.c

    krss_send_arc: send message to ARC1 (message: 0 x 100)

    Error received: 19624

    ********************  WARNING ***************************

    During the automatic backup of server errors are not fatal, as it

    is attempted after the successful execution of the command.

    However, it is recommended to take a file of RMAN command

    back as soon as possible because the backup failed

    with the following error:

    ORA-19624: operation failed, try again possible

    ORA-19504: cannot create the file 'E:\RBACKUP\CFC-2128199230-20131203-00 '.

    ORA-27040: create file error, cannot create the file

    04002 - OSD: could not open the file

    S/O-error: (OS 3) the system cannot find the path specified.

    END OF THE ALERT *.

    ORA-19624: operation failed, try again possible

    ORA-19504: cannot create the file 'E:\RBACKUP\CFC-2128199230-20131203-00 '.

    ORA-27040: create file error, cannot create the file

    04002 - OSD: could not open the file

    S/O-error: (OS 3) the system cannot find the path specified.

    ===

    I am really supprised... I don't have a RMAN control file autobackup... I know auto control file can done with RMAN,

    If there is way to anather, how can I stop this work?

    I have Oracle 11 g Release 2 primary and Standby with Windows 2008 Server R2

    Any feedback haighly apprecited

    Connecting to RMAN and do a 'SHOW ALL'.  That would show if controlfile autobackup is set up and if it is configured to a specific folder.

    Hemant K Collette

  • How to include the DBID in file name backup controlfile

    Hello

    I googled on this issue a lot... in fact, for purposes of recovery disaster, wants to go somewhere 'visible' dbid (I know there are workarounds to find the dbid of the db, as I connect to running RMAN and the dbid is there, but I prefer he's ready at hand) so I found that the % F parameter sets the dbid in filename. But RMAN throws error when I use this setting and says that F is a stranger.

    Any ideas?

    Have you used as what you typed? It's F %

    It will be %F

    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE SBT_TAPE TO "%F"

  • backup controlfile

    Hello world!

    I have a very dull question.

    My oracle is always full due to my controlfile record.

    I have to remove them, and I think that they are not buy useful, I'm not sure.

    I daily make a backup with this rman script:

    Run {}
    assign the channel c1 type disc format ' / oraclebck/backup_%d_set%s_piece%p_%T_%U';
    backup of database filesperset 1;
    backup current controlfile;
    backup ARCHIVELOG all delete them all entries;
    output channel c1;
    }


    which makes the controlfile backup in the backup piece, isn't?

    I have it configured in rman


    RMAN > show all.

    RMAN configuration parameters are:
    CONFIGURE REDUNDANCY 1 RETENTION STRATEGY; # by default
    CONFIGURE BACKUP OPTIMIZATION # by default
    SET UP DEFAULT DISK DEVICE TYPE; # by default
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO "%F" # by default
    SET UP THE DEVICE TYPE DISK PARALLELISM 1; # by default
    CONFIGURE BACKUP OF DATA TO DISK FILE TYPE DEVICE TO 1; # by default
    CONFIGURE BACKUP ARCHIVELOG FOR DEVICE TYPE DISK TO 1; # by default
    CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT ' / backup/ora_df%t_s%s_s%p';
    CONFIGURE MAXSETSIZE TO UNLIMITED; # by default
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO ' / casa/oracle/product/9.2/dbs/snapcf_adaiasrv.f'; # by default

    Can I configure CONTROLFILE AUTOBACKUP off, since I make a backup of controlfile with rman?

    Thank you

    Controlfile autobackup can vary.
    or alternatively, you can change the location of the setting below
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO "%F" # by default

    importance: -.
    RMAN can be configured to automatically back up the control file and the server settings file every time that metadata from database structure in control of changes in the file and each time a backup folder is added. Automatic backup RMAN can recover data even if the current control file, catalog and server parameter file are lost.
    Because the file name for the backup uses a well known format, RMAN can get without access to a repository and restore the server settings file. After you start the instance with the restored server settings file, RMAN can restore a backup control file. Once you mount the control file, the RMAN Repository is available and RMAN can restore the data files and find that the archived redo log.

Maybe you are looking for