Incremental backup

Hello

I have a problem with incremental backups RMAN level 1 "too big (50-75% of the total DB dimensions, including the archive logs).

Attempted to change the cumulative incr to differential backups to limit the data to back up.

So, I would like to confirm that I actually run differential backups and not be combined during the days of the week.

Anyone have a query which can check the type of backup that I used?

It s an OLTP database running Oracle 11.2.

Sorry for not adding the view all and everything but I m at home after working hours, try to understand this.

See you soon

Hello

User RMAN must use a name in the 'format' or 'tag' option or two to show

type of backup was made.  For example:

database backup incremental level 0 format 'c:\temp\diff_incr_zero_%U.bak ';

or

database backup incremental level 0 tag diff_incr_zero;

Without the tag, or format clauses specifying the type of backup performed.

It is not possible to use the RMAN list or any point of view RMAN command to determine

the difference of these two types of backups.

Thank you

Tags: Database

Similar Questions

  • My new Macbook Pro backup in a time Capsule with 2 iMacs. After the first incremental backup but backup every now and again he returned to the backup of the entire drive, why is - this

    My new Macbook Pro backup in a time capsule, as well as 2 iMacs. After the initial backup, it seemed incremental backup but from time to time, he performs a full backup why, is it?

    time to time, she performs a full backup

    What evidence are you using to decide that she performs a full backup?

  • READYNAS using Readycloud Desktop App - incremental backup?

    Hi guys,.

    Have been using my ReadNAS for some time and it is great, just recently tried the application backup on ReadyCloud and the conclusion that it is always indexing or download.

    Just test it with a single file that contains the data of 6 GB. I wish a backup where only files updated the incremental was saved but it seems index of all of the directory and then download the entire dam every time thing!

    Am I missing something here?

    I use Windows Desktop App 10.

    If the ReadyCloud desktop application can't make incremental backups, to suggestions for an alternative?

    Thank you.

    Of course, just used Windows file historical, not good for off site however as a NAS device is in the same office, it is fine for now.

    See you soon

  • Incremental backup on Windows Server 2003

    Hello

    I have full backup in the extension .bkf on Windows Server 2003 and I want an incremental backup, but it does not complete.

    A few errors that appear.

    Please, share your experience as soon as POSSIBLE.

    Thank you

    Hello

    Post your question in the TechNet Server Forums, as your question kindly is beyond the scope of these Forums.

    http://social.technet.Microsoft.com/forums/WindowsServer/en-us/home?category=WindowsServer

    See you soon.

  • Slow windows Server2008 no incremental backup?

    Hi I am trying to get a Windows 2008 R2 server backup to work at an acceptable level.

    Functioning as a virtual guest operating system assigned to 4 cores and 10 GB RAM.

    I want to save my 155 GB of files on a connected USB drive.

    I plan to run a backup, and it takes about 10 hours to complete!

    When the next calendar ran I expected to back up only the files that have changed...

    However, it seems to run a full backup once more as her about 10 hours to complete...

    does not the incremental backups or something?

    I tried to change the performance setting that indicates that it would be only for backup files that have been changed...

    has not made a difference.

    The Task Manager does not display to the test server...

    any ideas?

    Hello

    The question you posted would be better suited to the TechNet community. Please visit the link below to find a community that will provide the support you want.

    http://social.technet.Microsoft.com/forums/en-us/category/WindowsServer

    Hope this information is useful.

  • How to take an incremental backup in windows server 2008R2 64 bit

    Dear helpdesk,

    I am unable to take an incremental backup in windows server 2008r2. Whenever he takes the full backup.

    Help, please.

    Post in the Windows Server Forums:
    http://social.technet.Microsoft.com/forums/en-us/category/WindowsServer/

  • Backup and restore in Windows 7 will not make an incremental backup

    Hello.

    I have about 400 GB of backup files, for most audio (I have a home studio). Backup and restoration continues to do a new backup full instead of an incremental backup. I tried to disable "Windows Media Sharing whatever" and has no effect. I found the registry entry that the so-called forces a backup under certain circumstances, if I understand correctly. I put the value '0' and he still makes no difference - copy Windows files that I know have not changed over the YEARS and to create a new full backup. My current full backup is December 2014 on a 1 TB external hard drive. It is the backup that I added to-probably on a maximum of 20 additional concerts.

    This is important because in 400 concerts, I have neither the time nor the space to do a full backup every time. I searched these forums and around the web and found nothing more disable sharing of Windows Media Services. For now I'm reduced to manually copy the new audio files on a backup drive, which is heavy at least when dealing with the whims of my Audio sequencer for recording methods and organization of files.

    Please let me know how I can make an incremental backup instead of a full backup of my hard drive. Thanks for your help.

    GWR

    IMHO, I wouldn't play with the built-in backup.  It is, at best, kludgy, depends on the OS partition, is inflexible and not easy to use.

    IMHO, I would not trust my data or spend my time on it.

    I'd take a peek at st Acronis True image home 2015.

  • How to set an incremental backup in windows 7 x 64

    My question is simple and clear all of you, I have a windows 7 x 64 Professional Edition installed in my pc. and today I try to define backup an incremental backup in windows 7, but I cannot discover the incremental backup feature he have only one type of backup, but I don't know he is a backup is incremental or a normal backup. I think that windows 7 is not provide 5 types of backup that is providing windows xp or windows 2003 R2. send a link please if any third party software should provide any incremental backup feature.

    Hello

    In Windows 7, there is no option to set the incremental backup. However, when you select files and schedule a backup, it automatically performs an incremental backup in the background.

  • Incremental backup ACS is DISABLED

    Dear team,

    Incremental backup settings changing on OFF state and get the error message below in the ACS logs. Please find the attachment.

    «"" 31 August 2014 04:01:21 com.cisco.nm.acs.view.common.incrbackup.IncrBackupJob.execute(IncrBackupJob.java:166) ERROR DefaultQuartzScheduler_Worker - 5 Acs.MGMT.ACS»»»
    VIEW of incremental backup: exception java.lang.NullPointerException
    at com.cisco.nm.acs.view.common.incrbackup.IncrBackupUtil.sendSystemAlert(IncrBackupUtil.java:1690)
    at com.cisco.nm.acs.view.common.incrbackup.IncrBackupImpl.executeBackup(IncrBackupImpl.java:457)
    at com.cisco.nm.acs.view.common.incrbackup.IncrBackupJob.execute(IncrBackupJob.java:125)
    Sep 01-2014 22:08:21 com.cisco.nm.acs.view.common.incrbackup.XMLExceptionListener.exceptionThrown(XMLExceptionListener.java:44) DefaultQuartzScheduler_ FATAL
    Worker-9 Acs.MGMT.ACSVIEW premature end of file.
    at com.cisco.nm.acs.view.common.incrbackup.IncrBackupUtil.getCatalogFromFile(IncrBackupUtil.java:1447)
    at com.cisco.nm.acs.view.common.incrbackup.IncrBackupImpl.executeBackup(IncrBackupImpl.java:286)
    at com.cisco.nm.acs.view.common.incrbackup.IncrBackupJob.execute(IncrBackupJob.java:125)
    Sep 01-2014 22:08:21 com.cisco.nm.acs.view.common.incrbackup.IncrBackupImpl.executeBackup(IncrBackupImpl.java:446) ERROR Acs DefaultQuartzScheduler_Worker-9.
    MGMT. ACSVIEW backup failed: null
    Sep 01-2014 22:08:21 com.cisco.nm.acs.view.common.incrbackup.IncrBackupJob.execute(IncrBackupJob.java:166) ERROR DefaultQuartzScheduler_Worker - 9 Acs.MGMT.ACS
    VIEW of incremental backup: exception java.lang.NullPointerException
    at com.cisco.nm.acs.view.common.incrbackup.IncrBackupUtil.sendSystemAlert(IncrBackupUtil.java:1690)
    at com.cisco.nm.acs.view.common.incrbackup.IncrBackupImpl.executeBackup(IncrBackupImpl.java:453)
    at com.cisco.nm.acs.view.common.incrbackup.IncrBackupJob.execute(IncrBackupJob.java:125)
    """""

    Hi Robert,.

    Can you please try reconfigure the incremental backup. I think that according to the logic, the incremental backup is forced OFF mode when an error has occurred during one of the previous incremental backups. If you still see the same error after re-set up, I would say you can check this problem with TAC, as it is something related to the data are saved.

    Thank you

  • How incremental backup does know what files are modified.

    I had this question in school. This time Google does not know the answer.

    I hope someone can help.

    Probably tell you incremental backup?

    When a file is saved its file properties are changed.

    If a file is replaced with a new one, the file properties are still once changed

    http://en.Wikipedia.org/wiki/Archive_bit

  • incremental backups that contain archived data

    Every night to do an incremental backup.  At the end of each year, I delete all data that are older 6 years.  Which means my backup preserves data that is 6 years old.

    It's bad.  I want that the backup contains only what is in the comic book.  Any thoughts on how I can change my script below for me to purge old data?

    RMAN target = / log=/code/logs/rman.log < < EOF

    RUN {}

    allocate channels oem_disk_backup device type of disk.

    GET COPY OF DATABASE WITH TAG "incr_update".

    extra strength 1 cumulative backup copies = 1 to retrieve the copy with the tag "incr_update" database.

    delete noprompt archivelog until force ' sysdate-2';

    }

    Thank you

    Randy

    > COPY OF DATABASE RETRIEVE WITH TAG "incr_update".

    This is a copy of the image of the database that you are updating every day.

    This copy would also reflect (i.e. includes the execution of) DELETE statements.  Therefore, if you issue the DELETE, then pick UP COPY OF DATABASE statements, lines are also deleted from the copy of the database.

    I hope that you back up this copy of the database to tape as well!  If you lose this copy on the disc, you have NO backup of the database.

    You have already been properly informed at level 0 backups of the database, which would be distinct from this COPY of the database.

    Hemant K Collette

  • RMAN incremental backup

    Hi all

    I have a question, I am on RHEL-6 / Oracle 11 GR 2.

    After taking the backup of level 0 (RMAN), if I plan tale level1 backup then how oracle knows that they are the backup piece is considered a level 1 backup.

    I mean, that's how oracle knows that these are the blocks that had to be backeup.

    Kind regards.

    Please refer to the https://docs.oracle.com/cd/B19306_01/backup.102/b14192/bkup004.htm documentation

    Article: 4.4.1 Alogrithm incremental backup

    -Jonathan Rolland

  • Roll forward standby database with the incremental backup, when a data file is deleted in primary education

    Hello

    I'm nologging operations + deleting some files in the primary and you want to roll forward the day before using the incremental backup Yvert.

    I do in particular, as the files are dropped?

    I got to meet ( Doc ID 1531031.1 ) which explains how to roll forward when a data file is added.

    If I follow the same steps, to make the move to restore the data file newly added, will it work in my case?

    Can someone please clarify?

    Thank you

    San

    I was wondering if reocover noredo is performed before restored controlfile, oracle will apply the incremental backup error-free files, and in this case, what would be the status of the data file in the control file.

    Why do you consider to retrieve the day before first and then in the restaurant of the controlfile will lead to problems. Please read my first post on this thread - I had clearly mentioned that you would not face problems if you go with the method of deployment.

    Here is a demo for you with force logging is disabled. For the first time the day before resuming and restored then the controlfile ensures:

    Primary: oraprim

    Standby: orastb

    Tablespace DataFile of MYTS is removed on primary:

    SYS @ oraprim > select force_logging in the database of v$.

    FORCE_LOGGING

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

    NO.

    Currently the tablespace is to have 2 data files.

    SYS @ oraprim > select file_name in dba_data_files where nom_tablespace = 'MYTS;

    FILE_NAME

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

    /U01/app/Oracle/oradata/oraprim/myts01.dbf

    /U01/app/Oracle/oradata/oraprim/myts02.dbf

    In standby mode, the tablespace is to have 2 data files:

    SYS @ orastb > select name from v$ datafile where ts #= 6;

    NAME

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

    /U01/app/Oracle/oradata/orastb/myts01.dbf

    /U01/app/Oracle/oradata/orastb/myts02.dbf

    Postponement of the day before on the primary log shipping

    SYS @ oraprim > alter system set log_archive_dest_state_3 = delay;

    Modified system.

    Dropped 1 MYTS datafile on the primary.

    SYS @ oraprim > alter tablespace myts drop datafile ' / u01/app/oracle/oradata/oraprim/myts02.dbf';

    Tablespace altered.

    Removed some archives to create a space.

    [oracle@ora12c-1 2016_01_05] $ rm - rf * 31 *.

    [oracle@ora12c-1 2016_01_05] $ ls - lrt

    13696 total

    -rw - r - 1 oracle oinstall 10534400 5 January 18:46 o1_mf_1_302_c8qjl3t7_.arc

    -rw - r - 1 oracle oinstall 2714624 5 January 18:47 o1_mf_1_303_c8qjmhpq_.arc

    -rw - r - 1 oracle oinstall 526336 5 January 18:49 o1_mf_1_304_c8qjp7sb_.arc

    -rw - r - 1 oracle oinstall 23552 5 January 18:49 o1_mf_1_305_c8qjpsmh_.arc

    -rw - r - 1 oracle oinstall 53760 5 January 18:50 o1_mf_1_306_c8qjsfqo_.arc

    -rw - r - 1 oracle oinstall 14336 Jan 5 18:51 o1_mf_1_307_c8qjt9rh_.arc

    -rw - r - 1 oracle oinstall 1024 5 January 18:53 o1_mf_1_309_c8qjxt4z_.arc

    -rw - r - 1 oracle oinstall 110592 5 January 18:53 o1_mf_1_308_c8qjxt34_.arc

    [oracle@ora12c-1 2016_01_05] $

    Current main MYTS data files:

    SYS @ oraprim > select file_name in dba_data_files where nom_tablespace = 'MYTS;

    FILE_NAME

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

    /U01/app/Oracle/oradata/oraprim/myts01.dbf

    Current data of MYTS standby files:

    SYS @ orastb > select name from v$ datafile where ts #= 6;

    NAME

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

    /U01/app/Oracle/oradata/orastb/myts01.dbf

    /U01/app/Oracle/oradata/orastb/myts02.dbf

    Gap is created:

    SYS @ orastb > select the process, status, sequence # v$ managed_standby;

    STATUS OF PROCESS SEQUENCE #.

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

    ARCH. CLOSING 319

    ARCH. CLOSING 311

    CONNECTED ARCH 0

    ARCH. CLOSING 310

    MRP0 WAIT_FOR_GAP 312

    RFS IDLE 0

    RFS IDLE 0

    RFS IDLE 0

    RFS IDLE 320

    9 selected lines.

    Backup incremental RMAN is taken elementary school.

    RMAN > incremental backup of the format of database of SNA 2686263 ' / u02/bkp/%d_inc_%U.bak';

    From backup 5 January 16

    using the control file of the target instead of recovery catalog database

    the DISC 2 channel configuration is ignored

    the DISC 3 channel configuration is ignored

    configuration for DISK 4 channel is ignored

    allocated channel: ORA_DISK_1

    channel ORA_DISK_1: SID = 41 type device = DISK

    channel ORA_DISK_1: starting full datafile from backup set

    channel ORA_DISK_1: specifying datafile (s) in the backup set

    Enter a number of file datafile = 00001 name=/u01/app/oracle/oradata/oraprim/system01.dbf

    Enter a number of file datafile = name=/u01/app/oracle/oradata/oraprim/sysaux01.dbf 00003

    Enter a number of file datafile = name=/u01/app/oracle/oradata/oraprim/undotbs01.dbf 00004

    Enter a number of file datafile = name=/u01/app/oracle/oradata/oraprim/users01.dbf 00006

    Enter a number of file datafile = name=/u01/app/oracle/oradata/oraprim/myts01.dbf 00057

    channel ORA_DISK_1: starting total, 1-January 5, 16

    channel ORA_DISK_1: finished piece 1-January 5, 16

    piece handle=/u02/bkp/ORAPRIM_inc_42qqkmaq_1_1.bak tag = TAG20160105T190016 comment = NONE

    channel ORA_DISK_1: complete set of backups, time: 00:00:02

    Backup finished on 5 January 16

    Saved controlfile on primary:

    RMAN > backup current controlfile to Eve format ' / u02/bkp/ctl.ctl';

    Cancel recovery in standby mode:

    SYS @ orastb > alter database recover managed standby database cancel;

    Database altered.

    Recover the day before by using the above backup items

    RMAN > recover database noredo;

    From pick up to 5 January 16

    the DISC 2 channel configuration is ignored

    the DISC 3 channel configuration is ignored

    configuration for DISK 4 channel is ignored

    allocated channel: ORA_DISK_1

    channel ORA_DISK_1: SID = 26 type of device = DISK

    channel ORA_DISK_1: from additional data file from the restore backup set

    channel ORA_DISK_1: specifying datafile (s) to restore from backup set

    destination for the restoration of the data file 00001: /u01/app/oracle/oradata/orastb/system01.dbf

    destination for the restoration of the data file 00003: /u01/app/oracle/oradata/orastb/sysaux01.dbf

    destination for the restoration of the data file 00004: /u01/app/oracle/oradata/orastb/undotbs01.dbf

    destination for the restoration of the data file 00006: /u01/app/oracle/oradata/orastb/users01.dbf

    destination for the restoration of the data file 00057: /u01/app/oracle/oradata/orastb/myts01.dbf

    channel ORA_DISK_1: backup /u02/bkp/ORAPRIM_inc_3uqqkma0_1_1.bak piece reading

    channel ORA_DISK_1: room handle=/u02/bkp/ORAPRIM_inc_3uqqkma0_1_1.bak tag = TAG20160105T190016

    channel ORA_DISK_1: restored the backup part 1

    channel ORA_DISK_1: restore complete, duration: 00:00:01

    Finished recover to 5 January 16

    Restored the controlfile and mounted the day before:

    RMAN > shutdown immediate

    dismounted database

    Instance Oracle to close

    RMAN > startup nomount

    connected to the database target (not started)

    Oracle instance started

    Total System Global Area 939495424 bytes

    Bytes of size 2295080 fixed

    348130008 variable size bytes

    583008256 of database buffers bytes

    Redo buffers 6062080 bytes

    RMAN > restore controlfile eve of ' / u02/ctl.ctl ';

    From 5 January 16 restore

    allocated channel: ORA_DISK_1

    channel ORA_DISK_1: SID = 20 type of device = DISK

    channel ORA_DISK_1: restore the control file

    channel ORA_DISK_1: restore complete, duration: 00:00:01

    output file name=/u01/app/oracle/oradata/orastb/control01.ctl

    output file name=/u01/app/oracle/fast_recovery_area/orastb/control02.ctl

    Finished restore at 5 January 16

    RMAN > change the editing of the database;

    Statement processed

    output channel: ORA_DISK_1

    Now the data file does not exist on the standby mode:

    SYS @ orastb > alter database recover managed standby database disconnect;

    Database altered.

    SYS @ orastb > select the process, status, sequence # v$ managed_standby;

    STATUS OF PROCESS SEQUENCE #.

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

    CONNECTED ARCH 0

    CONNECTED ARCH 0

    CONNECTED ARCH 0

    ARCH. CLOSING 329

    RFS IDLE 0

    RFS IDLE 330

    RFS IDLE 0

    MRP0 APPLYING_LOG 330

    8 selected lines.

    SYS @ orastb > select name from v$ datafile where ts #= 6;

    NAME

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

    /U01/app/Oracle/oradata/orastb/myts01.dbf

    Hope that gives you a clear picture. You can use this to roll forward day before using the SNA roll forward Eve physical database using RMAN incremental backup | Shivananda Rao

    -Jonathan Rolland

  • Can ACS notify by Email when success of incremental backup?

    Hello

    Small question:

    Can Cisco ACS 5.8.1 inform us by e-mail if the full backup or incremental backup has completed successfully (or omitted)?

    I have Setup on Email value and parameters of the alarm system on GBA.

    Thank you

    Kind regards

    Arie

    Hi Arie,

    We'll get emails for backup no successful case and we will have no alarms for the success of conservation. We can see the backup status of the Scheduler page. Please see the details of the message link below.

    http://www.Cisco.com/c/en/us/TD/docs/net_mgmt/cisco_secure_access_contro...

    We will have the same alarms for the email too.

    Thank you

    Catherine

    Please evaluate the useful messages and mark the correct answers.

  • DataGuard: MRP still in WAIT_FOR_GAP after incremental backup recover

    Hello

    I'm new to the dataguard configuration, and recently, I connected on a dataguard configuration to test the object.

    I have deleted stupidely some archive my primary database logs, thereby breaking the standby update (due to the fact that the database has not been started for a long time, the gap is now about 130 days ).

    I have to try to recover the situation re-synchronized the RCS of the day before using an incremental backup (and create eve of primary control files).

    After restoration, the SNA were the same, but restarting the recovery service (MRP), it is still indicating WAIT_FOR_GAP and still waiting for my missing archive logs.

    New archive logs is well shipped to the waiting however.

    No idea what I missed or what should I do?

    The database version is a 12.1.0.1.

    DGMGRL > see Configuring

    Configuration - g12dggo

    Protection mode: MaxPerformance

    Databases:

    g12dggop - primary database

    Error: ORA-16724: could not resolve the deficit for one or more databases in waiting

    g12dggos - physical of the standby database

    Fast-Start Failover: DISABLED

    The configuration status:

    ERROR

    DGMGRL > validate database g12dggop

    Database role: primary database

    Ready for the digital switchover: Yes

    Flashback Database Status:

    g12dggop: Off

    DGMGRL > validate database g12dggos

    Role of data: physical database ensures

    Primary data: g12dggop

    Ready for the digital switchover: No.

    Ready for failover: Yes (main stream)

    Flashback Database Status:

    g12dggop: Off

    g12dggos: Off

    Apply information in standby mode:

    Apply a State: running

    Apply the Lag: 143 days 14 hours 18 minutes 26 seconds

    Apply the delay: 0 minutes

    Database backup:

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

    STATUS OF PROCESS SEQUENCE #.

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

    ARCH CONNECTED 0

    ARCH CONNECTED 0

    RFS 0 IDLE

    MRP0 1965 WAIT_FOR_GAP

    RFS 3526 IDLE

    More small sequence of table v$ archived_log is corresponding to the last recovery made.

    SQL > select sequence #, applied to the order of v$ archived_log by sequence #.

    SEQUENCE # APPLIED

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

    3441 NO.

    SQL > select * from v$ archived_log where sequence #= 3441; Select * from v$ archived_log where sequence #= 3441;

    RECID STAMP

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

    NAME

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

    DEST_ID THREAD # SEQUENCE # RESETLOGS_CHANGE # RESETLOGS_TIME RESETLOGS_ID FIRST_CHANGE # FIRST_TIME NEXT_CHANGE # NEXT_TIME BLOCKS BLOCK_SIZE CREATOR

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

    REGISTR STA ARC APPLIED S DEL COMPLETION_TIME DIC DIC END BACKUP_COUNT ARCHIVAL_THREAD # ACTIVATION # IS_ COM FAL END_OF_RED BIN CON_ID

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

    1 880046905

    /oravar/G12DGGO/Archiv/1_3441_865786197.dbf

    2 1 1 08/12/3441 2014 16:09:57 865786197 7004011 18/05/2015 17:21:17 7005043 18/05/2015 17:29:22 509 512 ARCH

    RFS NO NO YES NO A 17:28:25 05/18/2015 NO NO NO 0 1 2523036437 NO NO NO YES 0

    Thank you in advance for your help!

    Problem solved.

    In Oracle 12 c, roll forward is more to do "by hand".

    There are a few commands to RMAN done automatically, by using the primary database service (G12DGGOP_DG for me).

    So back up mode:

    RESTORE DATABASE SERVICE G12DGGOP_DG WITH THE HELP OF NOREDO COMPRESSED BACKUPSET SECTION SIZE 100M;

    Then after restore controlfile in nomount (stop):

    RESTORE CONTROLFILE EVE OF SERVICE G12DGGOP_DG;

    The information comes from here:

    http://allthingsoracle.com/rolling-forward-a-physical-standby-database-using-the-recover-command/

    Reference on Oracle documentation:

    https://docs.Oracle.com/database/121/BRADV/rcmadvre.htm#BRADV685

    Thank you all for the answers and the help on this!

    Ray Zin

  • 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

Maybe you are looking for