Backup incremental level 0  cumulative database

On RMAN Level 0 backup when I say cumulative like below what the difference that command make;
backup filesperset 1 format '<%d_%s:%t:%p:%f>.df' incremental level 0 cumulative database;Edited by: Sivaprasad S on Sep 1, 2012 12:42 AM
Edited by: Sivaprasad S on Sep 1, 2012 12:44 AM

In a cumulative level 1 backup, RMAN backs up all blocks used since the most recent level 0 incremental backup in either the current or parent incarnation. Cumulative incremental backups reduce the work needed for a restore by ensuring that you only need one incremental backup from any particular level. Cumulative backups require more space and time than differential backups because they duplicate the work done by previous backups at the same level.

Similar Messages

  • Difference between backup incremental level 0 Vs incremental level 1?

    I am getting confuse. I have 2 commands:
    -- Weekly full backup --
    backup incremental level 0 database plus archivelog delete all input;
    -- Daily backup --
    backup incremental level 1 cumulative database plus archvielog delete all inputs;
    What is the different if I put "level 1" in the weekly full backup and "level 0" in daily backup?
    FAN

    Its not much tricky read the doc
    http://download.oracle.com/docs/cd/B19306_01/backup.102/b14191/rcmconc1005.htm#sthref242What you are not getting everything is written there.
    Khurram

  • Incremental Level n and Incremental Level n Cumulative

    Hello,
    Working on Oracle 10.2.0.3.0 on AIX 5.2. Taking backup through scripts using recovery catalog.
    (Incremental level 0 cumulative)
    RMAN> run {execute script cuml_level_0; }
    executing script: cuml_level_0
    Starting backup at 18-DEC-07
    current log archived
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=146 devtype=DISK
    channel ORA_DISK_1: starting archive log backupset
    channel ORA_DISK_1: specifying archive log(s) in backup set
    input archive log thread=1 sequence=14 recid=13 stamp=641645002
    channel ORA_DISK_1: starting piece 1 at 18-DEC-07
    channel ORA_DISK_1: finished piece 1 at 18-DEC-07
    piece handle=/dbbkup/06j3teel_1_1 tag=TAG20071218T104332 comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:16
    Finished backup at 18-DEC-07
    Starting backup at 18-DEC-07
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting incremental level 0 datafile backupset
    channel ORA_DISK_1: specifying datafile(s) in backupset
    input datafile fno=00001 name=/dbprod5/BACKUPTEST/BACKUPTEST/system01.dbf
    input datafile fno=00003 name=/dbprod5/BACKUPTEST/BACKUPTEST/sysaux01.dbf
    input datafile fno=00005 name=/dbprod5/BACKUPTEST/BACKUPTEST/example01.dbf
    input datafile fno=00002 name=/dbprod5/BACKUPTEST/BACKUPTEST/undotbs01.dbf
    input datafile fno=00004 name=/dbprod5/BACKUPTEST/BACKUPTEST/users01.dbf
    channel ORA_DISK_1: starting piece 1 at 18-DEC-07
    channel ORA_DISK_1: finished piece 1 at 18-DEC-07
    piece handle=/flash_recovery/BACKUPTEST/backupset/2007_12_18/o1_mf_nnnd0_TAG200712
    18T104351_3pgqjy4b_.bkp tag=TAG20071218T104351 comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:02:07
    Finished backup at 18-DEC-07
    Starting backup at 18-DEC-07
    current log archived
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting archive log backupset
    channel ORA_DISK_1: specifying archive log(s) in backup set
    input archive log thread=1 sequence=15 recid=14 stamp=641645163
    channel ORA_DISK_1: starting piece 1 at 18-DEC-07
    channel ORA_DISK_1: finished piece 1 at 18-DEC-07
    piece handle=/dbbkup/08j3tejt_1_1 tag=TAG20071218T104620 comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:02
    Finished backup at 18-DEC-07
    Starting Control File and SPFILE Autobackup at 18-DEC-07
    piece handle=/flash_recovery/BACKUPTEST/autobackup/2007_12_18/o1_mf_s_641645187_3p
    gqoo2m_.bkp comment=NONE
    Finished Control File and SPFILE Autobackup at 18-DEC-07(Incremental level 0 backup)
    RMAN> run {execute script incr_level_0;}
    executing script: incr_level_0
    Starting backup at 18-DEC-07
    current log archived
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting archive log backupset
    channel ORA_DISK_1: specifying archive log(s) in backup set
    input archive log thread=1 sequence=14 recid=13 stamp=641645002
    input archive log thread=1 sequence=15 recid=14 stamp=641645163
    input archive log thread=1 sequence=16 recid=15 stamp=641645676
    channel ORA_DISK_1: starting piece 1 at 18-DEC-07
    channel ORA_DISK_1: finished piece 1 at 18-DEC-07
    piece handle=/dbbkup/0aj3tf3h_1_1 tag=TAG20071218T105440 comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:08
    Finished backup at 18-DEC-07
    Starting backup at 18-DEC-07
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting incremental level 0 datafile backupset
    channel ORA_DISK_1: specifying datafile(s) in backupset
    input datafile fno=00001 name=/dbprod5/BACKUPTEST/BACKUPTEST/system01.dbf
    input datafile fno=00003 name=/dbprod5/BACKUPTEST/BACKUPTEST/sysaux01.dbf
    input datafile fno=00005 name=/dbprod5/BACKUPTEST/BACKUPTEST/example01.dbf
    input datafile fno=00002 name=/dbprod5/BACKUPTEST/BACKUPTEST/undotbs01.dbf
    input datafile fno=00004 name=/dbprod5/BACKUPTEST/BACKUPTEST/users01.dbf
    channel ORA_DISK_1: starting piece 1 at 18-DEC-07
    channel ORA_DISK_1: finished piece 1 at 18-DEC-07
    piece handle=/flash_recovery/BACKUPTEST/backupset/2007_12_18/o1_mf_nnnd0_TAG200712
    18T105449_3pgr5d2l_.bkp tag=TAG20071218T105449 comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:01:58
    Finished backup at 18-DEC-07
    Starting backup at 18-DEC-07
    current log archived
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting archive log backupset
    channel ORA_DISK_1: specifying archive log(s) in backup set
    input archive log thread=1 sequence=17 recid=16 stamp=641645812
    channel ORA_DISK_1: starting piece 1 at 18-DEC-07
    channel ORA_DISK_1: finished piece 1 at 18-DEC-07
    piece handle=/dbbkup/0cj3tf7r_1_1 tag=TAG20071218T105659 comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:02
    Finished backup at 18-DEC-07
    Starting Control File and SPFILE Autobackup at 18-DEC-07
    piece handle=/flash_recovery/BACKUPTEST/autobackup/2007_12_18/o1_mf_s_641645826_3p
    gr9m7x_.bkp comment=NONE
    Finished Control File and SPFILE Autobackup at 18-DEC-07There are certain differences. Any comments.
    Thank you,
    Adith

    I think you are taking backup with backup plus archive log,archive log backup does the
    following steps chronologically
    1. Runs the ALTER SYSTEM ARCHIVE LOG CURRENT command.
    2. Runs BACKUP ARCHIVELOG ALL. Note that if backup  
       optimization is enabled, then RMAN skips logs that it
       has already backed up to the specified device.
    3. Backs up the rest of the files specified in BACKUP
       command.
    4. Runs the ALTER SYSTEM ARCHIVE LOG CURRENT command again
       cuase right now it will  Backs up any remaining
       archived logsgenerated during the backup.
    SQL> archive log list
    Database log mode              Archive Mode
    Automatic archival             Enabled
    Archive destination            USE_DB_RECOVERY_FILE_DEST
    Oldest online log sequence     83
    Next log sequence to archive   85
    Current log sequence           85
    You can see next log sequence to be archived is 85
    RMAN> backup database plus archivelog
    2> ;
    Starting backup at 26-DEC-07
    current log archived
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting archive log backupset
    channel ORA_DISK_1: specifying archive log(s) in backup set
    input archive log thread=1 sequence=85 recid=89 stamp=642354039
    channel ORA_DISK_1: starting piece 1 at 26-DEC-07
    channel ORA_DISK_1: finished piece 1 at 26-DEC-07
    piece handle=C:\ORACLE\FLASH_RECOVERY_AREA\ORCL1\ORCL1\BACKUPSET\2007_12_26\O1_M
    F_ANNNN_TAG20071226T154039_3Q4CX955_.BKP comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:04
    Finished backup at 26-DEC-07
    Starting backup at 26-DEC-07
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting full datafile backupset
    channel ORA_DISK_1: specifying datafile(s) in backupset
    input datafile fno=00001 name=C:\ORACLE10G\ORACLE\ORADATA\ORCL1\ORCL1\SYSTEM01.DBF
    input datafile fno=00003 name=C:\ORACLE10G\ORACLE\ORADATA\ORCL1\ORCL1\SYSAUX01.DBF
    input datafile fno=00002 name=C:\ORACLE10G\ORACLE\ORADATA\ORCL1\ORCL1\UNDOTBS01.DBF
    input datafile fno=00004 name=C:\ORACLE10G\ORACLE\ORADATA\ORCL1\ORCL1\USERS01.DBF
    channel ORA_DISK_1: starting piece 1 at 26-DEC-07
    channel ORA_DISK_1: finished piece 1 at 26-DEC-07
    piece handle=C:\ORACLE\FLASH_RECOVERY_AREA\ORCL1\ORCL1\BACKUPSET\2007_12_26\O1_MF_NNNDF_TAG20071226T154044_3Q4CXG9X_.BKP comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:58
    channel ORA_DISK_1: starting full datafile backupset
    channel ORA_DISK_1: specifying datafile(s) in backupset
    including current controlfile in backupset
    including current SPFILE in backupset
    channel ORA_DISK_1: starting piece 1 at 26-DEC-07
    channel ORA_DISK_1: finished piece 1 at 26-DEC-07
    piece handle=C:\ORACLE\FLASH_RECOVERY_AREA\ORCL1\ORCL1\BACKUPSET\2007_12_26\O1_MF_NCSNF_TAG20071226T154044_3Q4CZ8GR_.BKP comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:03
    Finished backup at 26-DEC-07
    Starting backup at 26-DEC-07
    current log archived
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting archive log backupset
    channel ORA_DISK_1: specifying archive log(s) in backup set
    input archive log thread=1 sequence=86 recid=90 stamp=642354108
    channel ORA_DISK_1: starting piece 1 at 26-DEC-07
    channel ORA_DISK_1: finished piece 1 at 26-DEC-07
    piece handle=C:\ORACLE\FLASH_RECOVERY_AREA\ORCL1\ORCL1\BACKUPSET\2007_12_26\O1_MF_ANNNN_TAG20071226T154148_3Q4CZFVO_.BKP comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:02
    Finished backup at 26-DEC-07
    SQL> archive log list
    Database log mode              Archive Mode
    Automatic archival             Enabled
    Archive destination            USE_DB_RECOVERY_FILE_DEST
    Oldest online log sequence     85
    Next log sequence to archive   87
    Current log sequence           87
    RMAN> backup database plus archivelog
    2> ;
    Starting backup at 26-DEC-07
    current log archived
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting archive log backupset
    channel ORA_DISK_1: specifying archive log(s) in backup set
    input archive log thread=1 sequence=85 recid=89 stamp=642354039
    input archive log thread=1 sequence=86 recid=90 stamp=642354108
    input archive log thread=1 sequence=87 recid=91 stamp=642354774
    channel ORA_DISK_1: starting piece 1 at 26-DEC-07
    channel ORA_DISK_1: finished piece 1 at 26-DEC-07
    piece handle=C:\ORACLE\FLASH_RECOVERY_AREA\ORCL1\ORCL1\BACKUPSET\2007_12_26\O1_M
    F_ANNNN_TAG20071226T155255_3Q4DNBSM_.BKP comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:04
    Finished backup at 26-DEC-07
    Starting backup at 26-DEC-07
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting full datafile backupset
    channel ORA_DISK_1: specifying datafile(s) in backupset
    input datafile fno=00001 name=C:\ORACLE10G\ORACLE\ORADATA\ORCL1\ORCL1\SYSTEM01.DBF
    input datafile fno=00003 name=C:\ORACLE10G\ORACLE\ORADATA\ORCL1\ORCL1\SYSAUX01.DBF
    input datafile fno=00002 name=C:\ORACLE10G\ORACLE\ORADATA\ORCL1\ORCL1\UNDOTBS01.DBF
    input datafile fno=00004 name=C:\ORACLE10G\ORACLE\ORADATA\ORCL1\ORCL1\USERS01.DBF
    channel ORA_DISK_1: starting piece 1 at 26-DEC-07
    channel ORA_DISK_1: finished piece 1 at 26-DEC-07
    piece handle=C:\ORACLE\FLASH_RECOVERY_AREA\ORCL1\ORCL1\BACKUPSET\2007_12_26\O1_M
    F_NNNDF_TAG20071226T155302_3Q4DNJ28_.BKP comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:45
    channel ORA_DISK_1: starting full datafile backupset
    channel ORA_DISK_1: specifying datafile(s) in backupset
    including current controlfile in backupset
    including current SPFILE in backupset
    channel ORA_DISK_1: starting piece 1 at 26-DEC-07
    channel ORA_DISK_1: finished piece 1 at 26-DEC-07
    piece handle=C:\ORACLE\FLASH_RECOVERY_AREA\ORCL1\ORCL1\BACKUPSET\2007_12_26\O1_M
    F_NCSNF_TAG20071226T155302_3Q4DOYL6_.BKP comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:03
    Finished backup at 26-DEC-07
    Starting backup at 26-DEC-07
    current log archived
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting archive log backupset
    channel ORA_DISK_1: specifying archive log(s) in backup set
    input archive log thread=1 sequence=88 recid=92 stamp=642354835
    channel ORA_DISK_1: starting piece 1 at 26-DEC-07
    channel ORA_DISK_1: finished piece 1 at 26-DEC-07
    piece handle=C:\ORACLE\FLASH_RECOVERY_AREA\ORCL1\ORCL1\BACKUPSET\2007_12_26\O1_M
    F_ANNNN_TAG20071226T155355_3Q4DP4SQ_.BKP comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:02
    Finished backup at 26-DEC-07
    RMAN>
    RMAN> show backup optimization
    2> ;
    RMAN configuration parameters are:
    CONFIGURE BACKUP OPTIMIZATION OFF; # default
    RMAN> configure backup optimization on
    2> ;
    new RMAN configuration parameters:
    CONFIGURE BACKUP OPTIMIZATION ON;
    new RMAN configuration parameters are successfully stored
    SQL> archive log list
    Database log mode              Archive Mode
    Automatic archival             Enabled
    Archive destination            USE_DB_RECOVERY_FILE_DEST
    Oldest online log sequence     87
    Next log sequence to archive   89
    Current log sequence           89
    RMAN> backup database plus archivelog
    2> ;
    Starting backup at 26-DEC-07
    current log archived
    using channel ORA_DISK_1
    skipping archive log file C:\ORACLE\FLASH_RECOVERY_AREA\ORCL1\ORCL1\ARCHIVELOG\2007_12_26\O1_MF_1_85_3Q4CX5XS_.ARC; already backed up 2 time(s)
    skipping archive log file C:\ORACLE\FLASH_RECOVERY_AREA\ORCL1\ORCL1\ARCHIVELOG\2007_12_26\O1_MF_1_86_3Q4CZCZ1_.ARC; already backed up 2 time(s)
    skipping archive log file C:\ORACLE\FLASH_RECOVERY_AREA\ORCL1\ORCL1\ARCHIVELOG\2007_12_26\O1_MF_1_87_3Q4DN5MZ_.ARC; already backed up 1 time(s)
    skipping archive log file C:\ORACLE\FLASH_RECOVERY_AREA\ORCL1\ORCL1\ARCHIVELOG\2007_12_26\O1_MF_1_88_3Q4DP351_.ARC; already backed up 1 time(s)
    channel ORA_DISK_1: starting archive log backupset
    channel ORA_DISK_1: specifying archive log(s) in backup set
    input archive log thread=1 sequence=89 recid=93 stamp=642355243
    channel ORA_DISK_1: starting piece 1 at 26-DEC-07
    channel ORA_DISK_1: finished piece 1 at 26-DEC-07
    piece handle=C:\ORACLE\FLASH_RECOVERY_AREA\ORCL1\ORCL1\BACKUPSET\2007_12_26\O1_MF_ANNNN_TAG20071226T160049_3Q4F3GYM_.BKP comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:09
    Finished backup at 26-DEC-07
    Starting backup at 26-DEC-07
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting full datafile backupset
    channel ORA_DISK_1: specifying datafile(s) in backupset
    input datafile fno=00001 name=C:\ORACLE10G\ORACLE\ORADATA\ORCL1\ORCL1\SYSTEM01.DBF
    input datafile fno=00003 name=C:\ORACLE10G\ORACLE\ORADATA\ORCL1\ORCL1\SYSAUX01.DBF
    input datafile fno=00002 name=C:\ORACLE10G\ORACLE\ORADATA\ORCL1\ORCL1\UNDOTBS01.DBF
    input datafile fno=00004 name=C:\ORACLE10G\ORACLE\ORADATA\ORCL1\ORCL1\USERS01.DBF
    channel ORA_DISK_1: starting piece 1 at 26-DEC-07
    channel ORA_DISK_1: finished piece 1 at 26-DEC-07
    piece handle=C:\ORACLE\FLASH_RECOVERY_AREA\ORCL1\ORCL1\BACKUPSET\2007_12_26\O1_MF_NNNDF_TAG20071226T160111_3Q4F3ZXF_.BKP comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:01:16
    channel ORA_DISK_1: starting full datafile backupset
    channel ORA_DISK_1: specifying datafile(s) in backupset
    including current controlfile in backupset
    including current SPFILE in backupset
    channel ORA_DISK_1: starting piece 1 at 26-DEC-07
    channel ORA_DISK_1: finished piece 1 at 26-DEC-07
    piece handle=C:\ORACLE\FLASH_RECOVERY_AREA\ORCL1\ORCL1\BACKUPSET\2007_12_26\O1_MF_NCSNF_TAG20071226T160111_3Q4F69NO_.BKP comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:06
    Finished backup at 26-DEC-07
    Starting backup at 26-DEC-07
    current log archived
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting archive log backupset
    channel ORA_DISK_1: specifying archive log(s) in backup set
    input archive log thread=1 sequence=90 recid=94 stamp=642355360
    channel ORA_DISK_1: starting piece 1 at 26-DEC-07
    channel ORA_DISK_1: finished piece 1 at 26-DEC-07
    piece handle=C:\ORACLE\FLASH_RECOVERY_AREA\ORCL1\ORCL1\BACKUPSET\2007_12_26\O1_MF_ANNNN_TAG20071226T160240_3Q4F6L09_.BKP comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:03
    Finished backup at 26-DEC-07
    RMAN>Khurram

  • RMAN Backup Incremental levels

    hi experts,
    This is a 10g database running in archivelog mode.
    This is the backup scheme I'm currently using:
    backup database plus archivelog; (runs once per day)
    backup incremental level 1 database; this runs every 3 hours
    All the incrementals I make are level 1.
    ** Would I be able to restore, if I have no Level 0 incremental? **
    Thanks, John

    user629010 wrote:
    Thanks for the replies.
    So I should make a level 0 backup immediately after the whole backup (backup database;) is that correct?
    No its not correct as level 0 is actually the whole backup only. This is the point which includes everything and from hereonly, you start your next batch of incremental backups. You can throw away the last backups done if you have taken a level 0 backup as it covers everything and is a complete backup.
    HTH
    Aman....

  • Backup incremental level 1 for recover of copy datafile (BLOCKING?)

    Hi,
    I recently added a datafile copy backup to the backup strategy. This is an extra backup to supplement compressed backupsets.
    The datafile copy incremental was set to run at 5 am. I noticed that a process that was set to run at the same time as the backup stalled. It normally takes a few minutes to run but it took over an hour. Enterprise Manager did not report any blocked sessions over this hour (EM is configured to do so). No notable CPU spike either during this time. this morning I have moved the datafile copy backup to
    a different time so as to avoid the 5 am job and sure enough that job completed in 6 minutes.
    Does backup incremental for recover block in some way?
    Thanks!

    The other job loads data via sql loader and PL/SQL
    Actually, no blocking was detected. I could not check the waits since the job was done by the time I was aware that there was a problem. Rescheduling the backup seems to have avoided the problem. It happened twice though. I am unaware that a backup might cause this behavior. I suspect that the "for recover" might be the source of the updates being suspended. I would not expect that though since the backup copy is being recovered (not the actual datafile)

  • After "backup incremental level 0 database", where is the backup files?

    I am using the windows XP and oracle 9.2
    Is the backup file in the directory home/dbs?

    The default location is %ORALCE_HOME%\databases as mentioned before.
    BUT you should specify the location in the backup script :
    RMAN> configure channel 1 device type disk format 'C:\DIR\std_%U'';
    look in [http://www.dbsnaps.com/articles/ora_rman_script/] for proper RMAN backup script.
    Oded
    [www.dbsnaps.com]
    [www.orbiumsoftware.com]

  • Backup RMAN Incremental Level 1 without Level 0 - 10gR2

    Hi,
    I'm a bit confused after some tests.
    The Question: It's mandatory to perform backup incremental level 0 before the level 1 using Oracle 10gR2 ?
    On Oracle 11.2 it's mandatory but on Oracle 10.2.0.5 I don't know.
    Test on 11.2. If doesn't exists level 0 rman take care about it and perform automaticaly 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 those blocks that change between backups in each datafile.
    In a typical incremental backup strategy, a level 0 incremental backup is used as a starting point. A level 0 backup captures all blocks in the datafile.
    So, on Oracle 10.2.0.5 this not happen like on 11.2:
    Perfoming backup level 1 without level 0:
    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 downDelete all files on ASM (except SPFILE).
    ASMCMD> cd +DG_ORCL/DB10g
    ASMCMD> ls
    PARAMETERFILE/
    spfiledb10g.oraSo, let's perfom restore of database
    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 I don't need level 0 backup to restore level 1.
    Thanks,
    Levi Pereira

    Hi Gokhan,
    Thank you for point this.
    After spending a time studying about this I find out this:
    Your expanation apply only in Oracle 10gR1/R2.
    Because there is differences between RMAN Version 10gR1/R2 and 11gR1/R2 about Incremental Level 1 and this confuse me.
    Oracle 10gR1/R2 run only one backup incremental level 1 even if level 0 not exists .
    Oracle 11gR1/R2 run two backups incremental if level 0 not exists. i.e level 0 first and after that level 1.
    Oracle 10gR2
    If no level 0 backup is available, then the behavior depends upon the compatibility mode setting. If compatibility is >=10.0.0, RMAN copies all blocks changed since the file was created, and stores the results as a level 1 backup. In other words, the SCN at the time the incremental backup is taken is the file creation SCN.
    http://download.oracle.com/docs/cd/B19306_01/backup.102/b14192/bkup004.htm
    Thats means wich RMAN run level 0 with name level 1. (i.e: Only one Backup) This is confuse.
    Oracle 11gR1
    If no level 0 backup is available in either the current or parent incarnation, then the behavior varies with the compatibility mode setting. If compatibility is >=10.0.0, RMAN copies all blocks that have been changed since the file was created. Otherwise, RMAN behaves as it did in previous releases, by generating a level 0 backup.
    http://download.oracle.com/docs/cd/B28359_01/backup.111/b28270/rcmcncpt.htm#BRADV89500
    Oracle 11gR2
    If no level 0 backup is available in either the current or parent incarnation, then the behavior varies with the compatibility mode setting. If compatibility is >=10.0.0, RMAN copies all blocks that have been changed since the file was created. Otherwise, RMAN generates a level 0 backup.
    http://download.oracle.com/docs/cd/E11882_01/backup.112/e10642/rcmcncpt.htm#BRADV89500
    Thats means wich RMAN run (automatically) level 0 first after finish level 0 backup RMAN run level 1 backup (i.e Two Backups). This seems right.
    Regards,
    Levi Pereira

  • Block Media Recovery and RMAN Incremental Level 1 backup

    Hi
    I have read somewhere that Block Media Recovery will not work if a database is backed up using rman incremental 1. Is this true, and if so is there a work around?
    I cannot seem to find this in oralce's documentation.
    Regards
    Me

    Hi,
    1) is Full Backup = Incremental level 0 backup?
    Yes
    2) When oralce say BMR does not work with incremental, will it work in the case I put forward. becuase Im doing an incremental 0...
    But does you have the Archive logs available.. ?? If yes then it will Support.
    3) Im my case will BMR work...that is use Incr level 0 on Sunday and then use archive logs for mon, tues etc
    Yes, I believe.
    @Hemanth .. am I right.. ?? Wait for your inputs...
    - Pavan Kumar N

  • BACKUP INCREMENTAL 1 FROM SCN 2083442766 database tag 'FORSTANDBY';

    Hi all,
    While taking a incremntal backup for stadnby at primary DB, rman got failed
    RMAN> BACKUP INCREMENTAL 1 FROM SCN 2083442766 database tag 'FORSTANDBY';
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00558: error encountered while parsing input commands
    RMAN-01005: syntax error: found "integer": expecting one of: "level"
    RMAN-01007: at line 1 column 20 file: standard inputDB-oracle 9.2.0.8

    user13389425 wrote:
    Hi all,
    While taking a incremntal backup for stadnby at primary DB, rman got failed
    RMAN> BACKUP INCREMENTAL 1 FROM SCN 2083442766 database tag 'FORSTANDBY';
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00558: error encountered while parsing input commands
    RMAN-01005: syntax error: found "integer": expecting one of: "level"
    RMAN-01007: at line 1 column 20 file: standard inputDB-oracle 9.2.0.8First this command need write as below
    BACKUP INCREMENTAL level 1 FROM SCN 2083442766 database tag 'FORSTANDBY';But i am not sure this work or not in 9.2.0.8.

  • Why keep Level 1 backups after Recover Copy of Database

    I implemented the daily recover copy of database
    BACKUP INCREMENTAL LEVEL 1 FOR RECOVER OF COPY
    strategy.
    I have a 30 day retention window and other compressed un-recovered backupsets running weekly
    What I'm noticing is the level 1 backups, after they are used to recover forward my level 0 backup remain. How can I ever use them after I've rolled forward my level 0 image copies?
    Is there any reason to keep them? Can they be used to recover a datafile from a separate compressed backupset?

    These useless level 1 backups are kept due to your wrong way to define a retention policy for more than 1 day for incrementally updated backups.
    Statement from documentation:
    If you run RECOVER COPY daily without specifying an UNTIL TIME, then a continuously updated image copy cannot satisfy a recovery window of more than a day. The incrementally updated backup feature is an optimization for fast media recovery.
    See the documentation how to define correctly the retention policy (advanced example):
    http://download.oracle.com/docs/cd/E11882_01/backup.112/e10642/rcmbckba.htm#CHDEHBFF
    Werner

  • Rman incremental level 1 merge with level 0

    from my reading of the rman backup document, it seems the merger incremental level 1to level 0 for recover only apply to merge with image copy, not the backupset. Is that true? However, such backup scheme will create a huge backup image copy, almost fill up my assigned backup depository directory. Is the following script works as merging with level 0 ?
    {backup as compressed backupset incremental level 1 for recover of tag 'bk$LEVEL0' database;}
    It run without error and created a very small incr file size, but not sure it has the same meaning of "for recover of copy" as in other document.

    If that is true, why we need to create an incremental level 0 backupset as the base for recover? I have one compressed backupset level 0 at beginning, then incremental level 1 for recover. with the "recover of copy with tag", it seems to create a redundant full backup. Also Iam confused, The "recover of copy with tag" is actually an image copy of the full backupset or the image copy of the original database.
    My script as for full backup at beginning
    { backup as compressed backupset incremental level 0 cumulative device type disk tag 'Baanbk$LEVEL0' database; }
    then incremental
    { backup as compressed backupset incremental level 1 for recover of  tag 'Baanbk$LEVEL0' database; }
    Should I modify the full backupset script?

  • Restore DB from Incremental Level 0 and Level 1 Differential

    Due to aging servers, I need to move a database to a new server; therefore, I'm looking to backup source db using rman level 0 and restore it as target db on another host. While the target db is restoring from the level 0, I want to run a differential of souce db and apply it to target db once the level 0 is complete. Is this possible? I searched through rman documentation and it appears that it is not possible. I see that you can do a restore but the restore is based on the date/time of the differential, which gets the level 0. Could I run 2 restore database commands before running the recover database and alter database open resetlogs commands? The first restore database command would restore the database from the level 0 backup and the 2nd restore database command would restore from the differential backup. Any help is appreciated.
    TIA

    I have run into a Problem with my setup:
    The steps that i used to do to maintain the "standby" server are as follows:
    take a level 0 backup(backup incremental level 0 database) on sunday and recover on standby server
    take a level 1 backup(backup incremental level 1 database) on monday and recover on standby server
    take a level 2 backup(backup incremental level 2 database) on tuesday and recover on standby server
    take a level 3 backup(backup incremental level 3 database) on wednesday and recover on standby server
    take a level 4 backup(backup incremental level 4 database) on thursday and recover on standby server
    but when i was trying to take a level 5 , i realised that 5 is the limit of taking incremental backups
    does that mean i have to take level 0 ,again,on friday and carry in the above fashion
    also,
    sometimes after recovery,my system files
    Oracle Error:
    ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
    ORA-01152: file 1 was not restored from a sufficiently old backup
    ORA-01110: data file 1: 'F:\ORACLE\MPWR01\MPWR01\SYSTEM01.DBF'
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of recover command at 07/22/2011 15:32:02
    RMAN-06053: unable to perform media recovery because of missing log
    RMAN-06025: no backup of log thread 1 seq 176293 lowscn 6782347405 found to rest
    ore
    RMAN-06025: no backup of log thread 1 seq 176292 lowscn 6782295731 found to rest
    ore
    RMAN-06025: no backup of log thread 1 seq 176291 lowscn 6782139901 found to rest
    ore
    RMAN-06025: no backup of log thread 1 seq 176290 lowscn 6781998071 found to rest
    ore
    RMAN-06025: no backup of log thread 1 seq 176289 lowscn 6781865569 found to rest
    ore
    RMAN-06025: no backup of log thread 1 seq 176288 lowscn 6781709167 found to rest
    ore
    the archives it asks for are expected,as they are the archives generated post incremental backup,but why does my system datafile go into recovery? i am a bit confused about that?
    it occurred after i applied level 2 on my "standby" server, when i applied level 3 over this ,then it did not occur..
    i would like a discussion on this guys!!

  • Larger backups for cumulative incremental level 1 backups

    I am noticing some strange behaviour for backup of data files in the RMAN cumulative incremental level 1 backup for certain days. I would explain that with an elaboration- the cumulative backup sizes are around 2GB, 19GB, 19GB, 1GB for the dates of 10th Dec, 5th Dec, 3rd Dec and 28th Nov respectively.
    Can there be so much difference between the values of backup size for the RMAN cumulative incremental level 1 backup as they are fluctuating from 19GB->1GB?
    I hope, my question is clear.
    Please revert with the reply to my query.
    Regards

    975148 wrote:
    Thanks for your reply. Level 0 backup happened twice between 5th Dec and 10th Dec. I guess, a block which has changed multiple times would be backed up once with all the changes done in a backup on a particular day. The same changes should get reflected in the subsequent level 0 backup.
    Regards
    Yes, obviously any backup (of any kind, of any product) is only capable of backing up the state of things as they exist at the time of the backup.
    The recoverability of "intermediate" states (say a given block was modified 5 times between backups, the next backup only gets the 5th state of the block) is done by applying redo - archived or online, as is needed.
    So to make an example to replicate what you report
    Day 1 - backup level 0
    - block # 1 modified
    Day 2  - backup level 1 - backs up Block #1 - backup size 8k
    - block # 1 modified
    - block # 2 modified
    - block # 1 modified
    - block # 3 modified
    - block # 1 modified
    - block # 4 modified
    Day 3 - backup level 1 - backs up Blocks 1,2,3,4 - backup size 32k
    - block # 5 modified
    - block # 2 modified
    - block # 7 modified
    - block # 3 modified
    - block # 6 modified
    - block # 4 modified
    Day 4 - backup level 1 - backs up Blocks 1,2,3,4,5,6,7 - backup size 56k
    - block # 5 modified
    Day 4 - backup level 1 - backs up Blocks 1,2,3,4,5,6,7 - backup size 56k
    Day 6 - backup level 0 - all blocks - size ???
    - block # 3 modified
    Day 7 - backup level 1 - backs up block 3 - backup size 8 k

  • What is the right TAG for incremental level 1 backup?

    We have a sunday level 0 backup like this:
    run {
    backup as compressed backupset
    filesperset 1
         incremental level 0 database
         tag='LEVEL_0_BACKUP'
         include current controlfile
         plus archivelog delete input;
    SQL 'alter database backup controlfile to trace';
    And Monday to Saturday incremental level 1 backup as this:
    run {
    backup as compressed backupset
         incremental level 1 database
         tag='LEVEL_1_BACKUP'
         include current controlfile
         plus archivelog delete input;
    SQL 'alter database backup controlfile to trace';
    Those scripts existed a while ago. I wonder if level 1 tag should be same as level 0 so they can all combined together?
    Please kindly advice.

    849425 wrote:
    Thanks for all your response.
    What I think is with block change tracking enabled, is that the incremental should roll into the level 0 full backup?
    What makes you think that?  Block change tracking simply allows rman to avoid having to scan every block to see if it needs to be backed up.
    I've never heard of an incremental (level 1) "rolling into" a level 0.
    Recovery starts with restoring the files from a level 0.  Followed by restoring individual blocks from the Level 1.  Followed by applying changes from the archived redo.  Followed by (if necessary) applying changes from the online redo.
    As stated earlier, tags are just user-defined labels.  Use them however seems appropriate -- after fully understanding what they are and what they are not. User-specified tags are not even required. I'd be cautious about changing them in an already defined and running system.

  • Incremental level backup

    If I take incremental level 0 backup on Monday, full database image copy backup on Tuesday, incremental level 1 on Wednesday and Incremental level 2 backup on Thursday;
    Can i do complete recovery on Friday by applying incremental level 1 & 2 backup on the image copy backup???

    Atiq wrote:
    If I take incremental level 0 backup on Monday, full database image copy backup on Tuesday, incremental level 1 on Wednesday and Incremental level 2 backup on Thursday;
    Can i do complete recovery on Friday by applying incremental level 1 & 2 backup on the image copy backup???There is no incremental level 2 backup in oracle, only level zero and level one. Or do you mean a second incremental level one?
    Your first incremental level 1 will have all the changes since the incremental level 0. The fact that you took an image copy will not be considered by that backup.
    was your image copy taken when the db was cleanly shut down? Did it include the control files?

Maybe you are looking for

  • Safari wont open (after running system install discs)

    Safari wont open at all - icon bounces once then stops Connecting to the net has been ruled out as a problem All other applications are working Does anyone know how to fix this???

  • SOAP Sender Channel _Error in handling SOAP Envelope message

    Hi XI/PI Experts : Scenario : SOAP (SOAP Envelope) to RFC (SAP ERP) Partners send the information   Goods Receipt  in SOAP envelope webservice  . SOAP Sender removes the SOAP enevlope, inturn sends only the xml  in XI /PI: <GoodsReceipt xmlns="rrn:or

  • Schedule  the file adapter

    Hi experts, I use file adapter to read files in the source directory,and I've setup IR and ID. It works very well. Now I want to let this scenarios run from 12:00 A.M to 8:00 A.M.     What to do for this? Many thanks.

  • Indexed property - editor needed?

    Folks, I have a bean (MyBean) with a indexed property (array of class type ClassX). It has setter and getters (total of 4) according to Java Beans specification. On Netbeans, the indexed property appears on Properties list. But, I can�t add itens to

  • How do I get my apps to my home screen when it's in my setting

    My Facebook app is in my setting but it's not on my home screen... When I go to App Store it says it's already down loaded... How do I get it to my home screen??