RMAN-Dataguard incremental catch question

If a standby database dataguard gets out of sync by any long duration, theres a method known to synchronize it upward by getting an incremental backup of the primary of the last SNA applied and the day before with her recovery.

http://docs.Oracle.com/CD/B28359_01/server.111/b28294/RMAN.htm#CIHIAADC

It comes we have no limitation on the back to what extent an incremental backup of the CNS be run on the primary.

Also interested to hear user experiences to look out for the use of the method of recovery of SNA for Standby.

KR10822864 wrote:

It comes we have no limitation on the back to what extent an incremental backup of the CNS be run on the primary.

According to my knowledge, no.

The command will run. It will just make a full backup.

RMAN> backup incremental from scn 0000001 database format '/tmp/ForStandby_%U';

Starting backup at 27-MAR-13

using channel ORA_DISK_1
backup will be obsolete on date 03-APR-13
archived logs will not be kept or backed up
*channel ORA_DISK_1: starting full datafile backup set*
channel ORA_DISK_1: specifying datafile(s) in backup set
input datafile file number=00002 name=/u01/app/oracle/oradata/ORCL/datafile/o1_mf_sysaux_8mtw4l2s_.dbf
input datafile file number=00001 name=/u01/app/oracle/oradata/ORCL/datafile/o1_mf_system_8nqos6ng_.dbf
input datafile file number=00004 name=/u01/app/oracle/oradata/ORCL/datafile/o1_mf_users_8mtw4l3h_.dbf
input datafile file number=00003 name=/u01/app/oracle/oradata/ORCL/datafile/o1_mf_undotbs1_8mtw4l2x_.dbf
input datafile file number=00005 name=/u01/app/oracle/oradata/ORCL/datafile/o1_mf_justin_8mtx19z1_.dbf
channel ORA_DISK_1: starting piece 1 at 27-MAR-13
channel ORA_DISK_1: finished piece 1 at 27-MAR-13
piece handle=/tmp/ForStandby_0eo5hj16_1_1 tag=TAG20130327T004318 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:01:05

using channel ORA_DISK_1
backup will be obsolete on date 03-APR-13
archived logs will not be kept or backed up
*channel ORA_DISK_1: starting full datafile backup set*
channel ORA_DISK_1: specifying datafile(s) in backup set
including current control file in backup set
channel ORA_DISK_1: starting piece 1 at 27-MAR-13
channel ORA_DISK_1: finished piece 1 at 27-MAR-13
piece handle=/tmp/ForStandby_0fo5hj37_1_1 tag=TAG20130327T004318 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:01
Finished backup at 27-MAR-13

Tags: Database

Similar Questions

  • RMAN backup incremental level 1 without level 0-10 gr 2

    Hello

    I'm a bit confused after a few tries.

    The issue: It is mandatory to perform incremental level 0 backup before level 1 using Oracle 10 g 2?

    On Oracle 11.2 is mandatory, but I don't know about Oracle 10.2.0.5.

    11.2 test. If there is no level 0 rman take care on this subject and automatically perform level 0 before level1
    RMAN> backup incremental level 1 database;
    
    Starting backup at 29-APR-11
    using channel ORA_DISK_1
    no parent backup or copy of datafile 1 found
    ...
    channel ORA_DISK_1: starting incremental level 0 datafile backup set
    channel ORA_DISK_1: specifying datafile(s) in backup set
    ...
    Docs said:
    Incremental backups capture only blocks that change between backups in each data file.
    In a typical incremental backup strategy, an incremental backup of level 0 is used as a starting point. A level 0 backup captures all the blocks in the data file.

    So, on Oracle 10.2.0.5 happens not like 11.2:

    Parade level 1 without level 0 backup:
    RMAN> list backup;
    
    
    RMAN> backup incremental level 1 database;
    
    Starting backup at 29-APR-11
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting incremental level 1 datafile backupset
    channel ORA_DISK_1: specifying datafile(s) in backupset
    input datafile fno=00001 name=+DG_ORCL/db10g/datafile/system.260.749756975
    ...
    channel ORA_DISK_1: starting piece 1 at 29-APR-11
    channel ORA_DISK_1: finished piece 1 at 29-APR-11
    piece handle=+DG_FRA/db10g/backupset/2011_04_29/nnndn1_tag20110429t190340_0.260.749761421 tag=TAG20110429T190340 comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:25
    channel ORA_DISK_1: starting incremental level 1 datafile backupset
    channel ORA_DISK_1: specifying datafile(s) in backupset
    including current control file in backupset
    including current SPFILE in backupset
    channel ORA_DISK_1: starting piece 1 at 29-APR-11
    channel ORA_DISK_1: finished piece 1 at 29-APR-11
    piece handle=+DG_FRA/db10g/backupset/2011_04_29/ncsnn1_tag20110429t190340_0.262.749761449 tag=TAG20110429T190340 comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:05
    Finished backup at 29-APR-11
    
    RMAN> backup archivelog all delete input;
    
    Starting backup at 29-APR-11
    current log archived
    using channel ORA_DISK_1
    ...
    Finished backup at 29-APR-11
    
    RMAN> shutdown abort;
    Oracle instance shut down
    Delete all (except SPFILE) ASM files.
    ASMCMD> cd +DG_ORCL/DB10g
    ASMCMD> ls
    PARAMETERFILE/
    spfiledb10g.ora
    So we will perfom a database restore
    oracle@butao:/home/oracle> rman target /
    Recovery Manager: Release 10.2.0.5.0 - Production on Fri Apr 29 19:06:52 2011
    Copyright (c) 1982, 2007, Oracle.  All rights reserved.
    connected to target database (not started)
    RMAN> startup nomount
    Oracle instance started
    
    Total System Global Area     293601280 bytes
    Fixed Size                     2095872 bytes
    Variable Size                 92275968 bytes
    Database Buffers             192937984 bytes
    Redo Buffers                   6291456 bytes
    
    
    RMAN> restore controlfile from '+DG_FRA/db10g/backupset/2011_04_29/ncsnn1_tag20110429t190340_0.262.749761449';
    
    Starting restore at 29-APR-11
    using channel ORA_DISK_1
    
    channel ORA_DISK_1: restoring control file
    channel ORA_DISK_1: restore complete, elapsed time: 00:00:05
    output filename=+DG_ORCL/db10g/controlfile/current.263.749761699
    output filename=+DG_FRA/db10g/controlfile/current.263.749761699
    Finished restore at 29-APR-11
    
    RMAN> startup mount
    
    database is already started
    database mounted
    released channel: ORA_DISK_1
    
    RMAN> restore database;
    
    Starting restore at 29-APR-11
    Starting implicit crosscheck backup at 29-APR-11
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=156 devtype=DISK
    Crosschecked 1 objects
    Finished implicit crosscheck backup at 29-APR-11
    
    Starting implicit crosscheck copy at 29-APR-11
    using channel ORA_DISK_1
    Finished implicit crosscheck copy at 29-APR-11
    
    searching for all files in the recovery area
    cataloging files...
    cataloging done
    
    List of Cataloged Files
    =======================
    File Name: +dg_fra/DB10G/BACKUPSET/2011_04_29/ncsnn1_TAG20110429T190340_0.262.749761449
    File Name: +dg_fra/DB10G/BACKUPSET/2011_04_29/annnf0_TAG20110429T190442_0.264.749761485
    
    using channel ORA_DISK_1
    
    channel ORA_DISK_1: starting datafile backupset restore
    channel ORA_DISK_1: specifying datafile(s) to restore from backup set
    restoring datafile 00001 to +DG_ORCL/db10g/datafile/system.260.749756975
    restoring datafile 00002 to +DG_ORCL/db10g/datafile/undotbs1.261.749757085
    restoring datafile 00003 to +DG_ORCL/db10g/datafile/sysaux.262.749757095
    restoring datafile 00004 to +DG_ORCL/db10g/datafile/users.264.749757107
    channel ORA_DISK_1: reading from backup piece +DG_FRA/db10g/backupset/2011_04_29/nnndn1_tag20110429t190340_0.260.749761421
    channel ORA_DISK_1: restored backup piece 1
    piece handle=+DG_FRA/db10g/backupset/2011_04_29/nnndn1_tag20110429t190340_0.260.749761421 tag=TAG20110429T190340
    channel ORA_DISK_1: restore complete, elapsed time: 00:00:26
    Finished restore at 29-APR-11
    
    RMAN> recover database;
    
    Starting recover at 29-APR-11
    using channel ORA_DISK_1
    
    starting media recovery
    
    archive log thread 1 sequence 27 is already on disk as file +DG_FRA/db10g/onlinelog/group_3.259.749756971
    archive log thread 1 sequence 28 is already on disk as file +DG_FRA/db10g/onlinelog/group_1.257.749756963
    archive log filename=+DG_FRA/db10g/onlinelog/group_3.259.749756971 thread=1 sequence=27
    archive log filename=+DG_FRA/db10g/onlinelog/group_1.257.749756963 thread=1 sequence=28
    media recovery complete, elapsed time: 00:00:02
    Finished recover at 29-APR-11
    
    RMAN> alter database open resetlogs;
    
    database opened
    
    RMAN>
    See that I don't need level 0 backup to restore the level 1.

    Thank you
    Levi Pereira

    Levi,

    Please visit: http://download.oracle.com/docs/cd/B19306_01/backup.102/b14192/bkup004.htm

    If no level 0 backup is available, then the behavior depends on the setting of compatibility mode. If compatibility is > = 10.0.0, copies all blocks changed since the file was created RMAN and stores the results as a level 1 backup. In other words, the CPN at the time the incremental backup is taken is the creation of SCN file. If compatibility<10.0.0, rman="" generates="" a="" level="" 0="" backup="" of="" the="" file="" contents="" at="" the="" time="" of="" the="" backup,="" to="" be="" consistent="" with="" the="" behavior="" in="" previous="">

    Same info is here:

    http://www.Pythian.com/news/287/level-1-incremental-backup-in-Oracle-10G/

    Concerning

    Grosbois

  • Backup RMAN, DataGuard

    Hi all, 11.2.0.1 AIX 6.1, I'm new in this business and I'm reviewing the configuration ensures DATAGUARD. He has not much taken for me, but a user guide 2 pages of documentation. So I have to do my own check. I usually like oracle and check connection run the cron if there are a lot of calendar RMAN. But I do not see. So, I guess dataguard uses DBMS_SCHEDULER to run rman backup? Am I wrong? Thank you, zxy

    Maybe you should think about WHY make us backups.

    Let's say on the DR site storage is corrupted.  You must rebuild the site of DR.

    What do you prefer?

    1 food and catching up with the primary

    2 reproduce primary

    Your decision would be headed by factors such as

    a. size of the DB

    b. restore time

    c. time to replicate

    d. catch-up time

    Hemant K Collette

  • Build dataguard two other questions. password prompt and certificate error

    Instances of guard fiirt two data are built. It carries out the second I get this error in the log of all alerts. It seems that it is a certificate error, but I'm having a hard time nailing down.

    BTW: Instance is 11.2.0.1

    Thread 1 Advanced to record the sequence 318 (switch LGWR)
    Currently Journal # 6 seq # 318 mem # 0: +DATA/sfs01/onlinelog/group_6.4762.769266689
    Client SSL: Server DN does not contain name of SID WHEREAS
    Archived journal 706 extra for each thread 1 317 0x799622d4 dest ID sequence entry 1:
    Thu Mar 22 12:46:48 2012
    Client SSL: Server DN does not contain name of SID WHEREAS

    The third and final instance of data hold I build is 3 t and holding still to be restored. Two questions:
    (1) can I suspend rman and restart it.
    (2) when I restart rman how I stop it all asking me to specify the password. I'd rather put a nohup on a shell script.

    Here's the script. Right now I am running it manually but would relly to run with nohup so I can go to lunch.

    RMAN target auxiliary SYS@sor01_primary / < < EOF
    Run {}
    allocate channel C1 device type disk;
    allocate auxiliary channel C2 device type disk;
    allocate auxiliary channel C3 device type disk;
    allocate channel auxiliary type C4 drive peripheral;
    allocate auxiliary channel C5 device type disk;
    target database double standby nofilenamecheck;
    C1 output channel;
    channel C2.
    output channel C3.
    output channel C4.
    output channel C5;
    }
    EXPRESSIONS OF FOLKLORE

    Ok

    Therefore, this

    RMAN target auxiliary SYS@sor01_primary

    Would be more like this

    RMAN target sys/password@PRIMARY auxiliary.

    You should be able to pre-test to the command prompt.

    Then hard-code in a shell script.

    Best regards

    mseberg

  • RMAN size incremental backups have increased.

    In a database of CARS of two nodes, the size of the file incremental RMAN is usually around 400-500 MB and RMAN complete file size takes up approximately 10 GB.
    Suddenly, the RMAN incremental file size has increased to about 16-17 GB and there are no extension on the block of data file size data of size/volume/DB etc.

    What could be the reason for the sudden increase in the size of the RMAN incremental file?

    Thank you

    Database:
    BANNER
    --------------------------------------------------------------------------------
    Oracle Database 11 g Release 11.1.0.6.0 - 64 bit Production
    PL/SQL release 11.1.0.6.0 - Production
    CORE 11.1.0.6.0 Production
    AMT for Linux: Version 11.1.0.6.0 - Production
    NLSRTL Version 11.1.0.6.0 - Production

    OPERATING SYSTEM:
    Linux 2.6.18 - 92.1.22.el5 #1 SMP node1 kills Dec 16 11:57:43 UTC 2008 x86_64 x86_64 x86_64 GNU/Linux

    Have you checked the abnormal generation of redo. East - the number of the generated archivelogs identical or similar to the period you are comparing?
    Would it be because you save including archivelogs topic archivelogs.

    ------------------------------------------
    Coskan GUNDOGAR

    Oracle DBA
    Blog: http://coskan.wordpress.com
    Twitter: http://www.twitter.com/coskan
    LinkedIn: http://uk.linkedin.com/in/coskan
    ------------------------------------------

    Edited by: coskan on May 27, 2010 22:56

  • RMAN/Dataguard 32 bit RAC on OCFS2 primary 64-bit mode standby on ASM

    Hello

    I would like to know if backup RMAN and dataguard standby can be created/configured for primary CARS db on OCFS2 32-bit to watch CARS db on ASM 64-bit?

    This is for purposes of migration by opposition underway to minimize downtime.

    Thank you
    Gareth

    Yes

  • Block Media Recovery and RMAN backup incremental level 1

    Hello

    I read somewhere that block Media Recovery will not work if a database is backed up with 1 incremental rman. Is this true and if so is there a work around?
    I can't find it in the documentation of oralce.

    Concerning
    Me

    Hello

    Yes you are right, for the recovery block media, you must have full rman backup. Incremental backups are not used by block
    media recovery. Only full backups and archived logs are used.

    See this doc on part III

    http://download-UK.Oracle.com/docs/CD/B19306_01/backup.102/b14191/TOC.htm

    concerning

    Jafar

    Published by: jerome on October 22, 2008 19:51

  • RMAN Duplicate + incremental backups + upgrade to 12 c

    Hello

    IM thinking the best way migrationg and upgrading database 11.2.0.4 to 12 c with reasonable downtime.

    reasonable downtime: 30 Minutes

    Source: Solaris (Intel)

    11.2.0.4

    DB Dimensions: 800G

    Target: Linux

    12 c

    new name of the comic.

    IM thinking to use RMAN Duplicate with option NoOpen(1) (RMAN catalog is in use). Double will be for sure several of 30 minutes then think if I can combine two copies for the recovery of the archivelogs generated during replication to minimize downtime. But is it possible when I change DB_NAME?

    Thank you.

    Hello

    I guess, you may need to check once this document. 412484.1

    I'm really not sure about your source and target system

    If your source is the 'Platform_id' 20, you can enjoy all your needs in 30 minutes or less. If this isn't the case, it is difficult.

    If your platform_id is 20, you can then create physical standby for your 11.2.0.4 and get the same thing, once the database is recovered, you can convert this logic of sleep (note: your database must be validated for the logical expectation), if you convert your logical database in standby mode, then you can change the name of your database to the new name also you can upgarde to 12 c.

    After upgrade, you can still recover all changes to your primary. Once the logic ensures sync with primary then you can pass.

    If your platform_id not 20, then

    You can opt for Golden Gate...

    Thank you

  • Oracle Dataguard - newspapers apply question

    Hello
    Due to a problem our archives logs does not production, the day before. We had our intelligence in London. I don't see any error messages. do not know what is going on, I had open case with oracle support.
    We must stop all our production and DR last Sunday. Once it is up he stopped log shipping. our production server is a node 3 CARS.

    I just need how to apply logs archiving of standby production, which is based in London.

    appricate your quick response.

    Thank you

    To restore a database on hold:
    1 manually copy all log files miissing Archives from the primary to the standby server

    2.) cancel managed recovery on the standby database:

    change databae recover managed standby database cancel;
    3.) recover automatically:

    automatic recovery of the standy basis;
    4.) switch managed standby

    recover managed standby database disconnect;

    OR...

    Manually set a gap:
    =============================

    In some rare cases, it may be necessary manually fix the gaps. The following section describes how to query the appropriate views to determine whether there is a gap.

    On your physical standby database:
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    Query view ARCHIVE_GAP of V$:

    SQL > SELECT * FROM V$ ARCHIVE_GAP;

    THREAD # LOW_SEQUENCE # HIGH_SEQUENCE #.
    ----------- ------------- --------------
    1 333 336

    The query results show that your physical database ensure is currently absent sequence logs 333 in sequence 336 for thread 1. After identifying the gap, issue the following SQL statement on the database primary to locate the archived redo logs on your primary database:

    SQL > SELECT NAME FROM V$ ARCHIVED_LOG WHERE THREAD #= 1 AND DEST_ID = 1 AND
    2 > SEQUENCE # BETWEEN 333 AND 336;

    NAME
    --------------------------------------------------------------------------------
    /U01/oradata/arch/arch_1_333.arc
    /U01/oradata/arch/arch_1_334.arc
    /U01/oradata/arch/arch_1_335.arc

    Copy the logs returned by the query for your physical database Eve and register by using the ALTER DATABASE REGISTER LOGFILE command.

    SQL > ALTER DATABASE REGISTER LOGFILE
    ' / u01/oradata/stby/arch/arch_1_333.arc';
    SQL > ALTER DATABASE REGISTER LOGFILE
    ' / u01/oradata/stby/arch/arch_1_334.arc';
    SQL > ALTER DATABASE REGISTER LOGFILE
    ' / u01/oradata/stby/arch/arch_1_335.arc';

    Once the files newspapers were registered in the standby controlfile, you can restart the MRP process and the standby database 'catch up' the gaps in newspapers or you can manually restore the standby database.

  • incremental inference questions

    I'm very confused about how to make the incremental inference to work. Here is what I tried in the java code:

    Piece attached attachment = Attachment.createInstance (new String [] {}, "OWLPRIME",
    InferenceMaintenanceMode.UPDATE_WHEN_COMMIT,
    QueryOptions.ALLOW_QUERY_INCOMPLETE);

    graph = new GraphOracleSem (oracle, "mc_model", attachment).
    graph.setInferenceOption ("INC. = t.");

    The problem is when I try to do something like this:

    ModelOracleSem oracle_sem_model = new ModelOracleSem (graph);
    Model OntModel = ModelFactory.createOntologyModel (OntModelSpec.OWL_MEM, oracle_sem_model);
    Individual D = model.createInstance (NS + "New_Individual");
    parentIndividual.addProperty (transitiveProp, d);
    Model.Commit ();
    Graph.Commit ();

    The graph.commit () command takes about 5 seconds, the same amount of time if the restless are created without incremental inference. Y at - it something I am doing wrong? Can I use the APIs OntModel with incremental inference or what I need to manually add the statements to the model? BTW, I checked the SEM_APIS change the tracking property and apparently activated and has a time stamp

    Published by: alexi on November 13, 2009 07:18

    Hello

    It seems that incremental inference is used. Note that there is some overhead involved with the progressive realization and no incremental inference in general, as well, even with models, it might take a few seconds to complete. Some of the charges is caused by the large number of rules in OWLPRIME modules, so if you don't need all of them you can selectively disable components by using the GraphOracleSem.performInference procedure (components of the chain).

    In addition, it depends on your dataset. For example, if you add a single triple, but that triple says strongly some formerly transitive property, while the Bill could trigger of many additional deductions and update the inferred graph will take over time.

    Regarding OntModel APIs and incremental inference, depends on the loading method you use. Incremental inference works better with incremental loading. Please see Section 2.2.9 of the Semantic Technologies for details Developer's Guide.

    See you soon,.
    Vladimir

  • DataGuard applied Log question

    Hi gurus,

    Oracle Version 9i
    OS:-AIX

    My request when I'm checking the log of the primary database it shows APPLIED = NO' while the DR it shows APPLIED = YES to the same log sequence. Can you let me know what could be the possible reason and how can I remedy.
    I database is the way of datagurad and DG_BROKER = true.


    DATABAS_E PRIMARY SCHOOL
    On the primary database are running processes
    SQL > select process, status, sequence # from v$ managed_standby;

    STATUS OF PROCESS SEQUENCE #.
    --------- ------------ ----------
    CLOSING 596798 ARCH.
    CLOSING 596797 ARCH.


    SQL > select sequence #, applied, first_time, next_time dest_id v$ archived_log where sequence #= 596715;

    SEQUENCE # APP FIRST_TIM NEXT_TIME DEST_ID
    ---------- --- --------- --------- ----------
    * 596715 NO 9 MARCH 13 9 MARCH 13 1 *.
    * 596715 NO 9 MARCH 13 9 MARCH 13 2 *.

    On the SECONDARY DATABASE_

    SQL > select process, status, sequence # from v$ managed_standby;

    STATUS OF PROCESS SEQUENCE #.
    --------- ------------ ----------
    CONNECTED ARCH 0
    CONNECTED ARCH 0
    MRP0 WAIT_FOR_LOG 596800
    RFS RECEIVE 596798
    RFS HOME 596797

    SQL > show parameter dg_broker_start

    VALUE OF TYPE NAME
    ------------------------------------ ----------- ------------------------------
    dg_broker_start Boolean TRUE



    SELECT A BOW. THREAD # "Thread", ARCH. SEQUENCE # 'last received sequence', Appl. SEQUENCE # "last sequence applied", (the centre ARCH. SEQUENCE #-APPL.) Sequence #) 'the difference '.
    Of
    (SELECT THREAD #, SEQUENCE # FROM V$ ARCHIVED_LOG WHERE (THREAD #, FIRST_TIME) IN (SELECT THREAD #, MAX (FIRST_TIME) FROM V$ ARCHIVED_LOG GROUP BY THREAD #)) ARCH,
    (SELECT THREAD #, SEQUENCE # FROM V$ LOG_HISTORY WHERE (THREAD #, FIRST_TIME) IN (SELECT THREAD #, MAX (FIRST_TIME) OF V$ LOG_HISTORY GROUP BY THREAD #)) APPL
    WHERE
    ARCH. THREAD # = APPL. THREAD #.
    ORDER BY 1;

    Last thread last sequence received sequence applied difference
    ---------- ---------------------- --------------------- ----------
    1 596799 596799 0


    SQL > select sequence #, applied, first_time, next_time dest_id v$ archived_log where sequence #= 596715;

    SEQUENCE # APP FIRST_TIM NEXT_TIME DEST_ID
    ---------- --- --------- --------- ----------
    * YES 596715 9 MARCH 13 9 MARCH 13 0 *.


    Thank you
    Meena

    Ok

    So according to this query

    SELECT
       ARCHIVED_THREAD#,
       ARCHIVED_SEQ#,
       APPLIED_THREAD#,
       APPLIED_SEQ#
    FROM
      V$ARCHIVE_DEST_STATUS;
    
    ARCHIVED_THREAD# ARCHIVED_SEQ# APPLIED_THREAD# APPLIED_SEQ#
    ---------------- ------------- --------------- ------------
              1      596799                1       596714
              
    

    The gap is 85. Yes, you have a problem.

    You have all these newspapers archive on the main server or standby? So from 596714 up to 596799.

    If Yes use statement ALTER DATABASE REGISTER LOGFILE of them to apply.

    Best regards

    mseberg

  • RMAN tips on RAC/Dataguard

    Our environment is like this:
    OS: Linux Redhat
    DB: 11.2.302
    2 primary cars, 2 physical standby of the cars (same size tst db - not occupied a +), 1 autonomous physical standby

    I think using the rman catalog (which never in place before prod environment) and rman backup incremental.

    Questions I have now:
    (1) where is the best server to perform the backup? I think that independent is preferable to unload resources of prod.
    (2) where should I put catalog rman? What are the basics that I must follow?
    (3) I think I want to do on a Sunday rman full backup, then the rest of the incremental backup of days rman, what kind of rman configuration should I use?
    (4) what are the best practices on this topics?

    Thanks in advance.

    9233598 wrote:
    essentially a primary database, a database of relief and another standby db.

    I wonder what is benefits of catalog rman? What happens if I use the controlfile method, which will be same?

    Have a http://docs.oracle.com/cd/E11882_01/backup.112/e10642/rcmcatdb.htm#BRADV89642 look for the purposes of recovery catalog

    and http://docs.oracle.com/cd/E11882_01/backup.112/e10642/rcmadvre.htm#BRADV89838 to perform the recovery by using controlfile

    See you soon

  • Configuring RMAN for dataguard.

    Hi all

    Here we have an environment dataguard with db1 (db_unique_name) as primary and db2 (db_unique_name) Physics of the standby database. For primary and secondary the ORACLE_SID is "oracledb." We have configured dataguard in environments of 10 g and we don't use a grid control. And now we want to configure rman for incremental backups. We use a third database of catalog which we recorded primary DB successfully. When the primary configuration of rman is show conflicts. Even changes to the main configuration of RMAN are applied on the standby too who I think shouldn't happen in this scenario. How to solve this problem? Is what is happening because of the ORACLE_SID even for primary and secondary school? I enclose the link from the doc, we also followed the errors and configuring in rman. Can anyone help?

    http://docs.Oracle.com/CD/B28359_01/server.111/b28294/RMAN.htm#BAJFBBBB


    RMAN > CONFIGURE ARCHIVELOG DELETION POLICY APPLIED PENDING;

    new RMAN configuration settings:
    CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED ON STANDBY;
    new RMAN configuration settings are stored successfully
    from full resynchronization of the recovery catalog
    full complete Resync
    RMAN-08591: WARNING: invalid archivelog deletion policy

    RMAN > set UP DB_UNIQUE_NAME db1 CONNECT ID "db1".

    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-00558: error occurred during parsing of order entry
    RMAN-01009: syntax error: found 'db_unique_name': expected an a: ' archivelog, auxiliary, auxname, backup, channel, controlfile, clonename, compatible, datafile, device, by default, exclude, encryption, maxsetsize, retention, instant.
    RMAN-01007: line 1 column 11 file: entry standard


    RMAN > show all.

    from full resynchronization of the recovery catalog
    full complete Resync
    RMAN configuration parameters are:
    CONFIGURE RETENTION POLICY TO RECOVERY OF 2 DAYS WINDOW;
    CONFIGURE BACKUP OPTIMIZATION # by default
    SET UP DEFAULT DISK DEVICE TYPE; # by default
    CONFIGURE CONTROLFILE AUTOBACKUP # by default
    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 ARCHIVELOG DELETION POLICY TO APPLIED ON STANDBY;
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO ' / u01/app/oracle/product/10.2.0/db_1/dbs/snapcf_NIOS.f'; # by default


    Thank you.

    Hello

    You must set log_archive_dest_2 (for the standby database) mandatory
    Like this

    alter system set log_archive_dest_2= 'service=standby lgwr async valid_for=(online_logfiles,primary_role) *mandatory*';
    

    try again the configuration of the deletion of journal policy archive on RMAN.

  • RMAN incremental backup issue

    Hi all

    I'm read on Oracle11g release2 doc RMAN.

    In Chapter 9:

    "For example, you can implement a three-tier backup plan as well as a level 0 backup is performed every month, a cumulative level 1 is taken from the week, and a premium of level 1 is taken daily. In this strategy, you will never have to apply more than one day to complete recovery redo. »

    First I got an error when I try to make a level 0 backup
    RMAN> BACKUP INCREMENTAL LEVEL 0 database;
     
    Starting backup at 27-APR-11
    using channel ORA_DISK_1
    using channel ORA_DISK_2
    using channel ORA_DISK_3
    using channel ORA_DISK_4
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of backup command at 04/27/2011 20:42:19
    RMAN-20021: database not set
    RMAN-06031: could not translate database keyword
    and if the success of step, how I would go about to implement this?
    I can do this via dbms_scheduler? or I need to do this via cron?

    -Thank you very much for the entry

    Your DB must be in use archivelogmode use hot backups. Is your db in archivelog mode?

  • QUESTION: Disaster recovery for Test db with RMAN

    Hi friends,

    I'm working on ORACLE10g on RedHAt AS4.
    I'm doing on my test database using the catalog of recovery after a disaster, and I deleted all the contrl / redo n /datafile of the system parameter file, when I try to conneciting to Rman I got under question.


    [rman@linux1 bin] $. / target rman.
    Recovery Manager: Release 10.2.0.1.0 - Production on Mon 28 Feb 11:58:11 2011
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    connected to target database: RMAN (DBID = 1629436196)
    RMAN >
    RMAN > set dbid = 154326135
    executing command: SET DBID
    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03002: failure of order CSET at 28/02/2011 11:59:13
    RMAN-06188: cannot use command when it is connected to a mounted target database
    RMAN >


    My problem is... I m unable to set the DBID of my prod db, RMAN (catalog) connects to itself as the target of DB,.

    Any guys help?

    Looks like you have connected only to the catalog database.

    do not forget to target = database to restore

    so you should

    (1) set ORACLE_SID = db restore
    (2) rman
    target connection.
    Connect catalog...

Maybe you are looking for