Basic question on redundancy as the retention policy enforcement

DB version: 11 g

I intend to implement a differential incremental backup of my database. My strategy is
Sunday -->     Level 0 backup
Monday -->     Level 1 backup
Tuesday-->     Level 1 backup
Wednesday-->     Level 1 backup
Thursday-->     Level 1 backup
Friday-->     Level 1 backup
Saturday-->      Level 1 backup

Again, the new weekly backup cycle starts
Sunday -->     Level 0 backup
Monday -->     Level 1 backup
.
.
Set on the Recovery window retention policy
==========================

I understand that recovery window retention policy: If I set up
'CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 7 DAYS;' 
This means only these backups that are older than 7 days will be reported as obsolete when executing the command "remove obsolete.

Retention set on redundancy policy
=============================

But I'm a little confused about the retention set to redundancy policy:

Does
CONFIGURE RETENTION POLICY TO REDUNDANCY 3;
say that you keep 3 copies of backups on different locations on disk? How does this fit with my above mentioned incremental backup strategy?

REDUNDANCY is 'Keep' copies

The BACKUP is 'Create' copies of

Copies which exceed the requirement of REDUNDANCY become OBSOLETE.

Hemant K Collette

Tags: Database

Similar Questions

  • Problems with the retention policy that removes a Cumulative incremental backup

    Hello

    I have following two scripts:

    1 RMAN script runs the weekend and made a full backup of level 0.

    2 RMAN script works on a daily basis and a level 1 Cumulative backup.

    at the end of each script I delete noprompt obsolete redundancy 1; (I don't need a single copy of local disk)

    My problem is that it seems that remove obsolete handles only level 0 (full) backups.

    for example, my goal is:

    Saturday = > level 0 + delete obsolete (level 0 + all the incremental)

    Sunday = > obsolete level 1 cumulative + delete

    Monday = > level 1 cumulative + Delete obsolete (backup Sunday)

    etc...

    What happens in reality is rather that remove obsolete Monday, completely ignores Sunday 1 cumulative level.

    and he keeps all the up to the next level 0 backup

    its actually covered in the Oracle Documentation:

    http://docs.Oracle.com/CD/E11882_01/backup.112/e10642/rcmconfb.htm#BRADV8400

    but it's just not make sense.

    in order to have redundancy of 1 copy I only need to level 0 + unique Level 1 cumulative backup.

    I don't have level 0 + all level 1 cumulative backups between full backups.


    so my question is there a way to make the retention policy to keep only the last level 1 cumulative?

    It's true window of 1 day recovery ignores several backups of cumulativ made the same day as being obsolete. Regular retention strategies rman probably cannot provide what you want. You can manually identify the backupset and delete them or change of cumulativ backups to incremental backups.

    That would save the space of several cumulative backups and and would work even for several backups on the same day. Of course with the disadvantage that you need all of the incremental backups and your recovery time may be longer

  • backup with the retention policy to recovery of N days window

    Hello

    I did command to create an incremental backup of database with the configuration:

    run

    {

    Configure retention policy to recovery of 14 days window;

    backup incremental level 1 cumulative

    tag daily_incr_14_days

    database

    more archivelog delete all input;

    }

    All parameters are set to their default values, and backups of data goes to FRA. I've got catalog recovery connected and all the views RC_ at my disposal.

    (1) is it possible to know which window of recovery has been used for any command in the rman backup or query view RC_ or local database (control file information)?

    (2) if I use other settings of window of recovery with command configures which would overlap or report rman commands do?

    BR

    Sandrine.

    TenakaKhan wrote:

    Mahir,

    Thanks for the reply - in other words, this window of recovery should be used mainly for maintenance purposes (overlap, remove obsolete, report need backup etc.) and he was not associated with the actual with backup items as retention period "keep until the" safeguard clause... command database (this information are saved with the backup as I could verify according to rc_backup_set of the recovery catalog)?

    Yes.

    Maintaining backups RMAN and repository & nbsp; Reviews

    keepOption

    backup retention policy

    A policy defined by the user to determine how long the backups and archived logs must be kept for the media recovery. You can define a retention policy in terms of redundancy backup or a recovery window.

    RMAN keeps backups of data files that are required to meet the current retention policy, and all logs archived redo necessary to a complete recovery of data files.

    Recovery window

    A recovery window is a type of RMAN backup retention policy, in which the ADMINISTRATOR specifies a period of time and RMAN ensures the retention of backups and Archives redo logs required for recovery to point-in-time at any time during the recovery window.

    The interval always ends at the present time and is extended in time for the number of days specified by the user. For example, if the retention policy is set for a window of recovery of seven days and the current time is 11:00 Tuesday

    RMAN maintains the necessary backups to recover point-in-time at 11:00 the previous Tuesday.

    Concerning

    Mr. Mahir Quluzade

  • Images of base and the retention policy

    How often should a kernel take images of basic officer? For some reason, I was under the impression that base image that is happening, then EACH snapshot after it is progressive, and they all get just rolled in the other when the time comes. I have machines here with 3 or 4 images of base in recent months. Some seem to match with my retention policy, and others do not.

    Someone has an idea?

    You answer @itcaswg post:
    @itcaswg said "why it would trigger a full after a 'dirty '?" I think it would just dump the partial and take another differential from the beginning.

    So when your taking a backup create us a log, which is replaced each snap, in the System Volume information file, this is where we consider what has changed since the last backup and what channel we are linking to the heart. If the officer was in the middle of a write to this file and a crash occurs the log file might be damaged. This would make it impossible for the officer to determine what has changed. So, I set off a baseline plan to repair the chain.

    @itcaswg said «...» I guess that number three is not a problem unless the disk is full. right? »

    Yes and no. Permissions or GP can play in this trigger. Also when you configure you differential interval and place all the volumes on the same time, all volume lock in that time as a job. The partition of the RPS is relatively small and can fill. This can trigger the basis for the entire machine as all volumes are connected by the work of the interval. Often RPS do not even have a drive assigned to often most watched his letter but he too has a SVI folder and is clipped like any other drive.

    In addition, food for thought, your retention applies only at increments up to your most recent base line. Anything before that is ignored and must be cleaned manually.

  • Basic question - graphic legends in the heads side

    Hey,.

    Hooray, my company eventually got Framemaker, and I am now in charge of the control of FM and fall all our old content FM. I'll use it to create our manual of the product.

    Anyway, what I do is align text in the heads side with graphs in the main text column. As follows, from the old manual:

    text_in_sidehead.jpg

    So far, I tried to create a paragraph tag that sets the text in the head to one side. It works, but I can't align the text of the head to one side with the chart. (The paragraph Designer options seem to allow only aligning the text side-head with other paragraphs, no graphics).

    So, given that our manual is full of graphs that need aligned beside text, what is the best approach?


    Thank you very much. I know it's a very basic question.

    Ian

    A fairly standard practice with framework is to create a paragraph tag that is used only as a part of positioning to hang frames anchored (with images) and tables. The font size is usually set to something like 2 or 4 points, so that it fits in the documents without adding white space. And he never actually wears text.

    So if you create an anchor tag and anchor your chart it, you should have a tag to align a sidehead against.

    However, if it was me, I probably hang a picture two-column a row of my anchor tag and the graphics of the pop in a cell and a legend in the second.

    See you soon,.

    Art

  • A very basic question dialogue IRT and the message boxes...

    What is the difference between a dialog box and in a message box?

    What the heck is a palette window?
    I'm quite confused...

    I'm quite confused...

    Need a glossary?

    http://msdn.Microsoft.com/en-us/library/Windows/desktop/aa511441.aspx

    (BING search engine for)
    WINDOWS glossary dialogue addressed
    )

    HTH

    Robert Aldwinckle
    ---

  • kind of basic question on navigation of the sequence

    then I got a new job and worked with Avid Newscutter there. not much fan of passionate, but there is a feature that has been sloppy. When you hold down the control and right mouse and browse your sequence, difficult playhead stops at each edit point. is it possible to imitate this behavior in first? I know that I can just press up and down to scroll edit them points, but sometimes it is not practical, according to what I do.  Thank you.

    Up and down is the only way I know how.

  • Retention policy for the grid control

    Hello

    One of our clients wants to change the retention policy of the Grid control to 2 years in order to check the statistics of the application of these last 2 years,

    Default purge policy is as follows:

    Raw metrics - 7 days

    An hour aggregate metrics data - 31 days

    A day aggregate metrics data - 365 days

    Having someone of you will never change these default policies to a great values?

    I'm afraid of performance issues

    Depends on what policy they want change, but I n ' tthink this will help you at all.  If they are looking for AWR data, it is not stored in MS, unless you configure CWA warehouse.   EM will be measures such as SQL response time, but it does not store the SQL query and the stats you'd see in an AWR report.   Storing so for 2 years will not help.  If you want just generic performance history, then changing strategies of purge will be fine, but you don't want to store the raw data for 2 years. Keep in mind that you will increase the size of your repository database as well.

  • RMAN retention policy

    Hello everyone, I think to create a retention policy, but the problem is if I want to have the backup that ran daily from detention for 15 days and each backup run a monthly backup for a year which is the best option to set up the recovery window retention policy, because if I set with 365 days I'm going to keep daily backups for the whole year, suggest or advise

    Hello

    set the retention policy for 15 days (daily policy):

    RMAN > CONFIGURE RETENTION POLICY to RECOVERY WINDOW OF 60 DAYS;

    And add keep until 'sysdate + 365' monthly backup.

    RMAN > backup format incremental level 0 '% d.n0.%T.set_%s_%t' TAG data = 'BK_DATA_monthly_20150501' keep until 'SYSDATE + 365' opens a session;

    If you can make backup maintenance with delete obsolete;

    RMAN > remove force noprompt obsolete;


    It works with oracle 9i, 10g and 11g

  • RMAN: Deletion retention policy policy VS Archivelog

    I am a newbie to RMAN, so I did a lot of reading and experimentation, and I'm stuck on a problem.

    TASK: I want to keep two days of archived newspapers and a days worth of backups.

    SOLUTION: set 1 retention policy, set the deletion policy to archive 2

    (CONFIGURE ARCHIVELOG DELETION of SAVED POLICY 2 TIMES TO THE DISK.)

    and it's my simple backup script

    run

    {

    database backup "nightly_backup" tag more archivelog;

    delete noprompt obsolete;

    }

    PROBLEM: it does not work. Oracle documentation clearly (as clearly as possible the documentation) that "remove obsolete" uses the retention policy to clear logs archived. and deletion policy deletion archivelog to use "delete archivelog all;

    My tests verifies this.

    ISSUE. How remove the database obsolete backupsets ONLY by using the delete command?

    -Mark

    Just for clarity - if other people who have this issue will find this thread-I found the answer.

    Two policies are in effect only when you use the quick recovery for all your backup needs area. The database will automatically manage files according to policies. But as soon as you run manually ' rman > delete noprompt obsolete ' Oracle will only follow the retention policy.

    So as soon as FRA got up to about 78 percent full, he began to delete files, you can see in the alert.log

    Deleted Oracle managed file +FRA/sndbox/backupset/2014_07_23/annnf0_nightly_backup_0.435.853650191

    Deleted Oracle managed file +FRA/sndbox/archivelog/2014_07_23/thread_1_seq_204.439.853668327

    Deleted Oracle managed file +FRA/sndbox/autobackup/2014_07_23/s_853650247.441.853650249

    Deleted Oracle managed file +FRA/sndbox/archivelog/2014_07_23/thread_2_seq_189.434.853668653

    Another consequence of this fun is that Oracle will not automatically manage files outside of the FRA. So, if you save FRA on the disk, Oracle removes only files of FRA. If you must manually remove FRA backups, but which will also remove the FRA files according to the retention policies.

  • Retention policy does not work

    Hello

    I have 2 node RAC 10 g 2 db. Operating system is 5.8 RHEL. I'm with RMAN for full backups every night. The problem is the old backups not automatically deleted through the retention policy, which is 7 days. For example, now, I have at least one backup set that is about 1 month. Here is a part of the log RMAN:

    delete noprompt obsolete device type disk;
    RMAN retention policy apply to the order
    channel ORA_MAINT_DISK_1: sid = 4327 instance = MYYRAC1 devtype = DISK
    allocated channel: ORA_MAINT_DISK_1
    output channel: ORA_DISK_1
    RMAN retention policy is set to 7 days recovery window
    not found obsolete backups
    output channel;

    Thus, the final problem which is the disc will sooner or later totally old full backups.

    Hello;

    Obsolete backups can be complex. Watch the incremental backups that extend the retention period. This simple command can help:

    RMAN > OBSOLETE REPORT.

    Otherwise, I have this note:

    http://www.Visi.com/~mseberg/RMAN/obsolete_backups.html

    If the catalog has no problem and retention policy is set, it almost always works:

    RMAN > DELETE noprompt obsolete;

    More information

    http://www.Visi.com/~mseberg/RMAN/backup_redundancy.html

    http://www.Visi.com/~mseberg/RMAN/recovery_window.html

    Best regards

    mseberg

  • Question to hop in the Time Machine - Illustrator 10.

    Good guys, here's my problem.  I have a mac with Photoshop elements.  I design t-shirts for my local gym.  They just sign a contract with a small MOM and pop screen hosting. As a result, they have all saved as an Illustrator EPS, version 10 file or several.  She couldn't use my photoshop eps files.

    She is my questions.

    1. If I buy a 'new' Illustrator 10 from Amazon it will install on my mac 10.5 version or my computer is too new for this program?

    2. If it settles, can I open the PSD in Photoshop elements files in illustrator 10 and save as illustrator EPS files?

    I don't know anything about Illustrator, but I'll dive in as soon as I get it.  I really just need to open the PSD and convert it using Illustrator 10.  They need the vector files.  I just need these questions answered before you buy the program.  Thank you

    function() {return A.apply (null, [this] .concat ($A (arguments)))}

    Good guys, here's my problem.

    Well, Jimi. Here are your answers...

    function() {return A.apply (null, [this] .concat ($A (arguments)))}

    I have a mac with Photoshop elements.  I design t-shirts for my local gym.

    If you're talking about the design of T-Shirts involving multiple colors, you really should be using a program (whether raster or vector) able to print color separations. You can do with what you use, but you will need to work in black and white only.

    function() {return A.apply (null, [this] .concat ($A (arguments)))}

    They just sign a contract with a small MOM and pop screen hosting.

    Basic questions to ask at the shop of the screen:

    • What do you use for your "film positive" with which you expose your screens? (Ex: impressions laser on vellum translucent or clear acetate; litho real films shot on a device of original thought... process)
    • Can you maintain screens tint or halftone; or are you limited to the art of the line?
    • If you can print the tintscreens or the halftone, what is the ruling of maximum line you can hold?

    function() {return A.apply (null, [this] .concat ($A (arguments)))}

    As a result, they have all saved as an Illustrator EPS, version 10 file or several.

    Why? Assuming that they are printing their originals, they should be able to print from a PDF of the color separation.

    function() {return A.apply (null, [this] .concat ($A (arguments)))}

    She couldn't use my photoshop eps files.

    EPS is encapsulated PostScript. It must be a PostScript to EPS printer print correctly. PDF can be printed both PostScript and non-PostScript devices, frequent at MOM & filter anti-pop stores.

    function() {return A.apply (null, [this] .concat ($A (arguments)))}

    1. If I buy a 'new' Illustrator 10 from Amazon it will install on my mac 10.5 version or my computer is too new for this program?

    You don't need the old version. Current version can back - record formats inherited version. It is usually false economy to go around buying obsolete software.

    function() {return A.apply (null, [this] .concat ($A (arguments)))}

    2. If it settles, can I open the PSD in Photoshop elements files in illustrator 10 and save as illustrator EPS files?

    You can open an EPS with Illustrator file (pretty well regardless of what program exported EPS). But that doesn't automatically make the needs of the shop of the screen. Forget the EPS. It is the nature of the content that matters.

    EPS is a metadata format. Think it's just a "warpper" or a "black box" that can hold different types of data objects which are understood by a PostScript device.

    For example: assume that your work is an RGB of halftone image you built in Photoshop and then exported in EPS file. Open the EPS in Illustrator and then give to the shop of the screen is not accomplish anything. After opening in Illustrator, you then just a native Illustrator file that contains a RGB raster image. How would he a difference whatsoever, as to whether the screen shop can print it?

    function() {return A.apply (null, [this] .concat ($A (arguments)))}

    I don't know anything about Illustrator, but I'll dive in as soon as I get it.

    Modern.

    function() {return A.apply (null, [this] .concat ($A (arguments)))}

    I really just need to open the PSD and convert it using Illustrator 10.

    No, you haven't. See above.

    function() {return A.apply (null, [this] .concat ($A (arguments)))}

    They need the vector files.

    Big misconceptions:

    • Simply open a file (regardless of format) in Illustrator is not magically that he "vector".
    • Being fully vector is not magically, ensure that it the limitations of repro of MOM & filter anti-pop stores.
    • Most of the MOM & pop screenshots are not really limited to work with vector illustrations; they just think they are.

    Screen mom & pop stores very often say 'We need vector illustrations' when in fact what they really mean is "We need line art."

    It's really very simple:

    Denominator common for shops to screen mom & pop requirements is as follows: a single image of art of black line for each color used in the design. That's all. They are going to take a copy of this solid black image, printed on a transparent or translucent medium at least and it can block light that will expose a screen. They do it separately for each ink (color) will be printed on the shirt.

    Line drawing means "without tone." In other words, nothing which prints as a screen of dots as a screen tint or a semitone. In other words, no detail too small to be taken in charge by the mesh of the physical screen.

    Line drawing can be created with both raster and vector programs. You can 'paint' a raster image that will print as art of the black solid line in Photoshop just as easily as you can 'draw' traced that will print as black line art continues in Illustrator.

    No matter whether you are creating the linework in Photoshop or Illustrator (or more any other mainstream graphics program), you can save it as a PDF ready to print. This PDF can be opened and printed by the shop of MOM & pop screen using nothing more than the free software Adobe Reader.

    But the content of this PDF (e.g.: the art of the black line continues; a page by ink) is up to you to create properly. This requires only to understand the fundamentals of color separation and the creation of your work accordingly.

    JET

  • Question on the implementation of the RMAN retention policy

    Version: 11 g
    OPERATING SYSTEM: AIX 5.3


    I intend to implement a differential incremental backup of my database. My strategy is
    Sunday -->     Level 0 backup
    Monday -->     Level 1 backup
    Tuesday-->     Level 1 backup
    Wednesday-->     Level 1 backup
    Thursday-->     Level 1 backup
    Friday-->     Level 1 backup
    Saturday-->      Level 1 backup
    
    Again, the new weekly backup cycle starts
    Sunday -->     Level 0 backup
    Monday -->     Level 1 backup
    .
    .
    First script to perform the backup of level 0 - this script will be run by a cron job every Sunday morning 02:00
    ==================================================================
    run{
    crosscheck backup;
    crosscheck archivelog all;
    crosscheck copy;
    crosscheck backup of database;
    crosscheck backup of controlfile;
    delete noprompt obsolete device type disk;
    }
    
    
    run {
    allocate channel ch1 device type disk;
    backup incremental level 0 format '/u07/rman_backup/FULL_%d_%u' database tag "weekly_full";
    backup format '/u07/rman_backup/RMAN_CTL%s:%t:%p.bkp' current controlfile;
    --release channel ch1;
    allocate channel ch1 device type disk;
    backup (archivelog all  format='/u08/rman_backup/archbkp_dir/ARCH_%d_%T_%u_s%s_p%p' DELETE INPUT TAG "archivelogs");
    release channel ch1;
    }
    The second script for differential incremental backup at level 1 for the next 6 days. This script will run every day
    at 02:00 from Monday to Saturday by a cron job. I have 6 scripts like below, the only difference being the tag "Monday-level 1", "Tuesday-level1"... etc.
    =======================================================
    run{
    crosscheck backup;
    crosscheck archivelog all;
    crosscheck copy;
    crosscheck backup of database;
    crosscheck backup of controlfile;
    delete noprompt obsolete device type disk;
    }
    
    
    run {
    allocate channel ch1 device type disk;
    backup incremental level 1 format '/u07/rman_backup/RMAN_DBF_%s:%t:%p.bkp' database tag "Monday-level1";
    backup format '/u07/rman_backup/RMAN_CTL<%s:%t:%p>.bkp' current controlfile;
    --release channel ch1;
    allocate channel ch1 device type disk;
    backup (archivelog all  format='/u08/rman_backup/archbkp_dir/ARCH_%d_%T_%u_s%s_p%p' delete input tag "archivelogs");
    release channel ch1;
    }
    Question1.
    I want to as backups to become obsolete and deleted as below
    At the end of every week's backup cycle.ie Just after taking a new Sunday's level 0 backup, 
    i need all the old level 1 and level 0 backups from the previous week to get deleted.
    The setting persist following should do the trick. Right?
    CONFIGURE RETENTION POLICY TO REDUNDANCY 1;
    Question2.
    Since
    CONFIGURE RETENTION POLICY TO REDUNDANCY 1;
    is defined. When the new backup cycle begins next Sunday, RMAN should delete the backup of level 0 of last Sunday. Ideally, RMAN should remove all its ' (child) of level 1 backups to Saturday because it makes no sense to keep these level 1 backups when its parent 0 level was obseleted and deleted. RMAN removes level 1 level 0 backup child deleted backups Sunday (when the new backup cycle begins)?

    Question3:
    Suggestions that you guys have about the scripts above?

    Published by: resistanceIsFruitful on October 30, 2009 06:04

    You have answered your question yourself in your question, when you understand

    Ideally RMAN should remove all its ' other (children) level 1 backups to Saturday because it makes no sense to keep these level 1 backups when its parent 0 level was obseleted and removed_

    Yes indeed RMAN done, did you check it yourself?

    Khurram

  • CONFIGURE REDUNDANCY RETENTION POLICY

    Hello
    in 10g R2, I have the following Setup for RMAN:
    RMAN> show all;
    
    paramtres de configuration RMAN :
    CONFIGURE RETENTION POLICY TO REDUNDANCY 3;
    1 it means that, after the backup completes before the first backup set boecomes obsolete/expired?
    2. How can I check it in the repository of the catalog? Any question?
    Thank you very much.

    Published by: user522961 on November 20, 2008 05:07

    1 - Yes
    2 is 'obsolete report' in rman what you are looking for or you are looking for a sql query that you run against the cat. DB?

  • What is the Mozilla user data retention policy unique identifier?

    I read recently in the privacy policy of FF that an ID unique browser is sent to Mozilla with an IP address whenever the browser checks the updates:

    "This function sends also potentially personal information to Mozilla in the form of your IP address and a cookie that contains a unique numeric value to distinguish various Firefox installs."

    http://www.Mozilla.org/en-us/legal/privacy/Firefox.html

    This feature can potentially, provide a list complete IP addresses and sites that a user used to access the Internet, Mozilla. Can you please clarify your data retention policy? In other words, how long are the IP address or other identifier stored on your servers?

    Hello! I'm chime of the Mozilla Privacy team.

    For RFT pings, we don't hold anything in FHR > 6 months (180 days). That answer your question? Here is a link to the info - it's under "how enable or disable sharing of data".

    https://support.Mozilla.org/en-us/KB/Firefox-health-report-understand-your-browser-perf

Maybe you are looking for