understanding the order of the commands in the RMAN script

I just started working at a new job and prior s/n had left until I'm there. I'm looking at the RMAN script to back up the database of the single instance 11 GR 2 and I do not understand what is the need of two commands 'backup duplication "? Would it not be prudent to also have a command of "overlap of the archivelog backup all ' as well? In addition, what is the point of having the command "Restore database overview" in the daily backup script?


run
{
cross-checking of backup;
retrieve the copy of the database with the tag "ORA OEM_LVL1_ILANDB_PRIM$ ' until ' SYSDATE-1';
backup incremental level 1 to retrieve the copy with the tag "ORA$ OEM_LVL1_ILANDB_PRIM" database more archivelog delete all entries;
delete noprompt obsolete;
Overview of database restore;
cross-checking of backup;
}

Hello again;

These jump out of me.

CONFIGURE REDUNDANCY 1 RETENTION STRATEGY; (too low would set to minus 2 and would consider higher)
CONFIGURE EXCLUDE THEM FOR TABLESPACE "WEBTASK_DATA"; (Consider removing unless you have good reasons for maintaining)
CONFIGURE THE NONE ARCHIVELOG DELETION POLICY; (Review based on your configuration - for Data Guard may be different)

STRATEGY OF RETENTION may be based on redundancy or a window of recovery. For redundancy, I like 2 or 3, for recovery window I like 7.

Best regards

mseberg

Tags: Database

Similar Questions

  • Using the Scheduler to run the rman script directly stored in the recovery catalog

    Hi everyone, I usually automate my backups rman, using either cron or dbms_scheduler to call my stored in a sh file NIX rman scripts.  Everything works fine but anyone know how / if it is possible to call a stored in the recovery catalog rman script. Let's say I have create a script in the catalog:

    RMAN > create script showall

    Comment "just one example of demonstration."

    {

    VIEW ALL;

    }

    Can I use dbms_scheduler to call this script directly? If Yes, how and if not then how can we plan for this or a stored script stored in the rman catalog catalog.  Been looking all over the place, but everything seems to indicate leaving Oracle to call .sh or .bat file.

    Kind regards

    Dave

    Well, let us know the result.

    The link you supplied refers to 12 c Scheduler improvements it seems, it may not be applicable to lower versions of Oracle.

  • How to use parallelism in the RMAN script with multiple lines

    Gurus,

    Need your advice on the use of parallelism in the script "BACKUP AS COPY DATAFILE" have several lines.

    I have a script like below:

    SET UP THE DEVICE TYPE DISK PARALLELISM 10;
    backup copy datafile ' / data1/oradata/PROD/data01.dbf' size '+ DATA ';
    backup copy datafile ' / data2/oradata/PROD/data02.dbf' size '+ DATA ';
    backup copy datafile ' / data3/oradata/PROD/data03.dbf' size '+ DATA ';
    backup copy datafile ' / data4/oradata/PROD/data04.dbf' size '+ DATA '; and so on...

    If I run this script, it runs in the order. How do I in parallel can I copy data files required?
    I selectively copy a few files in ASM.
    I want to use a single script.

    Please notify.
    Best regards
    David

    Published by: 966454 on October 18, 2012 23:59

    Published by: 966454 on October 18, 2012 23:59

    Try to use only a backup statement with the manual channels and parallelism configured as stated in my previous message. For example:

    CONFIGURE DEVICE TYPE DISK PARALLELISM 3;
    CONFIGURE DEFAULT DEVICE TYPE TO DISK;
    CONFIGURE CHANNEL 1 DEVICE TYPE DISK FORMAT '+DATA1/%U';
    CONFIGURE CHANNEL 2 DEVICE TYPE DISK FORMAT '+DATA2/%U';
    CONFIGURE CHANNEL 3 DEVICE TYPE DISK FORMAT '+DATA3/%U';
    BACKUP AS COPY DATAFILE 4,5,6;
    
  • Error in the configuration of RMAN script for physical Standby creation

    Version of database - Oracle Database 11g Enterprise Edition Release 11.2.0.1.0

    I do creating waiting using physics 'RMAN duplicate script.

    The standby db is in nomount State.

    But when you connect to the primary database of standby DB to run the RMAN script on the backup server, I get the below error: -.

    [oracle@manu ~] $ rman target sys/oracle@orcl auxiliary sys/oracle@ORCL_STBY path = duplicate.trc

    Recovery Manager: release 11.2.0.1.0 - Production on Fri Jan 18 13:13:11 2013

    Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.

    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-00554: initialization of the package manager internal collection failed
    RMAN-04005: target database error:
    ORA-01031: insufficient privileges


    I checked a few password file is to say things as db and Eve tnsnames.ora and listener.ora primary in both primary and standby, everything seems perfect.

    Can someone help me find the real problem?

    All tips/ideas would be very appreciated

    Published by: 918868 on January 18, 2013 12:25 AM

    Published by: 918868 on January 18, 2013 12:27 AM

    Hello;

    I don't know I would use sqlplus to solve a problem of RMAN. At the end of the day, you still have to use RMAN to connect.

    You can debug by taking:

    rman target sys/oracle@orcl auxiliary sys/oracle@ORCL_STBY trace=duplicate.trc
    

    And then just try:

    rman target sys/oracle@orcl 
    

    Assuming this works, you can refine the RMAN connection problem.

    Connection string your RMAN:

    rman target sys/oracle@orcl auxiliary sys/oracle@ORCL_STBY trace=duplicate.trc
    

    Is different from the ones I use:

    rman target sys/password@PRIMARY auxiliary /
    
    OR
    
    rman target=sys/password@primary auxiliary=sys/password@standby
    

    In addition, you must have a static entry on the side of the day before, so you have something to connect to:

    Example of

    LISTENER =
        (DESCRIPTION_LIST =
          (DESCRIPTION =
            (ADDRESS = (PROTOCOL = TCP)(HOST = )(PORT = 1521))
          )
        )
    
    SID_LIST_LISTENER =
        (SID_LIST =
          (SID_DESC =
          (global_dbname = STANDBY_DGMGRL.hostname)
          (ORACLE_HOME = /u01/app/oracle/product/11.2.0.2)
          (sid_name = STANDBY)
          )
          (SID_DESC =
          (global_dbname = STANDBY.hostname)
          (ORACLE_HOME = /u01/app/oracle/product/11.2.0.2)
          (sid_name = STANDBY)
    )
    

    The listener must be restarted to see this entry.

    The tnsnames.ora will also the entries for two databases as both sides need to connect.

    Keys to success

    1. new Eve started NOMOUNT on new password file. (So the watch is a current master password renames and then the database started in NOMOUNT use it)
    2. hard coded listener on the new standby server.
    3 fix the tnsnames.ora files.
    4 fix the command duplicate.

    Best regards

    mseberg

  • Validate the RMAN backup in parallel

    Hello
    OS = Solaris 10
    Basis of data = 10 gr 2

    I use the following script to validate physical and logical corruption in the database using RMAN:

    RMAN target /.

    RMAN > RUN {
    SET UP THE DEVICE TYPE DISK PARALLELISM 8;
    ALLOCATE CHANNEL d1 DEVICE TYPE DISK;
    ALLOCATE CHANNEL d2 DEVICE TYPE DISK;
    ALLOCATE CHANNEL d3 DEVICE TYPE DISK;
    ALLOCATE CHANNEL d4 DEVICE TYPE DISK;
    VALIDATE THE BACKUP OF DATABASE;
    OUTPUT CHANNEL;
    }

    My machine has 4 processors.

    I just want to check that the RMAN script above will open up to 4 channels simultaneously and validate the database?

    concerning

    Hello

    Yes she open the four channels at the same time (as you have allocated for it), but why you specified 8?

    -Pavan Kumar N
    -ORACLE 9i / 10g - OCP
    http://www.oracleinternals.blogspot.com

  • How to understand the format of hyperic shell command line?

    I logged on the hyperic shell and I just wanted to check on the orders and their
    output.  Im having trouble understanding the syntax I do a list alert and get:

    alert list
    org.hyperic.util.shell.ShellCommandExecException: error getting alerts
    In undeclared throwable was: java.lang.ClassNotFoundException: org.hibernate
    .collection. PersistentBag (no security manager: RMI class loader disabled)

    When I use the "list alertdef" command it comes back with: ""
    list of alertdef <-group | -plate-forme | -Server | -service > < resource > [-activated |-disabled]

    Replace - platform with linux - say? or a particular computer Devils name
    what they are referring to with resource? is the agent HQ a resource?

    What is necessary and what is not. . Cant seen to get anything to work.
    An example of this command is all I need.

    You will see many orders with a syntax similar to the alertdef list.  You
    do not replace the '-' keywords with anything, it has the 
    that you would replace it.  The can be the ID of the
    resource (if you know it) or the name (use quotes if there is)
    (spaces).  For example, I can do:

    alertdef list - server 10001

    or

    list of alertdef - HQ Agent server 'hq.hyperic.com '.

    In addition, as shown in my example, the central administration Agent is indeed a resource.
    It is a server.

    Charles

  • Need help to understand the query result

    Hi gurus

    I was reading one of the question here in this forum and its link is below:

    Query required for scenario

    I had some confusion related to this code and don't understand the logic of the out put, see query below:

    Query

    with sub_services as

    (

    Select su_seq 12323, 'HLR1' so_id, 1 seq Union double all the

    Select su_seq 12323, "HLR2' so_id, seq 2 Union double all the

    Select su_seq 12323, "A09" so_id, seq 3 of all the double union

    Select su_seq 12333, "MO1" so_id, seq 4 Union double all the

    Select su_seq 12333, "MO2' so_id, seq 5 Union double all the

    Select su_seq 12333, "A09" so_id, 6 seq in union double all the

    Select su_seq 12333, 'M0CR' so_id, seq 7 Union double all the

    Select su_seq 12999, "LOL1' so_id, seq 8 Union double all the

    Select su_seq 12999, "LOL2' so_id, seq 9 double

    )

    Select *.

    of sub_services b

    where exists (select 1 from sub_services

    where su_seq = b.su_seq

    and so_id = 'A09.

    )

    order by 2;

    The query result

    12323 A09 3

    12333 6 A09

    12323 HLR1 1

    12323 HLR2 2

    12333 M0CR 7

    12333 4 MO1

    12333 5 MO2

    According to my understanding, the above query should return records in red only because of her is below command

    It exists (select 1 from sub_services

    where su_seq = b.su_seq

    and so_id = 'A09.

    but don't know why he's back 7 files, can someone help me understand the result...

    It is query is functionally identical to the PL/SQL block, but much more effective.

    declare

    number of l_res;

    Start

    for line (select *)

    sub_services) loop

    Start

    Select 1 from l_res

    of sub_services

    where su_seq = row.su_seq and

    so_id = "A09" and

    rownum = 1;

    exception when

    NO_DATA_FOUND then

    null;

    end;

    end loop;

    end;

    Essentially every row in the outer query are tested against him exists query.  Given the correlation between two requests is based only on su_seq each line with a su_seq value returned by him is returned in the output.

    Another way to think he uses instead a join condition.  This query is equivalent to the query to exist

    Select the main

    of main sub_services

    Join select (separate su_seq

    of sub_services

    where so_id = "A09") cond

    We main.su_seq = cond.su_seq;

    John

  • Understand the iterator binding relationship of the current page

    Dear all

    in my quest to understand the behavior of the ADF framework, I sometimes do some experimentation. When a result is unlike what I think, it suggests that there is something wrong with the understanding

    I belong to those who can not work if I do not receive an overview comprehesive of what I am working with (ADF)

    Here's a simple experiment that I could use some help to understand

    I created a simple application based on ADF BC and JSF (10.1.2)

    The model is simple EO based on the EMP table and updatable VO based on the entity

    I slipped and fell to the control of data collection in a page as a Table with record selector

    I created a button with the following code

    Public Sub commandButton_action(ActionEvent a)
    {
    Am is AppModule_rs (AppModule_rs) ADFFacesHelper.getAppplicationModule ("AppModule_rsDataControl");. / / This just a helper class to get AM name DC
    ViewObject vo1 = am.findViewObject("EmpView1");
    VO1. Next();
    VO1. Next();
    System.out.println (VO1. GetCurrentRow(). GetAttribute ("empno")); -Read the valur of the iterator of VO
    DCIteratorBinding bd = ADFFacesHelper.getIteratorBinding ("EmpView1Iterator");
    System.out.println (BD. GetCurrentRow(). GetAttribute ("empno")); -Read the value of the iterator binding
    }

    Just simple code for in-house advance lines of two pointer line and then see how this is reflected in the page. This test is just for me to understand how the iterator binding refers to the actual set of rows.

    Scenario (1)

    -Run the page, the first line on the page is selected - planned, VO rowselector points on the first line
    -Click on the commandbutton control, the code above is executed
    -the rowselector forward twice and should point to the third row on VO
    -on the page of the third row must be selected
    RESULT: Match perfect and both command Print print the same value
    -Press and hold the control button, line guard page selector advances two lines at a time... which is good

    Scenario (2)

    -Run the page, the first line on the page is selected - planned, VO rowselector points on the first line
    -use the mouse and select the fourth row on the screen (not pressed) - VO is always level 1, screen on set, iterator binding binds to the rowset VO is always the first row referenes
    -Press the button
    -the page maintains its fourth selected line, while the System.out.println (vo1.getCurrentRow ().getAttribute("Empno")); prints the 7521 value which is the third - row
    -I don't feel happy, the current iterator of VO is on the third row, visually, it's fourth, which means that the selection of the user on the Web page did not consider. And this goes against my intiution


    -Press again, I find that line of page selector is the sixth line (4 + 2), therefore the iterator to all VO lines (synchornized times)

    Scenario (3)

    Run the page, the first line on the page is selected - planned, VO rowselector points on the first line
    -use the mouse and select the fourth row on the screen (not pressed) - VO is always level 1, screen on set, iterator binding binds to the rowset VO is always the first row referenes
    -Press the button SUBMIT - 4th place is always selected as expected
    -Now press the order button, you will see that line on the screen selector forward two rows and print indicates that the VO has also progressed to the same value
    -Se TRANSLATE only after pressing send, the frame cought his breath and synchronized things

    Coming background FORMS, things of this nature never would have happened with Disk Manager.

    I tried to project what has happened to the lifecycle ADF to try to understand how the interaction of the user affects the selection of lines, but was unable to reach a unified solution. What follows as an attempt for scenario (2)

    The user moves the selection to the fourth line
    The command button is pressed.
    Life cycle JSF begins with the RESTORATION of the VIEW.
    Apply request values (I guess the lines selection made by the user to become an integral part of request values?)
    Prepare the model (this is a post (postback), property of refreshment has ifNeeded, Binidng is created again and VO is always first in the poinitng)
    Validation process (no validation as no data entry)
    Model update (don't know if at this point the update of the line VO iterator? if so it should point to the fourth line)-doesn't seem to be the case
    Invoke the application, the listener of the action is executed and the VO is forced to move twice under the command button code
    Prepare the Render: it is a step where the link needs to be updated and reflect the currernt VO (rank 6) line
    Render: The page where the sixth line is selected

    where I am wrong! appreciate your comments

    It's what makes the difficult framework, if it is not clearly documented so the flow is very well understood by developers in one day, the developer must spend days and days debugging problems. This sure beats the idea of using frames to increase productivity

    I have

    Quick question - is the button that you add code to the same area (the "select and" area) as the button submit table?
    I'm guessing that it isn't and that the explanation is that just by clicking on a specific record in the table is not actually indicate to the controller layer is a selected line.
    The Send button did this update.
    One solution might be to set the autosubmit to the selected component to be true.

  • do not understand the tag edition - someone explain please

    I have been advised to get the titles in order by editing tags, but cannot understand what it means.  I installed MP3Tag and navigated to the folder with my podcasts in it, then clicked on 'Select folder'.  The 'tag' says the same thing for the whole column, and I do nothing make changes except 'remove tag '.  I can't understand the instructions - they assume that I know already a little on the tags.  What should I do so that the files in this folder will be displayed in alphabetical/numerical order on my Clip instead randomly?

    If you ever have a newbie with this problem, tell him to check properties\details\ #.  I never assign numbers track to my podcasts, and various had 0 or 1, give me a random order when I copied them on my Clip.  I feel stupid, but it's good to have learned this.  Thanks for mentioning the order of songs.

  • Help understand the Double billing for the same product on the same account

    Recently, I realized that I make double charge on my account from creative cloud for the same exact items charged to the exact same credit card. In addition, I must say that I had two accounts still somehow. It is because I have lost access to the associated e-mail account and do could not connect. When I talked to Adobe at this time there they notify that I have create a new account with a new email, I did. That being said, every month for almost a year I was charged $31,79 and the new account as well. (I admit I'm not very good about checking all my automatic subscriptions online monthly but supposed to Adobe as a company highly and popular, could do things). I called and the first representative I spoke with today understands the problem and transferred to me for a refund, however once transferred, the representative was not only do not understand but rude and gave me a refund for 6 months. As of today, they canceled the account I have not used and me be charged twice a month for but only paid 6 months more than 12 months of double billing. The representative tried to tell me he was doing me a favor because I wasn't in charge of normal early termination fees. It has become so confusing and so I did at that moment that I said I would get more help here in the forums...

    1. I'm trying to understand why in the world they would even charge me a cancellation fee when I was clearly NOT cancellation of an account, just to make a change, which was made according to the way which they charged me and, of course, who they do not now recognize?

    2. How can I reload the same exact account for exactly the same product with activation of the said product as a single computer, and no other user (not to mention that I just used the product)?

    Any help or advice would be appreciated!

    All first of all my apologies for the not so pleasant experience.

    The Adobe ID here in the forum has a CC bought in March 2016 with no cases registered.

    I understand that this is for another subscription CC, could you please me message in private closed, the file number or the number of order which you have been invoiced in duplicate.

    I can probably follow that.

    Concerning

    Stéphane

  • Need help to understand the collection

    Hi all

    I'm trying to understand the concept of collection, but when I look in the documentation that exists in google.ca, then, it seems very confusing. If someone suggest me or send me some simple examples and good collection and I really appreciate it. Thanks in advance.

    Concerning

    Line

    Thanks for the explanation, could you please explain what does really to take care of the index as a whole and clause varchar2 and if yes then what condition we use varchar2 index and in which condition we use index as a whole, be we just use index by integer in our daily practice. Really appreciate your response. Thank you

    Generally if you use collections, especially PL/SQL-only collections, your architecture is probably wrong. Collections are rarely necessary, but are often USED in the mistaken belief that they will help performance.

    The use of the collections usually DEGRADES performance, sometimes severely, and they are often used in a way that is not scalable. You should avoid using collections if possible.

    So don't use the collections AT ALL in your 'common practice '.

    For the rare cases where there is to use an array associative index type to use depends on the data type of the element that you will use for the index. If you plan to use a string, then you use INDEX OF VARCHAR2. If you plan to use an integer, then you use INDEX BY PLS_INTEGER.

    What type of index to use has NOTHING to do with performance.

    One of the WORST mistakes developers make is to use an associative array as target of a BULK COLLECT INTO instead of using a TABLE IMBRIQUEE. Collection in bulk is more often used in a FORALL statement so that the elements are accessible only in the order. Useds "indexed" access with associative arrays isn't even necessary or used.

  • Can someone help me how to understand the syntax of a calculation in a form Acrobat?

    For the first time I have created a PDF form for the child summer camp brochure. After countless hours I was able to figure out how to make some simple calculations (number of sessions of camp price subtotal = x). But I can't understand how to create a script that will take partial total revenue and generate a number which corresponds to 10% of the subtotal. All I want to do is have a separate field (reduction), which can reference the subtotal, and if it's over $ 170.00, calculates and displays a number which corresponds to 10% of this amount. From there, I can understand how to subtract 10% of the subtotal, but I can't understand the syntax for the calculation of the 10%. Also I don't know if that should be entered in the Notation of Simple box field or calculation Script custom area to calculate in the text field properties box. Any help would be greatly appreciated!

    You must use JavaScript. It would be something like:

    Personalized to discount field calculation script

    (function () {}

    Get the subtotal value, as a number

    var = subtotal + getField("Subtotal").value;

    Set the value of this field

    If it is greater than 170, calculate 10%, otherwise it is zero

    Event.Value = subtotal > 170? 1 * subtotal: 0;

    })();

    This last line is equivalent to:

    If {(subtotal > 170)

    Event.Value =.1 * subtotal;

    } else {}

    Event.Value = 0;

    }

    It's just more compact.

    Replace "Subtotal" in the line of getField above with the actual name of the subtotal field. Also, set all the fields calculated read-only. And make sure the field calculation order is correct.

  • Whenever I want to open twitter "this connection is Untrusted"comes to the screen, but her option "I understand the risks" never comes. " What to do &gt; help

    When I try to open the twitter/facebook etc, as sites the message that this connection is not approved appears on the screen. After some instructions another words in bold comes technical does not come from the details but "I understand the risks". What to do. Help step by step the pl

    Hi Linda, can you start at the top of this discussion and see if you can identify a particular program or a device that is intercepting your secure connections?

    If you want personal assistance, please start a new question and include your system information.

    https://support.Mozilla.org/questions/new/desktop/fix-problems

    Scroll down to the suggested items passed to continue entering in your question.

  • How can I remove an exception made by clking "I understand the risk?

    Went on the website and received no reliable message and accidentally click on "I understand the risks". How to I reverse this trend? I don't trust this site.

    Hi robinandjon, you can cancel when you enter in the menu > options > advanced > Certificates > view certificates > servers tab and remove the certificate of the site in question.

  • Untrusted connection is missing section "I understand the risks".

    Run Firefox 33.1.1 on Windows 7, try to access https://code.google.com. I get the page "this connection is untrusted", (specifically sec_error_unknown_issuer), but there is no section "I understand the risks" to allow me to add an exception. Other posts have suggested trying to 'forget this page', who has not solved the problem, or "Ce Frame: Open image in New Tab", which does not appear on right-click in this case. I also tried to go in 'View Page Info' but there was nothing out there for me to add the certificate either.

    Open the chrome URI by pasting or typing this URI in the address bar to open the window "Add the Security Exception" and to check the certificate:

    • chrome://pippki/content/exceptionDialog.XUL

    In the field location type and paste the URL of the Web site

    • retrieve the certificate via the button 'Get certificate '.
    • inspect the certificate via the "view..." button. »

Maybe you are looking for

  • JavaScript does not work on firefox 6.0

    http://www.cfphoto.com/products01.html On my site, the link is above, when I click on a thumbnail, a larger version of the image should appear. However, I can see only the left third of the photo. I use the plugin NoScript, Version 2.1.2.7rc2, but, o

  • Satellite P200-1FZ: how to insert the smart media card into the card slot

    Hello I have read the slim manual, and I can't find any info on the card slot. (other than where he lives on the laptop) Could someone tell me please how to insert my card SmartMedia? the slot is huge and I'm worried about losing the card inside the

  • Bluetooth - HP Touchsmart IQ772 Vista Home Premium SP1 software license file

    A couple of weeks, I installed Driver Max and update the outdated drivers, blutooth, among them, identified by Driver Max, on my HP Touchsmart IQ772, Vista Home Premium SP1.  Since last week, I get this message every time I have log on or restart my

  • How will I know if my laptop has a bluetooth circuit

    I recently bought a HP Pavilion Notebook g7.  I thought it was the circuit bluetooth inside, but I can't access anything of this nature.  How will I know whether or not she has this circuit? netzherm

  • How to make a vertical scrolling graphic?

    I need to create a chart that contains data flowing vertically from top to bottom.  I know I can do a work-around by creating a chart with a buffer that behaves like a chart, but I wonder if there isn't an easier way.  The only modes graphic I see ar