RMAN LEVEL BACKUP INCREMENTAL 0 AND 1 OF CUMULATIVE LEVEL

Dear friends

This is Eliza, I need some clarification, your suggestion will help me more...

Currently I am working in RMAN backup and restore, recovery and I need to take the extra SIZE 0 AND LEVEL 1 CUMULATIVE

I know something about what level rman incremental 0 and level 1 cumulative can do is, first I have to take the level 0 and then level 1 respectively.

As follows

SUNDAY: LEVEL 0 CUMULATIVE

MONDAY - SATURDAY: LEVEL 1 CUMULATIVE

SUNDAY: LEVEL 0 CUMULATIVE (repetition of this cycle)

MY QUESTION IS

Can I use after an order to take INCREMENTIELLE LEVEL 1 CUMULATIVE backup of,

CUMULATIVE DATABASE INCREMENTAL LEVEL 1; # has changed since the level 0 blocks

But, if I want to take CUMULATIVE INCREMENTAL level 0 BACKUP, that is me I want to use the following,

INCREMENTAL LEVEL 0 BACKUP CUMULATIVE BASIS;

(GOLD)

DATABASE INCREMENTAL LEVEL 0 BACKUP;

(GOLD)

Suggest me your valuable idea. Thanks in advance.


Hello

I think that this CUMULATIVE or incremental level 0 backup specification makes no sense so INCREMENTAL level 0 BACKUP database; = INCREMENTAL CUMULATIVE 0 DATA LEVEL;

Tags: Database

Similar Questions

  • Block Media Recovery and RMAN backup incremental level 1

    Hello

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

    Concerning
    Me

    Hello

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

    See this doc on part III

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

    concerning

    Jafar

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

  • Backup incremental level 2,3,4 RMAN.

    Hello guys,.

    Can someone let me know what is the meaning / usage of incremental backup of level 2,3,4.

    Kind regards.

    Wikipedia can have an easy to understand the reason for several additional levels:

    A backup of level 1 decision Monday would only include changes made since Sunday. A backup of level 2 decision Tuesday would only include changes made since Monday. A backup of level 3 Wednesday would only include changes made since Tuesday. If a level 2 backup taken Thursday, it would include all changes made since Monday because Monday was the most recent level n - 1 backup.

    https://en.Wikipedia.org/wiki/Incremental_backup

    What is RMAN?

    The Oracle documentation refers only to additional 0 year 1. What I understand, RMAN never supported incremental backups multilevel at 3 levels (0-4). Apparently, people often had trouble understanding the logic for levels 3 and 4. RMAN provides the clause 'cascading', which also existed in 9i and is usually an easier to understand the backup strategy. RMAN also provides or has provided an option to perform incremental backups cumulative at level 1 or higher. For simplicity, the la documentation documentation since 10 g mentions only level 0 only a 1 an other levels is deprecated.

    BACKUP INCREMENTIELLE from LEVEL 1 (differential by default, changes made since the last level 0 or 1)

    BACKUP INCREMENTIELLE LEVEL 1 CUMULATIVE (changes since the last last level 0)

    Below some info from http://docs.oracle.com/cd/E11882_01/backup.112/e10643/obs_comm.htm#RCMRF910

    RMAN version 10.0.1: levels other than 0 and 1 are deprecated.

    If you make an additional workforce 1 backup, incremental or cumulative, and there is no previous level 0, RMAN automatically performs an incremental backup of level 0. BTW, a full backup is identical to a level 0 incremental backup but excluded a strategy of backup incremental level.

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

    Hello

    I'm a bit confused after a few tries.

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

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

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

    So, on Oracle 10.2.0.5 happens not like 11.2:

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

    Thank you
    Levi Pereira

    Levi,

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

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

    Same info is here:

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

    Concerning

    Grosbois

  • Problem with the archive log when you use RMAN for backup and restore (11g 2)

    Hello world
    Please help me solve this problem.
    I'm just beginner in Oracle Database (11 g 2). Today, I had a problem, I tried to back up and restore my db by RMAN. I delete all the files in /u01/app/oracle/oradata/orcl / * , then I restore them easily, but the point is I have a table, I can restore Hungarian, but cannot restore anything ranks in it (something wrong with step restore database). I'll tell the detail below.
    -First, I create a 'Day' with command table create table hr.day (varchar (20)) day. Then I backup complete by this:
    run{
    allocate channel bkp device type DISK FORMAT '/u01/backup/DB_FULL_%d_%T_s%s_p%p' ;
    backup as compressed backupset incremental level 0 tag 'DB_FULL' database include current controlfile;
    backup as compressed backupset tag 'ARCL_BKP_FULL' archivelog all delete input;
    crosscheck archivelog all;
    crosscheck backup;
    delete noprompt obsolete;
    release channel bkp;
    }


    D ' other hand, I have insert 'Monday' to table. then do an incremental backup by this:

    run{
    allocate channel bkp device type DISK FORMAT '/u01/backup/DB_INC_%d_%T_s%s_p%p' ;
    backup as compressed backupset incremental level 1 tag 'DB_INC' database include current controlfile;
    backup as compressed backupset tag 'ARCL_BKP_INC' archivelog all delete input;
    crosscheck archivelog all;
    crosscheck backup;
    delete noprompt obsolete;
    release channel bkp;
    }

    Repeat 7 times (Monday-> Saturday). And I got these files:

    [oracle@rac ~]$ ls -l /u01/backup/
    total 400280
    -rw-r----- 1 oracle oinstall  10158080 Jan 20 07:23 c-1428943247-20160120-01
    -rw-r----- 1 oracle oinstall  10158080 Jan 20 08:04 c-1428943247-20160120-02
    -rw-r----- 1 oracle oinstall  10158080 Jan 20 08:05 c-1428943247-20160120-03
    -rw-r----- 1 oracle oinstall  10158080 Jan 20 08:06 c-1428943247-20160120-04
    -rw-r----- 1 oracle oinstall  10158080 Jan 20 08:08 c-1428943247-20160120-05
    -rw-r----- 1 oracle oinstall  10158080 Jan 20 08:08 c-1428943247-20160120-06
    -rw-r----- 1 oracle oinstall  10158080 Jan 20 08:09 c-1428943247-20160120-07
    -rw-r----- 1 oracle oinstall  10158080 Jan 20 08:32 c-1428943247-20160120-08
    -rw-r----- 1 oracle oinstall 296337408 Jan 20 07:23 DB_FULL_ORCL_20160120_s89_p1
    -rw-r----- 1 oracle oinstall   1130496 Jan 20 07:23 DB_FULL_ORCL_20160120_s90_p1
    -rw-r----- 1 oracle oinstall   2266624 Jan 20 07:23 DB_FULL_ORCL_20160120_s91_p1
    -rw-r----- 1 oracle oinstall   4073984 Jan 20 07:23 DB_FULL_ORCL_20160120_s92_p1
    -rw-r----- 1 oracle oinstall  11201536 Jan 20 07:23 DB_FULL_ORCL_20160120_s93_p1
    -rw-r----- 1 oracle oinstall   1130496 Jan 20 08:05 DB_INC_ORCL_20160120_s100_p1
    -rw-r----- 1 oracle oinstall    146944 Jan 20 08:05 DB_INC_ORCL_20160120_s101_p1
    -rw-r----- 1 oracle oinstall    884736 Jan 20 08:06 DB_INC_ORCL_20160120_s103_p1
    -rw-r----- 1 oracle oinstall   1130496 Jan 20 08:06 DB_INC_ORCL_20160120_s104_p1
    -rw-r----- 1 oracle oinstall     82432 Jan 20 08:06 DB_INC_ORCL_20160120_s105_p1
    -rw-r----- 1 oracle oinstall    294912 Jan 20 08:07 DB_INC_ORCL_20160120_s107_p1
    -rw-r----- 1 oracle oinstall   1130496 Jan 20 08:07 DB_INC_ORCL_20160120_s108_p1
    -rw-r----- 1 oracle oinstall     18944 Jan 20 08:08 DB_INC_ORCL_20160120_s109_p1
    -rw-r----- 1 oracle oinstall    155648 Jan 20 08:08 DB_INC_ORCL_20160120_s111_p1
    -rw-r----- 1 oracle oinstall   1130496 Jan 20 08:08 DB_INC_ORCL_20160120_s112_p1
    -rw-r----- 1 oracle oinstall    131584 Jan 20 08:08 DB_INC_ORCL_20160120_s113_p1
    -rw-r----- 1 oracle oinstall    647168 Jan 20 08:09 DB_INC_ORCL_20160120_s115_p1
    -rw-r----- 1 oracle oinstall   1130496 Jan 20 08:09 DB_INC_ORCL_20160120_s116_p1
    -rw-r----- 1 oracle oinstall      8704 Jan 20 08:09 DB_INC_ORCL_20160120_s117_p1
    -rw-r----- 1 oracle oinstall   2203648 Jan 20 08:04 DB_INC_ORCL_20160120_s95_p1
    -rw-r----- 1 oracle oinstall   1130496 Jan 20 08:04 DB_INC_ORCL_20160120_s96_p1
    -rw-r----- 1 oracle oinstall   1899008 Jan 20 08:04 DB_INC_ORCL_20160120_s97_p1
    -rw-r----- 1 oracle oinstall    327680 Jan 20 08:05 DB_INC_ORCL_20160120_s99_p1

    And
    RMAN> list backup summary;
    List of Backups
    ===============
    Key     TY LV S Device Type Completion Time #Pieces #Copies Compressed Tag
    ------- -- -- - ----------- --------------- ------- ------- ---------- ---
    80      B  0  A DISK        20-JAN-16       1       1       YES        DB_FULL
    81      B  0  A DISK        20-JAN-16       1       1       YES        DB_FULL
    82      B  A  A DISK        20-JAN-16       1       1       YES        ARCL_BKP_FULL
    83      B  A  A DISK        20-JAN-16       1       1       YES        ARCL_BKP_FULL
    84      B  A  A DISK        20-JAN-16       1       1       YES        ARCL_BKP_FULL
    85      B  F  A DISK        20-JAN-16       1       1       NO         TAG20160120T072332
    86      B  1  A DISK        20-JAN-16       1       1       YES        DB_INC
    87      B  1  A DISK        20-JAN-16       1       1       YES        DB_INC
    88      B  A  A DISK        20-JAN-16       1       1       YES        ARCL_BKP_INC
    89      B  F  A DISK        20-JAN-16       1       1       NO         TAG20160120T080440
    90      B  1  A DISK        20-JAN-16       1       1       YES        DB_INC
    91      B  1  A DISK        20-JAN-16       1       1       YES        DB_INC
    92      B  A  A DISK        20-JAN-16       1       1       YES        ARCL_BKP_INC
    93      B  F  A DISK        20-JAN-16       1       1       NO         TAG20160120T080545
    94      B  1  A DISK        20-JAN-16       1       1       YES        DB_INC
    95      B  1  A DISK        20-JAN-16       1       1       YES        DB_INC
    96      B  A  A DISK        20-JAN-16       1       1       YES        ARCL_BKP_INC
    97      B  F  A DISK        20-JAN-16       1       1       NO         TAG20160120T080657
    98      B  1  A DISK        20-JAN-16       1       1       YES        DB_INC
    99      B  1  A DISK        20-JAN-16       1       1       YES        DB_INC
    100     B  A  A DISK        20-JAN-16       1       1       YES        ARCL_BKP_INC
    101     B  F  A DISK        20-JAN-16       1       1       NO         TAG20160120T080801
    102     B  1  A DISK        20-JAN-16       1       1       YES        DB_INC
    103     B  1  A DISK        20-JAN-16       1       1       YES        DB_INC
    104     B  A  A DISK        20-JAN-16       1       1       YES        ARCL_BKP_INC
    105     B  F  A DISK        20-JAN-16       1       1       NO         TAG20160120T080844
    106     B  1  A DISK        20-JAN-16       1       1       YES        DB_INC
    107     B  1  A DISK        20-JAN-16       1       1       YES        DB_INC
    108     B  A  A DISK        20-JAN-16       1       1       YES        ARCL_BKP_INC

    My configuration of rman:
    RMAN> show all;
    RMAN configuration parameters for database with db_unique_name ORCL are:
    CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 7 DAYS;
    CONFIGURE BACKUP OPTIMIZATION ON;
    CONFIGURE DEFAULT DEVICE TYPE TO DISK;
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/u01/backup/%F';
    CONFIGURE DEVICE TYPE DISK PARALLELISM 2 BACKUP TYPE TO BACKUPSET;
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT   '/u01/backup/backup_df%t_s%s_s%p';
    CONFIGURE MAXSETSIZE TO UNLIMITED; # default
    CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
    CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
    CONFIGURE COMPRESSION ALGORITHM 'BASIC' AS OF RELEASE 'DEFAULT' OPTIMIZE FOR LOAD TRUE ; # default
    CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/u01/app/oracle/product/11.2.0/dbhome/dbs/snapcf_orcl.f'; # default

    - Thirdly, i removed all file in /u01/app/oracle/oradata/orcl/*. then restore control file from the newest backup control file (saturday backup) + restore database. Seem nothing's wrong here.
    RMAN> restore controlfile from '/u01/backup/c-1428943247-20160120-08';
    Starting restore at 20-JAN-16
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=18 device type=DISK
    allocated channel: ORA_DISK_2
    channel ORA_DISK_2: SID=20 device type=DISK
    channel ORA_DISK_2: skipped, AUTOBACKUP already found
    channel ORA_DISK_1: restoring control file
    channel ORA_DISK_1: restore complete, elapsed time: 00:00:09
    output file name=/u01/app/oracle/oradata/orcl/control01.ctl
    output file name=/u01/app/oracle/flash_recovery_area/orcl/control02.ctl
    Finished restore at 20-JAN-16

    RMAN> alter database mount;
    database mounted
    released channel: ORA_DISK_1
    released channel: ORA_DISK_2

    RMAN> restore database;
    Starting restore at 20-JAN-16
    Starting implicit crosscheck backup at 20-JAN-16
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=20 device type=DISK
    allocated channel: ORA_DISK_2
    channel ORA_DISK_2: SID=18 device type=DISK
    Crosschecked 29 objects
    Finished implicit crosscheck backup at 20-JAN-16

    Starting implicit crosscheck copy at 20-JAN-16
    using channel ORA_DISK_1
    using channel ORA_DISK_2
    Finished implicit crosscheck copy at 20-JAN-16

    searching for all files in the recovery area
    cataloging files...
    no files cataloged

    using channel ORA_DISK_1
    using channel ORA_DISK_2

    channel ORA_DISK_1: starting datafile backup set restore
    channel ORA_DISK_1: specifying datafile(s) to restore from backup set
    channel ORA_DISK_1: restoring datafile 00001 to /u01/app/oracle/oradata/orcl/system01.dbf
    channel ORA_DISK_1: restoring datafile 00002 to /u01/app/oracle/oradata/orcl/sysaux01.dbf
    channel ORA_DISK_1: restoring datafile 00003 to /u01/app/oracle/oradata/orcl/undotbs01.dbf
    channel ORA_DISK_1: restoring datafile 00004 to /u01/app/oracle/oradata/orcl/users01.dbf
    channel ORA_DISK_1: restoring datafile 00005 to /u01/app/oracle/oradata/orcl/example01.dbf
    channel ORA_DISK_1: reading from backup piece /u01/backup/DB_FULL_ORCL_20160120_s89_p1
    channel ORA_DISK_1: piece handle=/u01/backup/DB_FULL_ORCL_20160120_s89_p1 tag=DB_FULL
    channel ORA_DISK_1: restored backup piece 1
    channel ORA_DISK_1: restore complete, elapsed time: 00:01:15
    Finished restore at 20-JAN-16

    -Fourth, the problem here, I got the database;
    .. .every oky until this line...
    starting media recovery

    channel ORA_DISK_1: starting archived log restore to default destination
    channel ORA_DISK_1: restoring archived log
    archived log thread=1 sequence=15
    channel ORA_DISK_1: reading from backup piece /u01/backup/DB_INC_ORCL_20160120_s117_p1
    channel ORA_DISK_1: piece handle=/u01/backup/DB_INC_ORCL_20160120_s117_p1 tag=ARCL_BKP_INC
    channel ORA_DISK_1: restored backup piece 1
    channel ORA_DISK_1: restore complete, elapsed time: 00:00:01
    archived log file name=/u01/app/oracle/flash_recovery_area/ORCL/archivelog/2016_01_20/o1_mf_1_15_c9xsyx9k_.arc thread=1 sequence=15
    unable to find archived log
    archived log thread=1 sequence=1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of recover command at 01/20/2016 08:50:22
    RMAN-06054: media recovery requesting unknown archived log for thread 1 with sequence 1 and starting SCN of 1205841

    The error said that it is impossible to find the archived log thread = 1 sequence = 1. Then I check it with this command always there (oh, I'm wrong?)
    RMAN> list backup of archivelog all;
    List of Backup Sets
    ===================
    BS Key  Size       Device Type Elapsed Time Completion Time
    ------- ---------- ----------- ------------ ---------------
    82      2.16M      DISK        00:00:00     20-JAN-16     
            BP Key: 82   Status: AVAILABLE  Compressed: YES  Tag: ARCL_BKP_FULL
            Piece Name: /u01/backup/DB_FULL_ORCL_20160120_s91_p1

      List of Archived Logs in backup set 82
      Thrd Seq     Low SCN    Low Time  Next SCN   Next Time
      ---- ------- ---------- --------- ---------- ---------
    1    1       1154833    20-JAN-16 1177422    20-JAN-16

    BS Key  Size       Device Type Elapsed Time Completion Time
    ------- ---------- ----------- ------------ ---------------
    83      3.88M      DISK        00:00:00     20-JAN-16     
            BP Key: 83   Status: AVAILABLE  Compressed: YES  Tag: ARCL_BKP_FULL
            Piece Name: /u01/backup/DB_FULL_ORCL_20160120_s92_p1

      List of Archived Logs in backup set 83
      Thrd Seq     Low SCN    Low Time  Next SCN   Next Time
      ---- ------- ---------- --------- ---------- ---------
    1    1       1162729    20-JAN-16 1188784    20-JAN-16

    BS Key  Size       Device Type Elapsed Time Completion Time
    ------- ---------- ----------- ------------ ---------------
    84      10.68M     DISK        00:00:01     20-JAN-16     
            BP Key: 84   Status: AVAILABLE  Compressed: YES  Tag: ARCL_BKP_FULL
            Piece Name: /u01/backup/DB_FULL_ORCL_20160120_s93_p1

      List of Archived Logs in backup set 84
      Thrd Seq     Low SCN    Low Time  Next SCN   Next Time
      ---- ------- ---------- --------- ---------- ---------
      1    2       1177422    20-JAN-16 1201833    20-JAN-16

    BS Key  Size       Device Type Elapsed Time Completion Time
    ------- ---------- ----------- ------------ ---------------
    88      1.81M      DISK        00:00:01     20-JAN-16     
            BP Key: 88   Status: AVAILABLE  Compressed: YES  Tag: ARCL_BKP_INC
            Piece Name: /u01/backup/DB_INC_ORCL_20160120_s97_p1

      List of Archived Logs in backup set 88
      Thrd Seq     Low SCN    Low Time  Next SCN   Next Time
      ---- ------- ---------- --------- ---------- ---------
      1    3       1201833    20-JAN-16 1204844    20-JAN-16
      1    4       1204844    20-JAN-16 1204893    20-JAN-16
      1    5       1204893    20-JAN-16 1204958    20-JAN-16

    BS Key  Size       Device Type Elapsed Time Completion Time
    ------- ---------- ----------- ------------ ---------------
    92      143.00K    DISK        00:00:00     20-JAN-16     
            BP Key: 92   Status: AVAILABLE  Compressed: YES  Tag: ARCL_BKP_INC
            Piece Name: /u01/backup/DB_INC_ORCL_20160120_s101_p1

      List of Archived Logs in backup set 92
      Thrd Seq     Low SCN    Low Time  Next SCN   Next Time
      ---- ------- ---------- --------- ---------- ---------
      1    6       1204958    20-JAN-16 1205034    20-JAN-16
      1    7       1205034    20-JAN-16 1205253    20-JAN-16

    BS Key  Size       Device Type Elapsed Time Completion Time
    ------- ---------- ----------- ------------ ---------------
    96      80.00K     DISK        00:00:00     20-JAN-16     
            BP Key: 96   Status: AVAILABLE  Compressed: YES  Tag: ARCL_BKP_INC
            Piece Name: /u01/backup/DB_INC_ORCL_20160120_s105_p1

      List of Archived Logs in backup set 96
      Thrd Seq     Low SCN    Low Time  Next SCN   Next Time
      ---- ------- ---------- --------- ---------- ---------
      1    8       1205253    20-JAN-16 1205354    20-JAN-16
      1    9       1205354    20-JAN-16 1205433    20-JAN-16

    BS Key  Size       Device Type Elapsed Time Completion Time
    ------- ---------- ----------- ------------ ---------------
    100     18.00K     DISK        00:00:00     20-JAN-16     
            BP Key: 100   Status: AVAILABLE  Compressed: YES  Tag: ARCL_BKP_INC
            Piece Name: /u01/backup/DB_INC_ORCL_20160120_s109_p1

      List of Archived Logs in backup set 100
      Thrd Seq     Low SCN    Low Time  Next SCN   Next Time
      ---- ------- ---------- --------- ---------- ---------
      1    10      1205433    20-JAN-16 1205519    20-JAN-16
      1    11      1205519    20-JAN-16 1205559    20-JAN-16

    BS Key  Size       Device Type Elapsed Time Completion Time
    ------- ---------- ----------- ------------ ---------------
    104     128.00K    DISK        00:00:00     20-JAN-16     
            BP Key: 104   Status: AVAILABLE  Compressed: YES  Tag: ARCL_BKP_INC
            Piece Name: /u01/backup/DB_INC_ORCL_20160120_s113_p1

      List of Archived Logs in backup set 104
      Thrd Seq     Low SCN    Low Time  Next SCN   Next Time
      ---- ------- ---------- --------- ---------- ---------
      1    12      1205559    20-JAN-16 1205624    20-JAN-16
      1    13      1205624    20-JAN-16 1205739    20-JAN-16

    BS Key  Size       Device Type Elapsed Time Completion Time
    ------- ---------- ----------- ------------ ---------------
    108     8.00K      DISK        00:00:00     20-JAN-16     
            BP Key: 108   Status: AVAILABLE  Compressed: YES  Tag: ARCL_BKP_INC
            Piece Name: /u01/backup/DB_INC_ORCL_20160120_s117_p1

      List of Archived Logs in backup set 108
      Thrd Seq     Low SCN    Low Time  Next SCN   Next Time
      ---- ------- ---------- --------- ---------- ---------
      1    14      1205739    20-JAN-16 1205796    20-JAN-16
      1    15      1205796    20-JAN-16 1205840    20-JAN-16


    If i ignore it and open the database, just my table in full backup come back but rows was not restored. I'm sure the problem is my archive log backup but i don't know how to solve it. Plz help me.

    Sorry for a long post.

    > 1 and from the 1205841 SNA sequence

    The SCN that indicates Oracle is above the range of SNA that you have in the ArchiveLog backups for sequence 1 to 15 (15 sequence ends at 1205840).

    The message

    channel ORA_DISK_1: restoring archives Journal

    Archives journal thread = 1 sequence = 15

    channel ORA_DISK_1: backup/u01/backup/DB_INC_ORCL_20160120_s117_p1 piece reading

    channel ORA_DISK_1: piece handle = / u01/backup/DB_INC_ORCL_20160120_s117_p1 tag = ARCL_BKP_INC

    indicates that he has restored the sequence up to 15

    You can check the log file alert database instance for messages on the fact of recovery.

    He is now asking sequence #1 it seems you did a RESETLOGS after sequence #15.

    Note: If you have NOT issued a COMMIT after the line is INSERTED in the table 'Day', the recovery of the database will have no * transactions * to retrieve.  An uncomitted transaction is cancelled.

    Hemant K Collette

  • Why the format does not work on my backup incremental level 1 the difference?

    I use following script to make a backup of difference incremental level 1.
    ------------------------------
    Run {}
    allocate channels ch1 disc type;
    Set order id "Monday_INC_1_df";
    backup as compressed backupset database incremental level 1
    format ' / opt/oracle/rman/bk/incr1_df_%d_%U'
    tag "Monday_INC_1_df".
    database more entered archivelog delete;
    output channel ch1.
    }
    -------------------------------

    According to this scenario, all the rman output files are placed in "/ opt/oracle/rman/bk / '...  And his label is 'Monday_INC_1_df'.

    But at the bottom of the newspaper, I find the archived log rman output files located in "/ opt/oracle/flash_recovery_area/TEST/backupset/2014_12_02 / '. And his label is "TAG20141202T210529".
    Also, at the bottom of the newspaper, the output data files rman files was partly on the right path "/ opt/oracle/rman/bk / '. And it seems that the data files has been supported for 2 times. The second time datafile rman output files was badly located in the path "/ opt/oracle/flash_recovery_area/TEST/backupset/2014_12_02 / '. And his label is "TAG20141202T215627".


    ================================================ Detail Log ===================================================================================
    channel ch1: compressed boot archived log backup set
    channel ch1: specifying the newspapers archived in the backup set
    archived journal entry thread = 1 sequence = 36706 RECID = 2773 STAMP = 865282473
    archived journal entry thread = 1 sequence = 36707 RECID = 2774 STAMP = 865282476
    archived journal entry thread = 1 sequence = 36708 RECID = 2775 STAMP = 865282478
    archived journal entry thread = 1 sequence = 36709 RECID = 2776 STAMP = 865282482
    archived journal thread = 1 sequence = 36710 entry RECID = STAMP 2777 = 865282486
    archived journal entry thread = 1 sequence = 36711 RECID = 2778 STAMP = 865285528
    channel ch1: starting piece 1 at 2014-12-02 21:56:20
    channel ch1: finished piece 1 at 2014-12-02 21:56:27
    piece handle=/opt/oracle/flash_recovery_area/TEST/backupset/2014_12_02/o1_mf_annnn_TAG20141202T210529_b7vk8408_.bkp tag = TAG20141202T210529 comment = NONE
    channel ch1: complete set of backups, time: 00:00:07
    channel ch1: archived deletion or newspapers
    name=/opt/oracle/flash_recovery_area/TEST/archivelog/2014_12_02/o1_mf_1_36706_b7vc98xc_.arc RECID archived log file = 2773 STAMP = 865282473
    name=/opt/oracle/flash_recovery_area/TEST/archivelog/2014_12_02/o1_mf_1_36707_b7vc9cz7_.arc RECID archived log file = 2774 STAMP = 865282476
    name=/opt/oracle/flash_recovery_area/TEST/archivelog/2014_12_02/o1_mf_1_36708_b7vc9gn1_.arc RECID archived log file = 2775 STAMP = 865282478
    name=/opt/oracle/flash_recovery_area/TEST/archivelog/2014_12_02/o1_mf_1_36709_b7vc9l3f_.arc RECID archived log file = 2776 STAMP = 865282482
    RECID = STAMP 2777 = 865282486 name=/opt/oracle/flash_recovery_area/TEST/archivelog/2014_12_02/o1_mf_1_36710_b7vc9plj_.arc archived log file
    name=/opt/oracle/flash_recovery_area/TEST/archivelog/2014_12_02/o1_mf_1_36711_b7vg8qz5_.arc RECID archived log file = 2778 STAMP = 865285528
    A backup over the 2014-12-02 21:56:27


    From backup 2014-12-02 21:56:27
    channel ch1: from compressed data file backup set incremental level 1
    channel ch1: specification-datafile in the backup set (s)
    Enter a number of file datafile = name=/opt/oracle/oradata/test/undotbs01.dbf 00003
    Enter a number of file datafile = 00005 name=/opt/oracle/oradata/test/hp01.dbf
    Enter a number of file datafile = name=/opt/oracle/oradata/test/cmtspace01.dbf 00035
    Enter a number of file datafile = name=/opt/oracle/oradata/test/sysaux01.dbf 00002
    Enter a number of file datafile = 00001 name=/opt/oracle/oradata/test/system01.dbf
    Enter a number of file datafile = name=/opt/oracle/oradata/test/users01.dbf 00004
    channel ch1: starting piece 1 at 2014-12-02 21:56:28
    channel ch1: finished piece 1 at 2014-12-02 23:48:06
    piece handle tag = / opt/oracle/rman/bk/incr1_df_TEST_1gpp6gcc_1_1 MONDAY_INC_1_DF = comment = NONE
    channel ch1: complete set of backups, time: 01:51:38
    channel ch1: from compressed data file backup set incremental level 1
    channel ch1: specification-datafile in the backup set (s)
    Enter a number of file datafile = name=/opt/oracle/oradata/test/undotbs01.dbf 00003
    Enter a number of file datafile = 00005 name=/opt/oracle/oradata/test/hp01.dbf
    Enter a number of file datafile = name=/opt/oracle/oradata/test/cmtspace01.dbf 00035
    Enter a number of file datafile = name=/opt/oracle/oradata/test/sysaux01.dbf 00002
    Enter a number of file datafile = 00001 name=/opt/oracle/oradata/test/system01.dbf
    Enter a number of file datafile = name=/opt/oracle/oradata/test/users01.dbf 00004
    channel ch1: starting piece 1 at 2014-12-02 23:48:07
    channel ch1: finished piece 1 at 2014-12-03 01:17:22
    piece handle=/opt/oracle/flash_recovery_area/TEST/backupset/2014_12_02/o1_mf_nnnd1_TAG20141202T215627_b7vqsq8y_.bkp tag = TAG20141202T215627 comment = NONE
    channel ch1: complete set of backups, time: 01:29:15
    A backup over the 2014-12-03 01:17:22

    From backup 2014-12-03 01:17:23
    Current archived log
    channel ch1: compressed boot archived log backup set
    channel ch1: specifying the newspapers archived in the backup set
    archived journal entry thread = 1 sequence = 36712 RECID = 2779 STAMP = 865288890
    archived journal entry thread = 1 sequence = 36713 RECID = 2780 STAMP = 865288965
    archived journal entry thread = 1 sequence = 36714 RECID = 2781 STAMP = 865288971
    channel ch1: starting piece 1 at 2014-12-03 01:17:24
    channel ch1: finished piece 1 at 2014-12-03 01:17:49
    piece handle=/opt/oracle/flash_recovery_area/TEST/backupset/2014_12_03/o1_mf_annnn_TAG20141203T011723_b7vx145d_.bkp tag = TAG20141203T011723 comment = NONE
    channel ch1: complete set of backups, time: 00:00:25
    channel ch1: archived deletion or newspapers
    name=/opt/oracle/flash_recovery_area/TEST/archivelog/2014_12_02/o1_mf_1_36712_b7vkkts7_.arc RECID archived log file = 2779 STAMP = 865288890
    name=/opt/oracle/flash_recovery_area/TEST/archivelog/2014_12_02/o1_mf_1_36713_b7vkn5v0_.arc RECID archived log file = 2780 STAMP = 865288965
    name=/opt/oracle/flash_recovery_area/TEST/archivelog/2014_12_02/o1_mf_1_36714_b7vkncv2_.arc RECID archived log file = 2781 STAMP = 865288971

    =============================================================================================================


    When I here is the backup incremental level 0, everything seems good.

    ----------------------------------
    Run {}
    allocate channels ch1 disc type;
    Set order id "Sunday_INC_0";
    backup incremental level 0 compressed backupset
    format ' / opt/oracle/rman/bk/incr0_%d_%U'
    tag "Sunday_INC_0".
    database more entered archivelog delete;
    output channel ch1.
    }
    --------------------------------

    But why my backup of difference in level 1 increntmental would not have good correct rman output path?


    You have specified the keyword 'database' twice in the backup command.  If execution is in the specified format, the second with the default format (to the FRA)

    Hemant K Collette

  • When the RMAN brand is backup incremental level1 obsolete?

    Hi all

    On a server Oracle 10.2.0.2 particular (with ODG), I implemented a strategy of incremental backup. A level 0 backup is available and all level 1 next backups are getting recovered to this first copy of data file. So far so good.

    The problem is that all these incremental backups at level 1 stay in my box of flashback and are not cleaned by RMAN. The retention policy is set on a window of 1 day.

    When the RMAN will start scoring these backups to level 1 as being obsolete? I guess that these backups are obsolete right after that they were applied to the copy of the data file? This has something to do with the size of the parameter area flashback, which means that it will not begin to remove level 1 backups when RMAN runs into problems of free space on the disk?

    Any help is appreciated!

    JM

    Hi JM,

    This is expected behavior, because you have changed the default retention of redundancy strategy 1.
    You can find this on My Oracle Support note + incremental backup strategies: Merge [ID 745798.1] +.

    The extract of this says:
    >
    When using Oracle-Suggested policy or a daily incremental backup merged and using a Flash recovery area and then keep the retention policy of RMAN for redundancy 1. This will ensure that the Oracle space management will automatically remove incremental backups at level 1 of the FRA after they have been applied to the image based on the pressure of space in the FRA copy. If you increase the redundancy or set a window of recovery space is is automatically retrieved by Oracle. This works only when the retention policy is set to the default value of redundancy = 1. If the configured retention policy is set to the window of recovery or > 1 redundancy, RMAN cannot satisfy the retention policy if there is only one copy of database and it's at a later point in time. Thus, in order to satisfy political retention Oracle keeps all the incremental backups and archivelogs since the creation of the database because ideally a data file can be re-created and archivelogs can be applied to meet the retention policy (although not followed in the practical case).
    >

    To have made them obsolete automatically, you must add the 'UNTIL TIME 'SYSDATE-2' ' clause to the COPY of RECOVER sentence, for a 1-day recovery window.

    The order having to RETRIEVE it after the BACKUP, you will have the current copy image, and you should only apply the archivelogs if you need to recover instead of use the last day of Level0 backup now level1.

    Kind regards.
    Nelson

  • RMAN backup to tape and disk script

    Hi all,

    I'm looking for a script to backup on tape and disk using an RMAN command. There is that one parameter, I don't want to understand, I've seen evidence of. Backup of the Flash recovery area. I want to be able to do it from the location of the files. I want to back up the database complete, kitchen sink and everything.

    Can anyone help?

    General information.

    Database 10 g 2, Grid Control 10.2.0.4, Linux RHEL4.6 Server. If you need more information please ask me.

    Thank you all!

    This can be by setting up your backup channels,

    Channel configuration

    http://download.Oracle.com/docs/CD/B19306_01/backup.102/b14191/rcmconfg.htm#i1006906

  • backup incremental update feature

    Hi all

    can you explain this feafure when you take the copy of the image and then backup incremental and when
    data file is corrupted I have to restore the copy of the data file, and then apply an incremental backup.
    I do this planning, but I do not write the COPY OF THE file of DATA WITH TAG RECOVER command

    I take a copy of the image and then make this table spaces and make sure is the default value for the data base and ten make change
    DML, stop immediately and drop datafile can restore and recover
    restore the data file 5
    recover datafile 5


    without any incremental update command, feature and now my database is up-to-date? can you explain to me an example please?


    Thank you very much

    We must use the control switch that will make the controlfile to point to the backup of the data on the disk files.
    For example: you lost the data user 6 file

    RMAN > switch datafile 6 to copy;
    RMAN > recover datafile 6;
    RMAN > alter database datafile 6 online;

    The problem with incremental updates, is that, after any failure, as above, if restore us it, it will change the name and location of the data file. After restoration manual you rename them to original location.

    In case of failure of the database

    RMAN > switch database to copy.
    RMAN > restore database;
    RMAN > alter database open

    Published by: renee_mathieu on August 5, 2012 07:54

  • Export vs rman as backup strategy

    I just joined new company and owner oracle DBA confessed that they have never used in all of their many years as a DBA Oracle rman.  Currently, they have 7 days of files dmp to export for each prod database.  I started to create backups rman for each prod dB and I asked if we can stop exports altogether.  Holder s/n, says exports are still needed in case we need to restore a table or in the case where we need to refresh a development/test environment.  I submit that rman can do and I communicated that I never used exports in a special or as needed case either to move an oracle dB between different operating systems or incompatible versions.  All export their production databases every night?  I've been an Oracle DBA since 10g but I've always been the unique oracle DBA in the shops/companies that I worked.  It is the first time I had a DBA experienced to work with.  I'm surprised actually kind of which my colleague has never used rman being that they are so widely experienced.  Dig deeper, they say they have used the NetApp as their backup method and they try to get configured in my current company that tells me will make rman irrelevant.  What do you think?

    2983472 wrote:

    I just joined new company and owner oracle DBA confessed that they have never used in all of their many years as a DBA Oracle rman.  Currently, they have 7 days of files dmp to export for each prod database.  I started to create backups rman for each prod dB and I asked if we can stop exports altogether.  Holder s/n, says exports are still needed in case we need to restore a table or in the case where we need to refresh a development/test environment.  I submit that rman can do and I communicated that I never used exports in a special or as needed case either to move an oracle dB between different operating systems or incompatible versions.  All export their production databases every night?  I've been an Oracle DBA since 10g but I've always been the unique oracle DBA in the shops/companies that I worked.  It is the first time I had a DBA experienced to work with.  I'm surprised actually kind of which my colleague has never used rman being that they are so widely experienced.  Dig deeper, they say they have used the NetApp as their backup method and they try to get configured in my current company that tells me will make rman irrelevant.  What do you think?

    My, my, my.  Your recent history of the display, you seem to have a lot of questions with your new business.

    In this case, you are partially right.  It is unacceptable for this "very experienced" s/n do not use rman and see no need of it.  If his backup strategy should only take nightly exports, it has been lucky and lives on borrowed time.  If the database is corrupted or lost, these exports don't you a good few until what you create - from scratch - a database of work.  And even then, only, you will have a point in time as a recovery point.

    NetApp is concerned, that I've never used but I understand that it is simply wraps around rman.  Perhaps, this can be handy.  Until the disaster where you also get trashed NetApp configurations.  No, when it comes back up, and more important again, recovering from a disaster, I want to work closely with the oracle supplied and approved method.  The extra layers less potentially go wrong, the better.

    If they want to continue taking exports every night, he certainly won't do any harm, as long as they realize that is secondary to the required rman backups.  All my databases are backed up with rman.  Some but not all also have nightly exports.  It depends on the requirements.  There are some things for which having a practice of export is better than to rely solely on rman.

  • Oracle 12 c with RMAN database backup

    Hi All-

    I started back to the top of one of my PDB using utility RMAN following the instructions on the link below.

    http://www.Oracle.com/WebFolder/technetwork/tutorials/OBE/DB/12C/R1/PDB/pdb_pitr/pdb_pitr.html

    --Connect to Oracle RMAN.
    rman> Connect target /
    --Set the Oracle RMAN backup device type and backup file location.
    rman> configure channel device type disk format '/stage/db_backup_files/cdb1/%U';
    --Turn on automatic backup of control files.
    rman> configure controlfile autobackup on;
    --Back up the database and archive logs.
    rman>backup database plus archivelog;
    rman> exit
    

    Back to the top has been done successfully, but when I started with the recovery process he gave me error reporting collection.

    Run {set until what SNA = 2263440; restore database connectable to pdb2; retrieve auxiliary destination of the pluggable database pdb2 = "/ stage/db_backup_files/cdb1 '; alter connectable database to pdb2 ;} open resetlogs}

    This is the track to RMAN

    Recovery Manager: release 12.1.0.2.0 - Production on sat 22 Aug 12:22:44 2015

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

    RMAN > Connect target /.

    connected to target database: RELIABLE (DBID = 1028507357)

    RMAN > run {}

    2 > ALTER DATABASE connectable to MultiPlay NARROW;

    3 > set up what SNA = 14899894;

    4 > restore database pluggable MultiPlay;

    5 > restore database pluggable MultiPlay;

    6 > alter database connectable to MultiPlay open resetlogs;

    {7 >}

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

    Statement processed

    executing command: SET until clause

    From restoration to 22 August 15

    allocated channel: ORA_DISK_1

    channel ORA_DISK_1: SID = 22 type of device = DISK

    channel ORA_DISK_1: from the restore backup set data file

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

    channel ORA_DISK_1: restore datafile 00035 to E:\APP\ORADATA\RELIABLE\MULTIPLAY\SYSTEM01. DBF

    channel ORA_DISK_1: restore datafile 00036 to E:\APP\ORADATA\RELIABLE\MULTIPLAY\SYSAUX01. DBF

    channel ORA_DISK_1: restore datafile 00037 to E:\APP\ORADATA\RELIABLE\MULTIPLAY\MULTIPLAY_USERS01. DBF

    channel ORA_DISK_1: backup E:\APP\RECOVERY_AREA\RELIABLE\40A433F530464F3BBF2E7C0B1553ECE8\BACKUPSET\2015_08_22\O1_MF_NNNDF_TAG20150 piece reading

    822T115328_BXJ5C182_. BKP

    channel ORA_DISK_1: piece handle = E:\APP\RECOVERY_AREA\RELIABLE\40A433F530464F3BBF2E7C0B1553ECE8\BACKUPSET\2015_08_22\O1_MF_NNNDF_TAG20150822T115328_BX

    J5C182_. Tag BKP = TAG20150822T115328

    channel ORA_DISK_1: restored the backup part 1

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

    Restoration finished in 22 August 15

    From pick up to August 22, 15

    using channel ORA_DISK_1

    RMAN-05026: WARNING: following tablespaces set applies to the Point in time specified assuming

    List of tablespaces should have UNDO segments

    SYSTEM tablespace

    Tablespace UNDOTBS1

    Creation of automatic instance with SID = "zbnt."

    RMAN-00571: ===========================================================

    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.

    RMAN-00571: ===========================================================

    RMAN-03002: failure of the command recover at 22/08/2015 12:24:56

    ORA-19852: error creating services for the instance auxiliary zbnt (error 0)

    ORA-27302: failure occurred:

    ORA-27303: additional information: could not start the instance

    Thank you

    Siradji

    Just a wild guess

    You do not use this script in a command as Administrator window

    Therefore, you won't be able to create any service.

    I also have a question: your only troubleshooting activity consisted of hitting CTRL + C and CTRL-V, is not it?

    It's so boring to most of the people here do not even TRY to solve their own problems.

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

    Sybrand Bakker

    Senior Oracle DBA

  • RMAN-06820 / backup RMAN on a database of Eve / wallet using authentication

    Hello

    An attempt to resolution RMAN-06820 by putting together a portfolio for Doc-ID 1616074.1
    RMAN-06820: WARNING: unable to archive the current log on the primary database

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

    Doc-ID 1616074.1 means Bug: 17580082

    As for being able to connect standby to primary school, there are few options

    (Option 1) is to connect as SYSDBA, as: 'rman target sys/password@stby.
    (Option 2) is portfolio of configuration using the authentication that can be made (more information can be obtained by the SECURITY team).
    (Option 3) using command CONNECT in the command file supplied to RMAN. For example: RMAN > Connect target sysdba_user/password@stby

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

    We are currently using option 1, but to remove the passwords from the scheduled RMAN script.

    RMAN target sys/password@stby nocatalog journal @/ tmp/RMAN_SCRIPT = / tmp/RMAN_LOG

    We look at option 2 implement a portfolio > ' use secure external password store (Doc ID 340559.1) '

    We have successfully Setup a portfolio

    $ mkdir $ORACLE_HOME/portfolio
    $ mkstore - wrl $ORACLE_HOME/portfolio-create
    $ mkstore - wrl $ORACLE_HOME/portfolio - createCredential stby sys password

    SQLNET.ora updated with
    WALLET_LOCATION = (source = (Method = file) (METHOD_DATA =(Directory=$ORACLE_HOME/Wallet)))
    SQLNET. WALLET_OVERRIDE = TRUE

    The scheduled RMAN script is updated:

    RMAN target /@stby nocatalog journal @/ tmp/RMAN_SCRIPT = / tmp/RMAN_LOG

    I always get RMAN-06820 WARNING.

    -Anyone have a solution to resolve the WARNING of RMAN - 06820 for an RMAN backup on a database ensure using a portfolio (Doc ID 1616074.1 Option 2) for authentication?


    Kind regards

    Richie.

    An update for you to know that this isn't a problem.

    I have re-implemented solution (recreated portfolio / updated the rman script to remove password) and his works now.

    I'll go through this myself to see what I missed the first time.

    Therefore, please note that Doc ID 1616074.1 Option 2 (workaround) put in place a portfolio (Ref: Doc ID 340559.1) is 100% successful.

    set up a portfolio:
    $ mkdir $ORACLE_HOME/portfolio
    $ mkstore - wrl $ORACLE_HOME/portfolio-create
    $ mkstore - wrl $ORACLE_HOME/portfolio - createCredential stby sys password

    SQLNET.ora:
    WALLET_LOCATION = (source = (Method = file) (METHOD_DATA =(Directory=$ORACLE_HOME/Wallet)))
    SQLNET. WALLET_OVERRIDE = TRUE

    RMAN backup:
    Journal of @RMAN_SCRIPT /@stby target = RMAN_LOG RMAN nocatalog

  • RMAN bypass backup can be taken from question?

    Hi all

    pretty simple question (I hope that ):

    I use the suite at the moment for example:

    run
    {
    Backup CONFIGURATION DEVICE TYPE DISK PARALLELISM 2 to compressed backupset;
    TIME 01:00 PARTIAL minimize THE time data BACKUP FILESPERSET 1;
    }

    But I was wondering if there is some way to this running as a backup script planned to restart backup, if it does not (due to problems of space file etc.)

    run
    {

    Configure the disk channel CH1 device type format ' / alternate/path/for_backup/%d_DB_%M%D%Y_%p_%s_%U';
    Configure the disk channel CH2 device type format ' / alternate/path/for_backup/%d_DB_%M%D%Y_%p_%s_%U';


    TIME 01:00 PARTIAL minimize THE time of BACKUP data
    NOT BACKED UP SINCE TIME ' SYSDATE - 1' fileperset 1;    < < < I know it won't work like that but y at - it another way to accomplish this? (work around to restart the backup time and the option to reduce time?)


    cleaning etc release channels

    }

    PS: question side bonus points

    who can tell me more about the loss of speed MB/S compared to the rate of compression: low/medium/high?

    I hope that there are some brilliant minds out there willing to help!

    Thanks in advance.



    The themes you mention seem to be covered in the Advanced documentation of RMAN:

    http://docs.Oracle.com/CD/E11882_01/backup.112/e10642/rcmbckad.htm#BRADV89540

    I don't know if anyone can really give you an opinion about which compression will have the best size vs time full report. But the next test by using a simple vanilla ORCL database shows the result of the compression of 'low '. It was done on sub Oracle 11 GR 2 one running a VirtualBox VM. As you can see there is a reduction of the large size of the backupset, which however has taken so long to complete as to the 'no' compression.

    RMAN> CONFIGURE COMPRESSION ALGORITHM clear;
    
    RMAN> backup database;
    RMAN> list backup;
    
    BS Key  Type LV Size       Device Type Elapsed Time Completion Time
    ------- ---- -- ---------- ----------- ------------ ---------------
    40      Full    1.20G      DISK        00:00:08     22-JUN-15
            BP Key: 40   Status: AVAILABLE  Compressed: NO  Tag: TAG20150622T123329
    
    RMAN> CONFIGURE COMPRESSION ALGORITHM 'LOW';
    RMAN> backup as compressed backupset database;
    RMAN> list backup;
    
    BS Key  Type LV Size       Device Type Elapsed Time Completion Time
    ------- ---- -- ---------- ----------- ------------ ---------------
    44      Full    400.38M    DISK        00:00:08     22-JUN-15
            BP Key: 44   Status: AVAILABLE  Compressed: YES  Tag: TAG20150622T123811
    

    Why did you write that I know that it won't work like that? According to the example below, I don't see the problem. As you can see on the 2nd run of the backup command, it ignores the data files that he has previously treated.

    RMAN> BACKUP DURATION 1:00 PARTIAL MINIMIZE TIME database NOT BACKED UP SINCE TIME 'SYSDATE -1' FILESPERSET 1;
    
    Starting backup at 22-JUN-15
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting full datafile backup set
    channel ORA_DISK_1: specifying datafile(s) in backup set
    input datafile file number=00001 name=+DATA/orcl1/datafile/system.256.862871041
    channel ORA_DISK_1: starting piece 1 at 22-JUN-15
    channel ORA_DISK_1: finished piece 1 at 22-JUN-15
    piece handle=+DATA/orcl1/backupset/2015_06_22/nnndf0_tag20150622t121929_0.283.883052369 tag=TAG20150622T121929 comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:03
    channel ORA_DISK_1: starting full datafile backup set
    channel ORA_DISK_1: specifying datafile(s) in backup set
    input datafile file number=00005 name=+DATA/orcl1/datafile/example.269.862871121
    channel ORA_DISK_1: starting piece 1 at 22-JUN-15
    channel ORA_DISK_1: finished piece 1 at 22-JUN-15
    piece handle=+DATA/orcl1/backupset/2015_06_22/nnndf0_tag20150622t121929_0.275.883052373 tag=TAG20150622T121929 comment=NONE
    ...etc...
    
    RMAN> delete backupset 29,30,34;
    
    RMAN> BACKUP DURATION 1:00 PARTIAL MINIMIZE TIME database NOT BACKED UP SINCE TIME 'SYSDATE -1' FILESPERSET 1;
    
    Starting backup at 22-JUN-15
    using channel ORA_DISK_1
    skipping datafile 2; already backed up on 22-JUN-15
    skipping datafile 3; already backed up on 22-JUN-15
    skipping datafile 4; already backed up on 22-JUN-15
    channel ORA_DISK_1: starting full datafile backup set
    channel ORA_DISK_1: specifying datafile(s) in backup set
    input datafile file number=00001 name=+DATA/orcl1/datafile/system.256.862871041
    channel ORA_DISK_1: starting piece 1 at 22-JUN-15
    channel ORA_DISK_1: finished piece 1 at 22-JUN-15
    piece handle=+DATA/orcl1/backupset/2015_06_22/nnndf0_tag20150622t122021_0.308.883052421 tag=TAG20150622T122021 comment=NONE
    ...etc...
    
  • Backup Tables, triggers and packages/procedures

    Oracle 11.2 and Developer SQL 3.2.

    For the backup of the data, I use OEM/Rman to schedule a backup.  My understanding, these are usually data only (physical backup).

    Now, I want to make the backup of the logic for the tables, packages/procedures and triggers.  I currently use Oracle SQL Developer to export as separate SQL files.

    I wonder if there are any other options to save the tables, procedures and triggers?

    Currently I am guard three types of backups:

    (1) creation of user scripts, role and grant the user privileges.

    (2) tables, packages/procedures and triggers saved via Oracle SQL Developer

    (3) data ora saved through OEM

    Total crash of DB, I'll run the script to create users, role, and grant privileges.  Then log in as an authorized user and run the sql scripts to create the tables, procedures, packages, and triggers; Finally, to recover the data via RMAN.

    Is this a good practice for backup/recovery, or there are ways to do better?

    Thank you.

    Scott

    scottjhn wrote:

    Oracle 11.2 and Developer SQL 3.2.

    For the backup of the data, I use OEM/Rman to schedule a backup.

    Additional OEM backup.

    The backup operation is made by rman.

    My understanding, these are usually data only (physical backup).

    RMAN backup of the physical database.  Technically, it makes copies of data blocks in the data files.  He does not know, nor she cares, that contains a given block.  And this data block "term" is wider than you can imagine.  Consider this: the entire database - tables, indexes, the data dictionary (which itself is nothing more than a collection of tables), stored the DDL, code compiled... everything fits in these data files and data files are all made up of blocks of 'data '.

    Now, I want to make the backup of the logic for the tables, packages/procedures and triggers.  I currently use Oracle SQL Developer to export as separate SQL files.

    I wonder if there are any other options to save the tables, procedures and triggers?

    That's what rman.  backup of tables, procedures, triggers,... everything.

    Currently I am guard three types of backups:

    (1) creation of user scripts, role and grant the user privileges.

    (2) tables, packages/procedures and triggers saved via Oracle SQL Developer

    (3) data ora saved through OEM

    Total crash of DB, I'll run the script to create users, role, and grant privileges.

    DB crash, you want to have a database to run these scripts.  You will FIRST need to restore/recovery database... backups rman.

    Then log in as an authorized user and run the sql scripts to create the tables, procedures, packages and triggers.

    ; You don't have to run all the scripts, because all the tables, procedures/packckages, and triggers will have already been restored by rman when he corrected/restored the database.

    Finally, retrieve the data via RMAN.

    And, precisely, what do you think this means at this point?

    Is this a good practice for backup/recovery, or there are ways to do better?

    There are much better ways.  Especially what you describe will not work.

    You have a serious misunderstanding on what rman is and does.  You need to spend some serious time, read the rman users guide, at https://docs.oracle.com/cd/E11882_01/backup.112/e10642/toc.htm

    And, FWIW, I would NOT recommend depending on the OEM manufacturer to plan backups or perform a recovery.

  • RAC RAC CLONE OF RMAN cold backup

    Hi all

    I need your help in my Oracle RAC 11.2.0.2 to remote host environment cloning. Here's the disc structure

    DGVOT (disc ASM holding OCR and voting disk group)
    DGDATA (disk group ASM containing data files)
    DGFRA (disk group ASM files for fast recovery)

    Remote host is on a different location so cannot use duplicate RMAN with auxiliary channel.
    Have the luxury of downtime so I wanted to take coherent RMAN (Cold Backup)

    SAME structure of the disc is available on remote hosts.

    11.2.0.2 CLusterware (IG) over the oracle binaries are already installed.

    Can any body tell me the steps to
    (1) how to take cold backup on the disk so that I can tar and copy to the remote host
    (2) clone of the database on the remote host
    (3) how do I add the listener for the database and other resources of this databasee clusterware.

    in fact, it's my first clone CARS, so I'm well aware of the steps in detail.


    I went though a lot of notes metalink but nobody fits my needs. your tips will help me a lot

    Kind regards

    Hello

    (1) how to take cold backup on disk so that I can tar and copy to the remote host.

    Use Rman cold backup

    At the stage of the mountain run
    RMAN > backup database archivelog format '%U /dbp ";
    RMAN > backup controlfile current format "%U /ctl";

    Copy these to the remote host backup sets

    (2) clone of the database on the remote host

    Create groups of similar ASM disk as source
    create pfile/spifile, starting in nomount mode instance
    backup set from catalog

    RMAN > catalogue start with "";

    Restore controlfile

    RMAN > restore controlfile;

    RMAN > restore database;

    RMAN > restore database;

    On the success of the recovery

    RMAN > sql 'alter database open;

    (3) how do I add the listener for the database and other resources of this databasee clusterware.

    Srvctl user to add resources

    Use: srvctl []
    orders: activate | Disable | Start | stop | move | status | Add | Remove | change | getenv | setenv | unsetenv | config | convert | upgrade
    objects: database | instance. service | nodeapps | VIP | network | ASM | diskgroup | listener | srvpool | Server | scan | scan_listener | oc4j. House | filesystem | GNS | CVU
    To get detailed help on each command and each object and its use of options:
    srvctl h or
    srvctl h

    Thank you
    Ajay more

Maybe you are looking for

  • I dropped my iPhone face down on the concrete

    DDo, I have need of a new phone or can it be repaired? I dropped my iPhone 5, OS7.1.2, face-down on the concrete and now it does not illuminate screen is gray and cannot see all of the icons, as applications.

  • McAfee Total Protection.

    Trouble with McAfee which has been upgraded in January 2012.  Real-time scanning stops with the error message.  Firewall and spyware to turn off the coast.  Not had this problem with older versions of McAfee Total Protection (having a laptop computer

  • Reverse an AX150 expansion

    We have an AX150i.  The initial cluster has 4-250 GB RAID1/0 disk.  We have added 2 - disc 750GBb and expanded Pool1.  (See below)  No matter what I do, I can't develop none of the virtual disks to use this new space (it shows only 232 GB available)

  • locking personal settings

    starOffice has access to my personal settings or they are locked.

  • BlackBerry Smartphones reinstall low level OS

    Since I installed the 4.7.0.85 OS version, a lot of screwy things took place in my Storm: Does not turn off when I press power off lit Takes a long time to go from vertical to horizontal of the image Keyboard is sometimes completely messed up (not al