Full backup to optimize backup RMAN

Hi gurus,

I wanted to implement the functionality of rman backup optimization. I did a little test to verify its use and not found helpful whenever I do a full backup to backup all data files and nothing is ignored.

According to the ORACLE notes as below, ideally, once I backup the database, the backup else should jump not all files.


If you enable Backup Optimization and then the BACKUP command ignores backup files when the identical file has already been saved on the specified device type.


Please note that it's my test server and no connections are on the DB. Listener is broken. If no point of change Yvert. I'm missing here something?

Oracle - 11.2.0.4 version

RMAN > run

2 > {allocate channel ch1 type

3 > disc format ' / oraback/RMAN/%d_DB_%u_%s_%p';

4 > backup database;

{5 >}

allocated channel: ch1

channel ch1: SID = 172 type device = DISK

From April 28, 15 backup

channel ch1: start the backup set full datafile

channel ch1: specification-datafile in the backup set (s)

Enter a number of file datafile = 00001 name=/u01/oradata/nmsdata/system01.dbf

Enter a number of file datafile = name=/u04/oradata/nmsdata/NMSINFO_DATA01_02.dbf 00006

Enter a number of file datafile = 00005 name=/u04/oradata/nmsdata/NMSINFO_DATA01_01.dbf

Enter a number of file datafile = name=/u03/oradata/nmsdata/NMSINFO_INDX01.dbf 00007

Enter a number of file datafile = name=/u01/oradata/nmsdata/undotbs01.dbf 00003

Enter a number of file datafile = name=/u01/oradata/nmsdata/sysaux01.dbf 00002

channel ch1: from room 1 to 28 April 15

channel ch1: finished piece 1 at 28 April 15

total, handle = / oraback/RMAN/NMSDATA_DB_ngq5g2vv_71408_1 tag = comment TAG20150428T042431 = NONE

channel ch1: complete set of backups, time: 00:00:25

channel ch1: start the backup set full datafile

channel ch1: specification-datafile in the backup set (s)

Enter a number of file datafile = name=/u01/oradata/nmsdata/users01.dbf 00004

channel ch1: from room 1 to 28 April 15

channel ch1: finished piece 1 at 28 April 15

total, handle = / oraback/RMAN/NMSDATA_DB_nhq5g30o_71409_1 tag = comment TAG20150428T042431 = NONE

channel ch1: complete set of backups, time: 00:00:01

Backup finished April 28, 15

From control file and SPFILE Autobackup 28 April 15

room handle=/opt/app/oracle/product/11.2.0.4_ee/dbs/c-3349937142-20150428-00 comment = NONE

File control finished and Autobackup SPFILE to 28 April 15

output channel: ch1

RMAN > show all.

RMAN settings for database with db_unique_name CHNMCPRDB1_NMSDATA are:

CONFIGURE RETENTION POLICY TO RECOVERY OF 7-DAY WINDOW;

CONFIGURE BACKUP OPTIMIZATION # by default

SET UP DEFAULT DISK DEVICE TYPE; # by default

CONFIGURE CONTROLFILE AUTOBACKUP ON;

CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO "%F"

SET UP THE DEVICE TYPE DISK PARALLELISM 1 BACKUP BACKUPSET TYPE; # by default

CONFIGURE BACKUP OF DATA TO DISK FILE TYPE DEVICE TO 1; # by default

CONFIGURE BACKUP ARCHIVELOG FOR DEVICE TYPE DISK TO 1; # by default

CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT 1 ' ${backup_dir}/${ORACLE_SID}/%d_t%t_s%s_p%p';}

CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT ' / oraback/RMAN;

CONFIGURE MAXSETSIZE TO UNLIMITED; # by default

CONFIGURE ENCRYPTION OF DATABASE # by default

CONFIGURE THE ENCRYPTION ALGORITHM "AES128"; # by default

CONFIGURE COMPRESSION ALGORITHM 'BASIC' AND 'DEFAULT' LIBERATION OPTIMIZE FOR TRUE LOAD; # by default

CONFIGURE THE NONE ARCHIVELOG DELETION POLICY; # by default

CONFIGURE SNAPSHOT CONTROLFILE NAME TO ' / tmp/nmsdata_snapshot_arch.ctl ';

RMAN > set UP OPTIMIZATION BACKUP;

new RMAN configuration settings:

CONFIGURE BACKUP OPTIMIZATION

new RMAN configuration settings are stored successfully

RMAN > run

{allocate channel ch1 type

disc format ' / oraback/RMAN/%d_DB_%u_%s_%p';

backup database;

}

2 > 3 > 4 > 5 >

allocated channel: ch1

channel ch1: SID = 172 type device = DISK

From April 28, 15 backup

channel ch1: start the backup set full datafile

channel ch1: specification-datafile in the backup set (s)

Enter a number of file datafile = 00001 name=/u01/oradata/nmsdata/system01.dbf

Enter a number of file datafile = name=/u04/oradata/nmsdata/NMSINFO_DATA01_02.dbf 00006

Enter a number of file datafile = 00005 name=/u04/oradata/nmsdata/NMSINFO_DATA01_01.dbf

Enter a number of file datafile = name=/u03/oradata/nmsdata/NMSINFO_INDX01.dbf 00007

Enter a number of file datafile = name=/u01/oradata/nmsdata/undotbs01.dbf 00003

Enter a number of file datafile = name=/u01/oradata/nmsdata/sysaux01.dbf 00002

channel ch1: from room 1 to 28 April 15

channel ch1: finished piece 1 at 28 April 15

total, handle = / oraback/RMAN/NMSDATA_DB_njq5g509_71411_1 tag = comment TAG20150428T045849 = NONE

channel ch1: complete set of backups, time: 00:00:25

channel ch1: start the backup set full datafile

channel ch1: specification-datafile in the backup set (s)

Enter a number of file datafile = name=/u01/oradata/nmsdata/users01.dbf 00004

channel ch1: from room 1 to 28 April 15

channel ch1: finished piece 1 at 28 April 15

total, handle = / oraback/RMAN/NMSDATA_DB_nkq5g512_71412_1 tag = comment TAG20150428T045849 = NONE

channel ch1: complete set of backups, time: 00:00:01

Backup finished April 28, 15

From control file and SPFILE Autobackup 28 April 15

piece handle=/opt/app/oracle/product/11.2.0.4_ee/dbs/c-3349937142-20150428-01 comment = NONE

File control finished and Autobackup SPFILE to 28 April 15

output channel: ch1

RMAN > exit

LANCERIQUE wrote:

Hi Tom,

Well well, then that contradicts what oracle mentioned in the docs?

Not at all.  It does that contradict your understanding of what constitutes a data file "changed."

Also, I pulled data backup and not backup tablespace.

Is not serious. The principle is the same.

Also check your statement my understand that if there are 100 files of data and rarely used, Yvert will be updated for each of them?

If they are not unalterable, then Yes.  That's how oracle ensures consistency between the data files.

Kind regards

Nikhil Mehta.

Tags: Database

Similar Questions

  • RMAN how to handle simple full backups every day with the archivelogs



    Hello

    My use of Oracle DB is about 200 GB on a file system 1 TB from a NetApp file server. (i.e. 20% currently use)

    I'm not so attracted to use the RMAN catalog for the love of simplicity.

    Also, I have an affinity to run a full backup "Instant NetApp" every day, without running all the incremental backups.

    My snapshots of NetApp have a framework for the retention of 7 days.

    I think to implement a RMAN full backup script that includes the following to run every night:

    Run {}

    delete archivelog all;                    (to clean up the archive logs that are accumulated for each day)

    backup database;                          (for a full backup every night)

    }

    This will be a good idea?

    Will this coverage to back up all that I could restore if there is a problem.


    Part of the great mystery for me is on the restoration of the data that is generated during the execution of the "backup database" command in the RMAN.

    Any advice would be appreciated.

    Thank you!

    -Steve

    If you perform the backup in this order, you will get in big trouble.

    It is preferable to run the backup as follows:

    (1) the following parameters, you have to do only once:

    configure backup optimization

    Configure retention policy to recovery of 7-day window;

    Configure controlfile autobackup on;

    (2) backup every day:

    backup database more entered archivelog delete;

    delete noprompt obsolete;

    unrecoverable report;

    RMAN automatically takes care of cleaning the old backups<7 days="" and="" saved="">

    Concerning

    Patrick

  • Need to restore only 1 scheme of rman full backup

    Hi all

    Database version: 11.1
    Linux x86_64

    I dropped one of the user of our existing OEM repository database.
    I want to restore it from the backup rman I know you cannot restore only 1 user in the rman.
    I have not any expdp for users.
    can I use rman restore time and recovery point
    Please guide me with step by step restoration.
    also only the user schemas has been deleted and not the tablespace or anything like that.
    No flashback created restore point.

    Thank you

    Hello again;

    The binaries would be the Oracle software. This will not affect that.

    Make a full stop and then the four commands that I listed before replacing your Date / time.

    Also called a "recovery incomplete rman.

    Best regards

    mseberg

  • RMAN full backup - size SPFile Total 0.00 K

    Hello, I do some tests and I need help to understand if there is something wrong in what I'm trying to do (a full backup with RMAN, DB is 11 GR 2).

    If I perform a simple full DB Backup, all past file and it completes successfully. No errors.

    Controlfile Autobackup is enabled, so I expect to find the control file and SPFile included in the backup, too.

    But if I go to Console 'EM-> availability-> backup reports

    It is reported the following:

    ---
    Entry summary

    Data file
    Backup files 8
    Separate files 8
    Tablespaces separate 7
    Total size 11.16 G
    More former Checkpoint time Aug 29, 2011 01:00:29
    Most recent Checkpoint time Aug 29, 2011 01:04:37

    Control file
    Backup files 1
    Separate files 1
    Total 22.95 M size
    More former Checkpoint time Aug 29, 2011 01:05:44
    Most recent Checkpoint time Aug 29, 2011 01:05:44

    SPFile
    Backup files 1
    Separate files 1
    Size total 0.00 K
    More old time change Aug 29, 2011 01:02:12
    Last Modification time Aug 29, 2011 01:02:12
    ---


    Looks SPFile size on backup is '0' and not what I was expecting (SPFile is actually being used and it is not empty).

    Should what kind of verification I do to see if everything is OK? Maybe a non-destructive.

    Thank you very much!

    Hello R,

    (1) the SPFile will be restored in a custom location / name of my choice ("spfile_restore.ora")
    which may be different from the ACTIVE SPFile

    I would say that must be different from the current spfile...

    (2) the SPFile ACTIVE will always be in place and will always be that "in use" even after restoring

    Correct the restored spfile will not be part of any oracle process.
    Kind regards
    Tycho

  • restore the backup - RMAN optimization

    Hello

    Please help me define "restoring backup optimization on ' RMAN?

    Version 10G / 11G

    Kind regards
    Mathew.

    He didn't need any special settings. Its default behavior.
    http://download.Oracle.com/docs/CD/B28359_01/backup.111/b28270/glossary.htm#CHDJBHID

    HTH
    Aman...

  • Backup RMAN of TAR FULL after finishing.

    Hi all
    We plan backups RMAN from EMGC 10
    Databases / DB / availability / schedule backup / database backup schedule / all custom...
    I can add the line of tar in the RMAN script but the RMAN does not tar - czvf...

    How is it possible to tar backup after arriving? I can string a bash script?
    Thank you
    * T

    When you use the OEM GC configuration for running a scheduled backup, OEM GC run an RMAN session. You will not be able to change this option by inserting the shell commands.

    What you could do, is have the OEM GC to create the RMAN script for you (or creat it yourself), store the RMAN script in your catalog RMAN and create a BONE type Job. In this job, you can run a shell script, which first start RMAN session and run the RMAN script stored, that you created, and then run your command "tar".

    You can even think to do that with a multi step employment type, so that if your RMAN defective stage, you do not want the step of tar to execute.

    Concerning
    Rob

  • The front last backup RMAN delete file even if redundancy on 3 days

    Dear Oracle gurus

    My environment
    Node 2 11g R2 Cluster with ASM
    Database 11.2.0.3.0

    I got to know that file below is delete by RMAN even if redundancy on 3 days
    * 19M rman_bkp_3uo9vf2f_1_1_ORCL_20130518_DATAFILE_LVL1_18_05_2013 * is removed

    can you please provide a reason or recommendations to correct the backup configuration

    =========Before Backup========================================
    917M rman_bkp_1jo97nk1_1_1_ORCL_20130509_DATAFILE_LVL0_09_05_2013
    Rman_bkp_1ko97nk1_1_1_ORCL_20130509_DATAFILE_LVL0_09_05_2013 669M
    Rman_bkp_1ro9ac02_1_1_ORCL_20130510_DATAFILE_LVL1_10_05_2013 101M
    64M rman_bkp_1so9ac02_1_1_ORCL_20130510_DATAFILE_LVL1_10_05_2013
    116M rman_bkp_23o9d0br_1_1_ORCL_20130511_DATAFILE_LVL1_11_05_2013
    Rman_bkp_24o9d0br_1_1_ORCL_20130511_DATAFILE_LVL1_11_05_2013 85M
    1003M rman_bkp_2bo9fko2_1_1_ORCL_20130512_DATAFILE_LVL0_12_05_2013
    689M rman_bkp_2co9fko2_1_1_ORCL_20130512_DATAFILE_LVL0_12_05_2013
    87M rman_bkp_2jo9i942_1_1_ORCL_20130513_DATAFILE_LVL1_13_05_2013
    Rman_bkp_2ko9i942_1_1_ORCL_20130513_DATAFILE_LVL1_13_05_2013 73M
    110M rman_bkp_2so9ktg1_1_1_ORCL_20130514_DATAFILE_LVL1_14_05_2013
    Rman_bkp_2to9ktg1_1_1_ORCL_20130514_DATAFILE_LVL1_14_05_2013 103M
    115M rman_bkp_34o9nhs2_1_1_ORCL_20130515_DATAFILE_LVL1_15_05_2013
    88M rman_bkp_35o9nhs2_1_1_ORCL_20130515_DATAFILE_LVL1_15_05_2013
    1011M rman_bkp_3co9q682_1_1_ORCL_20130516_DATAFILE_LVL0_16_05_2013
    701M rman_bkp_3do9q682_1_1_ORCL_20130516_DATAFILE_LVL0_16_05_2013
    226M rman_bkp_3ko9sqkk_1_1_ORCL_20130517_DATAFILE_LVL1_17_05_2013
    215M rman_bkp_3lo9sqkl_1_1_ORCL_20130517_DATAFILE_LVL1_17_05_2013
    * 230M rman_bkp_3so9vf1v_1_1_ORCL_20130518_DATAFILE_LVL1_18_05_2013 *.
    * 568M rman_bkp_3to9vf20_1_1_ORCL_20130518_DATAFILE_LVL1_18_05_2013 *.
    * 19M rman_bkp_3uo9vf2f_1_1_ORCL_20130518_DATAFILE_LVL1_18_05_2013 *.
    ===========================================================================

    ===================After Backup========================================================
    -rw - r - 1 oracle oinstall 1049755648 12 May 20:05 rman_bkp_2bo9fko2_1_1_ORCL_20130512_DATAFILE_LVL0_12_05_2013
    -rw - r - 1 oracle oinstall 720715776 12 May 20:05 rman_bkp_2co9fko2_1_1_ORCL_20130512_DATAFILE_LVL0_12_05_2013
    -rw - r - 1 oracle oinstall 91013120 13 May 20:05 rman_bkp_2jo9i942_1_1_ORCL_20130513_DATAFILE_LVL1_13_05_2013
    -rw - r - 1 oracle oinstall 75726848 13 May 20:05 rman_bkp_2ko9i942_1_1_ORCL_20130513_DATAFILE_LVL1_13_05_2013
    -rw - r - 1 oracle oinstall 114327552 14 May 20:05 rman_bkp_2so9ktg1_1_1_ORCL_20130514_DATAFILE_LVL1_14_05_2013
    -rw - r - 1 oracle oinstall 107782144 14 May 20:05 rman_bkp_2to9ktg1_1_1_ORCL_20130514_DATAFILE_LVL1_14_05_2013
    -rw - r - 1 oracle oinstall 120307712 15 May 20:05 rman_bkp_34o9nhs2_1_1_ORCL_20130515_DATAFILE_LVL1_15_05_2013
    -rw - r - 1 oracle oinstall 91226112 15 May 20:05 rman_bkp_35o9nhs2_1_1_ORCL_20130515_DATAFILE_LVL1_15_05_2013
    -rw - r - 1 oracle oinstall 1058840576 16 May 20:05 rman_bkp_3co9q682_1_1_ORCL_20130516_DATAFILE_LVL0_16_05_2013
    -rw - r - 1 oracle oinstall 733757440 16 May 20:05 rman_bkp_3do9q682_1_1_ORCL_20130516_DATAFILE_LVL0_16_05_2013
    -rw - r - 1 oracle oinstall 236716032 17 May 20:05 rman_bkp_3ko9sqkk_1_1_ORCL_20130517_DATAFILE_LVL1_17_05_2013
    -rw - r - 1 oracle oinstall 224174080 17 May 20:05 rman_bkp_3lo9sqkl_1_1_ORCL_20130517_DATAFILE_LVL1_17_05_2013
    -rw - r - 1 oracle oinstall 594411520 18 May 20:06 rman_bkp_3to9vf20_1_1_ORCL_20130518_DATAFILE_LVL1_18_05_2013
    -rw - r - 1 oracle oinstall 240123904 18 May 20:06 rman_bkp_3so9vf1v_1_1_ORCL_20130518_DATAFILE_LVL1_18_05_2013
    -rw - r - 1 oracle oinstall 1073741824 19 May 20:06 rman_bkp_45oa23eh_1_1_ORCL_20130519_DATAFILE_LVL0_19_05_2013
    -rw - r - 1 oracle oinstall 1073741824 19 May 20:06 rman_bkp_44oa23eg_1_1_ORCL_20130519_DATAFILE_LVL0_19_05_2013
    -rw - r - 1 oracle oinstall 254590976 19 May 20:06 rman_bkp_45oa23eh_2_1_ORCL_20130519_DATAFILE_LVL0_19_05_2013
    -rw - r - 1 oracle oinstall 709885952 19 May 20:07 rman_bkp_44oa23eg_2_1_ORCL_20130519_DATAFILE_LVL0_19_05_2013
    -rw - r - 1 oracle oinstall 19234816 19 May 20:07 rman_bkp_46oa23f7_1_1_ORCL_20130519_DATAFILE_LVL0_19_05_2013
    ==================================================================================


    Configuration of RMAN
    bash-$3.2 rman target /.

    Recovery Manager: release 11.2.0.3.0 - Production the Sun may 19 14:34:26 2013

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

    connected to target database: ORCL (DBID = 3171721304)

    RMAN > show all.

    using the control file of the target instead of recovery catalog database
    RMAN settings for database with db_unique_name ORCLDR are:
    CONFIGURE REDUNDANCY 3 RETENTION STRATEGY;
    CONFIGURE BACKUP OPTIMIZATION
    SET UP DEFAULT DISK DEVICE TYPE; # by default
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO "%F" # by default
    SET UP THE DEVICE TYPE DISK PARALLELISM 1 BACKUP BACKUPSET TYPE; # by default
    CONFIGURE BACKUP OF DATA TO DISK FILE TYPE DEVICE TO 1; # by default
    CONFIGURE BACKUP ARCHIVELOG FOR DEVICE TYPE DISK TO 1; # by default
    CONFIGURE MAXSETSIZE TO UNLIMITED; # by default
    CONFIGURE ENCRYPTION OF DATABASE # by default
    CONFIGURE THE ENCRYPTION ALGORITHM "AES128"; # by default
    CONFIGURE COMPRESSION ALGORITHM 'BASIC' AND 'DEFAULT' LIBERATION OPTIMIZE FOR TRUE LOAD; # by default
    CONFIGURE THE NONE ARCHIVELOG DELETION POLICY; # by default
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO ' / u01/app/oracle/product/11.2.0/db_1/dbs/snapcf_orcldr2.f'; # by default

    RMAN > exit
    =========================================================================================
    RMAN Full Backup Script
    RMAN level 0
    #! / bin/bash
    . /Home/Oracle/.bash_profile
    logloc = 'date' + rman_backup_lvl0_orcldr_ %m %y hour %M %S %d ".log
    Target of $ORACLE_HOME/bin/rman = / log = / backup/RMAN_Log / $logloc < < EOF
    run
    {
    allocate channels ch1 type disk maxpiecesize = 1024 M;
    allocate channel ch2 type disk maxpiecesize = 1024M;
    database backup incremental level 0 FORMAT ' / backup/RMAN_Backup/rman_bkp_%U_%d_%T_DATAFILE_LVL0_%D_%M_%Y'
    include current controlfile more archivelog delete all entries
    tag 'datafile_full ';
    }
    delete noprompt obsolete;
    EXIT;
    EXPRESSIONS OF FOLKLORE
    =========================================================================================

    Backup logs
    -bash-3, $ 2 cat rman_backup_lvl0_ORCLdr_190513200501.log

    Recovery Manager: release 11.2.0.3.0 - Production the Sun may 19 20:05:01 2013

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

    connected to target database: ORCL (DBID = 3171721304)

    RMAN >
    RMAN > 2 > 3 > 4 > 5 > 6 > 7 > 8 >
    using the control file of the target instead of recovery catalog database
    allocated channel: ch1
    channel ch1: SID = instance 1753 = ORCLdr2 = DISK device type

    allocated channel: ch2
    channel ch2: SID = 5 = device type ORCLdr2 = DISK instance


    From backup may 19, 13
    Current archived log
    archived journal of wire 1 to jump with sequence 84; already saved
    skip the journal archived thread 2 with sequence 79; already saved
    channel ch1: Startup archived log backup set
    channel ch1: specifying the newspapers archived in the backup set
    archived journal entry thread = 2 sequence = 81 RECID = 388 STAMP = 815810424
    archived journal entry thread = 1 sequence = 85 RECID = 385 STAMP = 815793508
    archived journal entry thread = 1 sequence = 86 RECID = 389 STAMP = 815810426
    archived journal entry thread = 1 sequence = 87 RECID = 391 STAMP = 815828071
    channel ch1: from room 1 to May 19, 13
    channel ch2: Startup archived log backup set
    channel ch2: specifying the newspapers archived in the backup set
    archived journal thread = sequence 2 = 82 entry RECID = 396 STAMP = 815861105
    archived journal entry thread = 1 sequence = 88 RECID = 393 = 815846442 STAMP
    archived journal entry thread = 1 sequence = 89 RECID = 397 STAMP = 815861108
    channel ch2: from room 1 to May 19, 13
    channel ch1: finished piece 1 to May 19, 13
    piece handle=/u01/app/oracle/product/11.2.0/db_1/dbs/42oa23bp_1_1 tag = DATAFILE_FULL comment = NONE
    channel ch1: from part 2 to May 19, 13
    channel ch2: finished piece 1 to May 19, 13
    piece handle=/u01/app/oracle/product/11.2.0/db_1/dbs/43oa23bp_1_1 tag = DATAFILE_FULL comment = NONE
    channel ch2: from part 2 to May 19, 13
    channel ch1: finished part 2 to May 19, 13
    piece handle=/u01/app/oracle/product/11.2.0/db_1/dbs/42oa23bp_2_1 tag = DATAFILE_FULL comment = NONE
    channel ch1: from 3 to 19 May 13 piece
    channel ch2: finished part 2 to May 19, 13
    piece handle=/u01/app/oracle/product/11.2.0/db_1/dbs/43oa23bp_2_1 tag = DATAFILE_FULL comment = NONE
    channel ch2: complete set of backups, time: 00:01:10
    channel ch2: archived deletion or newspapers
    name=+ORAFRA/ORCLdr/archivelog/logbd0ca058_2_82_814540431.arc RECID archived log file = 396 STAMP = 815861105
    name=+ORAFRA/ORCLdr/archivelog/logbd0ca058_1_88_814540431.arc RECID archived log file = 393 = 815846442 STAMP
    RMAN-08137: WARNING: log archived not deleted, necessary for intelligence or upstream collection procedure
    Archive log file name=+ORAFRA/ORCLdr/archivelog/logbd0ca058_1_89_814540431.arc thread = 1 sequence = 89
    channel ch2: archived deletion or newspapers
    name=+ORAFRA/ORCLdr/archivelog/logbd0ca058_1_84_814540431.arc RECID archived log file = 383 STAMP = 815774802
    name=+ORAFRA/ORCLdr/archivelog/logbd0ca058_2_79_814540431.arc RECID archived log file = 378 STAMP = 815774705
    channel ch1: finished part 3 to 19 May 13
    piece handle=/u01/app/oracle/product/11.2.0/db_1/dbs/42oa23bp_3_1 tag = DATAFILE_FULL comment = NONE
    channel ch1: complete set of backups, time: 00:01:25
    channel ch1: archived deletion or newspapers
    name=+ORAFRA/ORCLdr/archivelog/logbd0ca058_2_81_814540431.arc RECID archived log file = 388 STAMP = 815810424
    name=+ORAFRA/ORCLdr/archivelog/logbd0ca058_1_85_814540431.arc RECID archived log file = 385 STAMP = 815793508
    name=+ORAFRA/ORCLdr/archivelog/logbd0ca058_1_86_814540431.arc RECID archived log file = 389 STAMP = 815810426
    name=+ORAFRA/ORCLdr/archivelog/logbd0ca058_1_87_814540431.arc RECID archived log file = 391 STAMP = 815828071
    Backup finished on 19 May 13

    From backup may 19, 13
    channel ch1: start the incremental level 0 datafile backup set
    channel ch1: specification-datafile in the backup set (s)
    Enter a number of file datafile = name=+ORADATA1/ORCLdr/datafile/statistics2013_5.dbf 00009
    Enter a number of file datafile = 00001 name=+ORASYS/ORCLdr/datafile/system.257.814500985
    Enter a number of file datafile = name=+ORASYS/ORCLdr/datafile/undotbs1.259.814500991 00003
    Enter a number of file datafile = name=+ORADATA1/ORCLdr/datafile/app2.dbf 00006
    Enter a number of file datafile = name=+ORADATA1/ORCLdr/datafile/app.dbf 00008
    Enter a number of file datafile = name=+ORADATA1/ORCLdr/datafile/users01.dbf 00011
    Enter a number of file datafile = name=+ORADATA1/ORCLdr/datafile/users03.dbf 00013
    Enter a number of file datafile = name=+ORADATA1/ORCLdr/datafile/users05.dbf 00015
    Enter a number of file datafile = name=+ORADATA1/ORCLdr/datafile/users07.dbf 00017
    Enter a number of file datafile = name=+ORADATA1/ORCLdr/datafile/cdr2013_5.dbf 00019
    Enter a number of file datafile = name=+ORADATA1/ORCLdr/datafile/cdr2013_7.dbf 00021
    Enter a number of file datafile = name=+ORADATA1/ORCLdr/datafile/cdr2013_9.dbf 00023
    Enter a number of file datafile = name=+ORADATA1/ORCLdr/datafile/cdr2013_11.dbf 00025
    Enter a number of file datafile = name=+ORADATA1/ORCLdr/datafile/cdrmaxdat.dbf 00027
    Enter a number of file datafile = name=+ORADATA1/ORCLdr/datafile/sidradcdr.dbf 00029
    Enter a number of file datafile = name=+ORADATA1/ORCLdr/datafile/statistics2013_8.dbf 00031
    Enter a number of file datafile = name=+ORADATA1/ORCLdr/datafile/statistics2013_10.dbf 00033
    Enter a number of file datafile = name=+ORADATA1/ORCLdr/datafile/interimcdr2013_5.dbf 00037
    Enter a number of file datafile = name=+ORADATA1/ORCLdr/datafile/nterimcdr2013_7.dbf 00039
    Enter a number of file datafile = name=+ORADATA1/ORCLdr/datafile/interimcdr2013_9.dbf 00041
    Enter a number of file datafile = name=+ORADATA1/ORCLdr/datafile/nterimcdr2013_11.dbf 00043
    Enter a number of file datafile = name=+ORADATA1/ORCLdr/datafile/nterimcdrmaxdat.dbf 00045
    Enter a number of file datafile = name=+ORADATA1/ORCLdr/datafile/sidradinterimcdr.dbf 00047
    Enter a number of file datafile = name=+ORADATA1/ORCLdr/datafile/reports.dbf 00048
    channel ch1: from room 1 to May 19, 13
    channel ch2: start the incremental level 0 datafile backup set
    channel ch2: specification-datafile in the backup set (s)
    Enter a number of file datafile = name=+ORASYS/ORCLdr/datafile/sysaux.256.814500977 00002
    Enter a number of file datafile = 00005 name=+ORASYS/ORCLdr/datafile/undotbs2.258.814500987
    Enter a number of file datafile = name=+ORADATA1/ORCLdr/datafile/namestatistics.dbf 00035
    Enter a number of file datafile = name=+ORADATA1/ORCLdr/datafile/gidstatistics.dbf 00036
    Enter a number of file datafile = name=+ORADATA1/ORCLdr/datafile/stat01.dbf 00007
    Enter a number of file datafile = name=+ORADATA1/ORCLdr/datafile/statistics2013_6.dbf 00010
    Enter a number of file datafile = name=+ORADATA1/ORCLdr/datafile/users02.dbf 00012
    Enter a number of file datafile = name=+ORADATA1/ORCLdr/datafile/users04.dbf 00014
    Enter a number of file datafile = name=+ORADATA1/ORCLdr/datafile/users06.dbf 00016
    Enter a number of file datafile = name=+ORADATA1/ORCLdr/datafile/users08.dbf 00018
    Enter a number of file datafile = name=+ORADATA1/ORCLdr/datafile/cdr2013_6.dbf 00020
    Enter a number of file datafile = name=+ORADATA1/ORCLdr/datafile/cdr2013_8.dbf 00022
    Enter a number of file datafile = name=+ORADATA1/ORCLdr/datafile/cdr2013_10.dbf 00024
    Enter a number of file datafile = name=+ORADATA1/ORCLdr/datafile/cdr2013_12.dbf 00026
    Enter a number of file datafile = name=+ORADATA1/ORCLdr/datafile/unameradcdr.dbf 00028
    Enter a number of file datafile = name=+ORADATA1/ORCLdr/datafile/statistics2013_7.dbf 00030
    Enter a number of file datafile = name=+ORADATA1/ORCLdr/datafile/statistics2013_9.dbf 00032
    Enter a number of file datafile = name=+ORADATA1/ORCLdr/datafile/statisticsmaxdate.dbf 00034
    Enter a number of file datafile = name=+ORADATA1/ORCLdr/datafile/radintdr2013_6.dbf 00038
    Enter a number of file datafile = name=+ORADATA1/ORCLdr/datafile/radiusintcdr2013_8.dbf 00040
    Enter a number of file datafile = name=+ORADATA1/ORCLdr/datafile/radinterimcdr2013_10.dbf 00042
    Enter a number of file datafile = name=+ORADATA1/ORCLdr/datafile/tb2013_12.dbf 00044
    Enter a file datafile 00046 name=+ORADATA1/ORCLdr/datafile/tberimcdr.dbf = number
    Enter a number of file datafile = name=+ORASYS/ORCLdr/datafile/users.260.814500995 00004
    channel ch2: from room 1 to May 19, 13
    channel ch1: finished piece 1 to May 19, 13
    total, handle = / backup/RMAN_Backup/rman_bkp_44oa23eg_1_1_ORCL_20130519_DATAFILE_LVL0_19_05_2013 tag = comment TAG20130519T200640 = NONE
    channel ch1: from part 2 to May 19, 13
    channel ch2: finished piece 1 to May 19, 13
    total, handle = / backup/RMAN_Backup/rman_bkp_45oa23eh_1_1_ORCL_20130519_DATAFILE_LVL0_19_05_2013 tag = comment TAG20130519T200640 = NONE
    channel ch2: from part 2 to May 19, 13
    channel ch1: finished part 2 to May 19, 13
    total, handle = / backup/RMAN_Backup/rman_bkp_44oa23eg_2_1_ORCL_20130519_DATAFILE_LVL0_19_05_2013 tag = comment TAG20130519T200640 = NONE
    channel ch1: complete set of backups, time: 00:00:22
    channel ch1: start the incremental level 0 datafile backup set
    channel ch1: specification-datafile in the backup set (s)
    channel ch2: finished part 2 to May 19, 13
    total, handle = / backup/RMAN_Backup/rman_bkp_45oa23eh_2_1_ORCL_20130519_DATAFILE_LVL0_19_05_2013 tag = comment TAG20130519T200640 = NONE
    channel ch2: complete set of backups, time: 00:00:22
    including the current control in the backup set file
    channel ch1: from room 1 to May 19, 13
    channel ch1: finished piece 1 to May 19, 13
    total, handle = / backup/RMAN_Backup/rman_bkp_46oa23f7_1_1_ORCL_20130519_DATAFILE_LVL0_19_05_2013 tag = comment TAG20130519T200640 = NONE
    channel ch1: complete set of backups, time: 00:00:01
    Backup finished on 19 May 13

    From backup may 19, 13
    Current archived log
    channel ch1: Startup archived log backup set
    channel ch1: specifying the newspapers archived in the backup set
    archived journal entry thread = 2 sequence = 83 RECID = 399 STAMP = 815861227
    channel ch1: from room 1 to May 19, 13
    channel ch2: Startup archived log backup set
    channel ch2: specifying the newspapers archived in the backup set
    archived journal entry thread = 1 sequence = 90 RECID = 401 STAMP = 815861227
    channel ch2: from room 1 to May 19, 13
    channel ch1: finished piece 1 to May 19, 13
    piece handle=/u01/app/oracle/product/11.2.0/db_1/dbs/47oa23fd_1_1 tag = DATAFILE_FULL comment = NONE
    channel ch1: complete set of backups, time: 00:00:01
    channel ch1: archived deletion or newspapers
    name=+ORAFRA/ORCLdr/archivelog/logbd0ca058_2_83_814540431.arc RECID archived log file = 399 STAMP = 815861227
    channel ch2: finished piece 1 to May 19, 13
    piece handle=/u01/app/oracle/product/11.2.0/db_1/dbs/48oa23fd_1_1 tag = DATAFILE_FULL comment = NONE
    channel ch2: complete set of backups, time: 00:00:01
    channel ch2: archived deletion or newspapers
    RMAN-08137: WARNING: log archived not deleted, necessary for intelligence or upstream collection procedure
    Archive log file name=+ORAFRA/ORCLdr/archivelog/logbd0ca058_1_90_814540431.arc thread = 1 sequence = 90
    Backup finished on 19 May 13

    From control file and SPFILE Autobackup 19 May 13
    room handle=/u01/app/oracle/product/11.2.0/db_1/dbs/c-3171721304-20130519-00 comment = NONE
    File control finished and Autobackup SPFILE to 19 May 13
    output channel: ch1
    output channel: ch2

    RMAN >
    RMAN >
    RMAN retention policy apply to the order
    RMAN retention policy is set to 3 redundancy
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID = instance 1753 = ORCLdr2 = DISK device type
    Remove the following obsolete backups and copies:
    Making key time filename/handle type
    -------------------- ------ ------------------ --------------------
    8 4 may control file copy 13 /u01/app/oracle/product/11.2.0/db_1/dbs/snapcf_ORCLdr1.f
    Game save 40 9 May 13
    Save the piece 40 9 May 13/backup/RMAN_Backup/rman_bkp_1jo97nk1_1_1_ORCL_20130509_DATAFILE_LVL0_09_05_2013
    Save game 39 may 9, 13
    Save the song 39 9 May 13/backup/RMAN_Backup/rman_bkp_1ko97nk1_1_1_ORCL_20130509_DATAFILE_LVL0_09_05_2013
    Backs up the entire 42 9 May 13
    Backup total 42 9 May 13 /u01/app/oracle/product/11.2.0/db_1/dbs/1mo97nkl_1_1
    Backs up the entire 43 9 May 13
    Backup total 43 9 May 13 /u01/app/oracle/product/11.2.0/db_1/dbs/1no97nkl_1_1
    Save game 46 may 10, 13
    Backup total 46 may 10, 13 /u01/app/oracle/product/11.2.0/db_1/dbs/1po9abvp_1_1
    Game backup 45 may 10, 13
    Backup total 45 10 May 13 /u01/app/oracle/product/11.2.0/db_1/dbs/1qo9abvp_1_1
    Save game 47 10 May 13
    Save room 47 10 May 13/backup/RMAN_Backup/rman_bkp_1ro9ac02_1_1_ORCL_20130510_DATAFILE_LVL1_10_05_2013
    Backs up the entire 48 may 10, 13
    Save the piece 48 10 May 13/backup/RMAN_Backup/rman_bkp_1so9ac02_1_1_ORCL_20130510_DATAFILE_LVL1_10_05_2013
    Backs up the entire 50 10 May 13
    Backup total 50 10 May 13 /u01/app/oracle/product/11.2.0/db_1/dbs/1uo9ac0l_1_1
    Backs up the entire 51 may 10, 13
    Backup total 51 may 10, 13 /u01/app/oracle/product/11.2.0/db_1/dbs/1vo9ac0l_1_1
    Backs up the entire 54 may 11, 13
    Backup total 54 may 11, 13 /u01/app/oracle/product/11.2.0/db_1/dbs/21o9d0bi_1_1
    Save game 53 may 11, 13
    Backup total 53 may 11, 13 /u01/app/oracle/product/11.2.0/db_1/dbs/22o9d0bi_1_1
    Save game 55 may 11, 13
    Save the piece 55 may 11, 13/backup/RMAN_Backup/rman_bkp_23o9d0br_1_1_ORCL_20130511_DATAFILE_LVL1_11_05_2013
    Backs up the entire 56 may 11, 13
    Save the song 56 11 May 13/backup/RMAN_Backup/rman_bkp_24o9d0br_1_1_ORCL_20130511_DATAFILE_LVL1_11_05_2013
    Backs up the entire 58 may 11, 13
    Backup total 58 may 11, 13 /u01/app/oracle/product/11.2.0/db_1/dbs/26o9d0cj_1_1
    Save game 59 may 11, 13
    Backup total 59 may 11, 13 /u01/app/oracle/product/11.2.0/db_1/dbs/27o9d0cj_1_1
    Backs up the entire 62 12 May 13
    Backup total 62 12 May 13 /u01/app/oracle/product/11.2.0/db_1/dbs/29o9fknp_1_1
    Save game 61 12 May 13
    Backup total 61 12 May 13 /u01/app/oracle/product/11.2.0/db_1/dbs/2ao9fknp_1_1
    Save game 77 14 May 13
    Backup total 77 14 May 13 /u01/app/oracle/product/11.2.0/db_1/dbs/c-3171721304-20130514-00
    Game backup 101 16 May 13
    Backup total 101 16 May 13 /u01/app/oracle/product/11.2.0/db_1/dbs/c-3171721304-20130516-00
    Backs up the entire 114 18 May 13
    Save the song 117 may 18, 13/backup/RMAN_Backup/rman_bkp_3uo9vf2f_1_1_ORCL_20130518_DATAFILE_LVL1_18_05_2013
    remove the item from backup
    backup piece handle = / backup/RMAN_Backup/rman_bkp_1jo97nk1_1_1_ORCL_20130509_DATAFILE_LVL0_09_05_2013 RECID = 40 STAMP = 814997122
    remove the item from backup
    backup piece handle = / backup/RMAN_Backup/rman_bkp_1ko97nk1_1_1_ORCL_20130509_DATAFILE_LVL0_09_05_2013 RECID = STAMP 39 = 814997122
    remove the item from backup
    handle=/U01/app/Oracle/product/11.2.0/Db_1/DBS/1mo97nkl_1_1 element of backup RECID = STAMP 42 = 814997141
    remove the item from backup
    handle=/U01/app/Oracle/product/11.2.0/Db_1/DBS/1no97nkl_1_1 element of backup RECID = STAMP 43 = 814997141
    remove the item from backup
    handle=/U01/app/Oracle/product/11.2.0/Db_1/DBS/1po9abvp_1_1 element of backup RECID = STAMP 46 = 815083513
    remove the item from backup
    handle=/U01/app/Oracle/product/11.2.0/Db_1/DBS/1qo9abvp_1_1 element of backup RECID = STAMP 45 = 815083514
    remove the item from backup
    backup piece handle = / backup/RMAN_Backup/rman_bkp_1ro9ac02_1_1_ORCL_20130510_DATAFILE_LVL1_10_05_2013 RECID = STAMP 47 = 815083522
    remove the item from backup
    backup piece handle = / backup/RMAN_Backup/rman_bkp_1so9ac02_1_1_ORCL_20130510_DATAFILE_LVL1_10_05_2013 RECID = 48 STAMP = 815083522
    remove the item from backup
    handle=/U01/app/Oracle/product/11.2.0/Db_1/DBS/1uo9ac0l_1_1 element of backup RECID = STAMP 50 = 815083541
    remove the item from backup
    handle=/U01/app/Oracle/product/11.2.0/Db_1/DBS/1vo9ac0l_1_1 element of backup RECID = STAMP 51 = 815083541
    remove the item from backup
    handle=/U01/app/Oracle/product/11.2.0/Db_1/DBS/21o9d0bi_1_1 backup RECID piece = 54 STAMP = 815169906
    remove the item from backup
    handle=/U01/app/Oracle/product/11.2.0/Db_1/DBS/22o9d0bi_1_1 element of backup RECID = STAMP 53 = 815169906
    remove the item from backup
    backup piece handle = / backup/RMAN_Backup/rman_bkp_23o9d0br_1_1_ORCL_20130511_DATAFILE_LVL1_11_05_2013 RECID = STAMP 55 = 815169915
    remove the item from backup
    backup piece handle = / backup/RMAN_Backup/rman_bkp_24o9d0br_1_1_ORCL_20130511_DATAFILE_LVL1_11_05_2013 RECID = STAMP 56 = 815169917
    remove the item from backup
    handle=/U01/app/Oracle/product/11.2.0/Db_1/DBS/26o9d0cj_1_1 element of backup RECID = STAMP 58 = 815169939
    remove the item from backup
    handle=/U01/app/Oracle/product/11.2.0/Db_1/DBS/27o9d0cj_1_1 element of backup RECID = 59 STAMP = 815169939
    remove the item from backup
    handle=/U01/app/Oracle/product/11.2.0/Db_1/DBS/29o9fknp_1_1 element of backup RECID = 62 STAMP = 815256313
    remove the item from backup
    handle=/U01/app/Oracle/product/11.2.0/Db_1/DBS/2ao9fknp_1_1 backup RECID piece = 61 = 815256313 STAMP
    remove the item from backup
    handle=/U01/app/Oracle/product/11.2.0/Db_1/DBS/c-3171721304-20130516-00 element of backup RECID = 101 STAMP = 815601943
    remove the item from backup
    backup piece handle = / backup/RMAN_Backup/rman_bkp_3uo9vf2f_1_1_ORCL_20130518_DATAFILE_LVL1_18_05_2013 RECID = 117 STAMP = 815774800
    20 objects deleted

    RMAN-06207: WARNING: 2 items could not be removed for DISC due channels
    RMAN-06208: status do not match. Use the OVERLAP command to set status
    RMAN-06210: list of relevant objects
    RMAN-06211: =.
    RMAN-06212: filename/Type object Handle
    RMAN-06213: --------------- ---------------------------------------------------
    RMAN-06214: copy of the data /u01/app/oracle/product/11.2.0/db_1/dbs/snapcf_ORCLdr1.f file
    RMAN-06214: /u01/app/oracle/product/11.2.0/db_1/dbs/c-3171721304-20130514-00 piece of backup


    RMAN >
    RMAN >

    Complete recovery manager.
    -bash - $3.2

    Concerning
    Hitgon

    Published by: hitgon on May 20, 2013 02:09

    Published by: hitgon on May 20, 2013 02:15

    It contained a real data file? Or was it a backup controlfile? A backup controlfile may be outdated if another backup controlfile does not capture the same information it contains.

    Hemant K Collette

  • Cannot find autobackup controlfiles even if we had Sunday full backup

    I got this when trying to restore controlfile:
    RMAN > 2 > 3 > 4 > 5 > 6 > 7 > 8 > 9 > 10 >
    allocated channel: t1
    channel t1: SID = 1034 device type = SBT_TAPE
    channel t1: NMO v5.0.0.0

    command sent on the channel: t1

    executing command: SET CONTROLFILE AUTOBACKUP FORMAT

    From restoration to 25 October 12

    channel t1: looking for AUTOBACKUP day: 20121025
    channel t1: looking for AUTOBACKUP day: 20121024
    channel t1: looking for AUTOBACKUP day: 20121023
    channel t1: looking for AUTOBACKUP day: 20121022
    channel t1: looking for AUTOBACKUP day: 20121021
    channel t1: looking for AUTOBACKUP day: 20121020
    channel t1: looking for AUTOBACKUP day: 20121019
    channel t1: found no AUTOBACKUP in 7 days
    output channel: t1
    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03002: failure of the restore command at 25/10/2012 18:58:23
    RMAN-06172: no AUTOBACKUP couldn't find or handle specified is not a valid copy or a piece


    How to list to see if we have autobackup controlfile? in the full backup on Sunday, there is a full backup.

    Here's the Sunday full backup script:
    connection target;
    configure backup optimization

    Run {}
    Configure controlfile autobackup on;
    Configure controlfile autobackup format for device type 'sbt_tape' to ' / NMO_v_ %f ';

    DATABASE INCREMENTAL level 0 BACKUP more archivelog delete all entries "prod" TAG

    output channel ch00;
    output channel ch01.
    output channel ch02;
    output channel ch03;

    Hello again;

    Looks like you found them! Great! So they mean only the part %F. always good to learn something new.

    / NMO_v_c-258815187-20121025-00

    Not having automatic not backup job is a nightmare. I know that I have bet on it.

    Thanks for letting me know before the end of my day.

    Have a good night.

    mseberg

  • UNDO Tablespace backup-RMAN

    Hi/team champions,
    I'm confused in full DB Backup RMAN why CANCEL tablespce is included even we include also archive logs.
    in a Word?
    Why UNDO tablespace backup is necessary while taking backup RMAN?

    Kind regards
    Shitesh Shukla

    If I do not want to include the UNDO tablespce in my backup

    What happens if I took only backup files except CANCELLATION n TEMP

    NOT an option. You must include UNDO. 11g has optimization in order to safeguard an Undo tablespace.
    10 gr 2 what you pourriez do is

    1. create a new Undo Tablespace
    2. position yourself in the new Undo Tablespace
    3. check that the old Tablespace Undo is no longer in service - confirm that there is no transaction active in the inside undo segments
    4. remove the old Undo tablespace
    5. start your RMAN backup

    You run the risk of
    a. wait long to step 3
    b. ORA - 1555 s for users once you drop the Undo tablespace to step 4.

    Hemant K Collette
    http://hemantoracledba.blogspot.com

  • backup rman design database with phsical ensures

    Hello

    12 c database, after physical expectation is created, I need backup rman configuration,

    The goal is: a) backup of database b) remove archivelogs that have been backed up, free up space FRA.

    Design as below:

    1:

    in RMAN (primary and standby):
    RMAN >
    Configure controlfile autobackup on;
    set the type of backup device type disk compressed backupset;
    CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED ON ALL STANDBY;


    2: primary school:
    RMAN > CONFIGURE RETENTION POLICY to the 5 DAY RECOVERY WINDOW;

    3: in priamry, turn on track changes to block

    4: primary, implemented since rman level 0 (full backup) on Sunday.

    5: in the primary, the installation program rman level 1 backup from Monday to Saturday.

    6: primary, set up since rman "save archive backup delete them all obsolete" every hour;

    questions here:

    1. as in step 5, for the protection of the o and delete archivelog, the script using:

    Run {}
    allocate channel d1 type disk;
    SQL 'alter system archive log current';
    overlap archivelog all;
    backup AS COMPRESSED BACKUPSET archivelog all delete them all input;
    output channel d1;
    }

    I wonder if ' archivelog all delete all entries "will delete archivelog which was not taken on the eve of the database and broken standby database

    (hanging and out-of-sync with primary)... it is a concern, is that possible?

    2. If the primary database crashed, failover to standby mode, then restore/recovery primary, switch back to the primary, this design is just? If you have any good suggestions, please let me know.

    (to put it simply, I don't want to full/incremental backup to install standby, primary server CPU is good enough)

    Thank you very much!

    A few brief notes worth a visit:

    Based on Oracle 11 g Data Guard for the backup database and restore

    http://www.databasejournal.com/features/Oracle/article.php/3830766/leveraging-Oracle-11g-Data-Guard-for-database-backup-and-recovery.htm

    Standby database using RMAN

    http://Arup.blogspot.com/2007/07/standby-database-using-RMAN.html

    Best regards

    mseberg

  • Backup RMAN when FRA is configured

    I configured on a db Flash recovery area 11.2.0.4;  I want RMAN full backup to a different location of FRA.

    I ran the full backup of rman with specified format...

    backup in the database format compressed more archivelog backupset ' / backup/BKPD15/%U';

    I see, some files will FRA and a few other small files are there in /backup/BKPD15 location as well.


    What is the right way to take backup to any location of fra.

    Hello

    1. According to my knowledge, you must use two format, since the format applies to only backup of database archives goes for fra (see demo below)

    Demo:

    SYS@demo1 December 27, 15 > db_rec setting sho

    VALUE OF TYPE NAME

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

    db_recovery_file_dest string/u04/temp_data/demo1

    whole large db_recovery_file_dest_size 10G

    db_recycle_cache_size large integer 0

    [oracle@host1 test_backup] $ pwd

    u04 / / test_backup

    [oracle@host1 test_backup] $ ls - tl

    Total 0

    VALUE OF TYPE NAME

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

    db_recovery_file_dest string/u04/temp_data/demo1

    whole large db_recovery_file_dest_size 10G

    db_recycle_cache_size large integer 0

    [oracle@host1 test_backup] $ pwd

    u04 / / test_backup

    [oracle@host1 test_backup] $ ls - tl

    Total 0

    RMAN > backup as database format compressed more archivelog backupset ' / u04/test_backup/%U';

    From December 27, 15 backup

    Current archived log

    using channel ORA_DISK_1

    channel ORA_DISK_1: starting compressed archived log backup set

    channel ORA_DISK_1: specifying the newspapers archived in the backup set

    archived journal thread = 1 = 3 sequence entry RECID = STAMP 3 = 899558724

    channel ORA_DISK_1: from room 1 to 27 December 15

    channel ORA_DISK_1: finished piece 1 to December 27, 15

    total, handle = / u04/test_backup/01qpsba4_1_1 tag = TAG20151227T132524 comment = NONE - location no fra

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

    Backup over at December 27, 15

    From December 27, 15 backup

    using channel ORA_DISK_1

    channel ORA_DISK_1: from complete compressed datafile backup set

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

    Enter a number of file datafile = 00005 name=/u02/demo1/oradata/demo1/example01.dbf

    Enter a number of file datafile = name=/u02/demo1/oradata/demo1/mssm_tbs.dbf 00002

    Enter a number of file datafile = name=/u02/demo1/oradata/demo1/assm_tbs.dbf 00007

    Enter a number of file datafile = 00001 name=/u02/demo1/oradata/demo1/system01.dbf

    Enter a number of file datafile = name=/u02/demo1/oradata/demo1/sysaux01.dbf 00003

    Enter a number of file datafile = name=/u02/demo1/oradata/demo1/undotbs01.dbf 00004

    Enter a number of file datafile = name=/u02/demo1/oradata/demo1/users01.dbf 00006

    channel ORA_DISK_1: from room 1 to 27 December 15

    channel ORA_DISK_1: finished piece 1 to December 27, 15

    piece handle=/u04/temp_data/demo1/DEMO1/backupset/2015_12_27/o1_mf_nnndf_TAG20151227T132526_c7z6cgf1_.bkp tag = TAG20151227T132526 comment = NONE - fra position control file

    channel ORA_DISK_1: complete set of backups, time: 00:01:05

    channel ORA_DISK_1: from complete compressed datafile backup set

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

    including the current control in the backup set file

    including current SPFILE in the backup set

    channel ORA_DISK_1: from room 1 to 27 December 15

    channel ORA_DISK_1: finished piece 1 to December 27, 15

    piece handle=/u04/temp_data/demo1/DEMO1/backupset/2015_12_27/o1_mf_ncsnf_TAG20151227T132526_c7z6fjyk_.bkp tag = TAG20151227T132526 comment = NONE - fra location spfile

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

    Backup over at December 27, 15

    From December 27, 15 backup

    Current archived log

    using channel ORA_DISK_1

    channel ORA_DISK_1: starting compressed archived log backup set

    channel ORA_DISK_1: specifying the newspapers archived in the backup set

    archived journal thread = 1 = 4 sequence entry RECID = STAMP 4 = 899558794

    channel ORA_DISK_1: from room 1 to 27 December 15

    channel ORA_DISK_1: finished piece 1 to December 27, 15

    total, handle = / u04/test_backup/04qpsbca_1_1 tag = TAG20151227T132634 comment = NONE - location no fra

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

    Backup over at December 27, 15

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

    Backup over at December 27, 15

    From December 27, 15 backup

    Current archived log

    using channel ORA_DISK_1

    channel ORA_DISK_1: starting compressed archived log backup set

    channel ORA_DISK_1: specifying the newspapers archived in the backup set

    archived journal thread = 1 = 4 sequence entry RECID = STAMP 4 = 899558794

    channel ORA_DISK_1: from room 1 to 27 December 15

    channel ORA_DISK_1: finished piece 1 to December 27, 15

    total, handle = / u04/test_backup/04qpsbca_1_1 tag = comment TAG20151227T132634 = NONE

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

    Backup over at December 27, 15

    Correct way:

    RMAN > run {}

    2 > allocate channel backup_disk1 type disk;

    3 > backup format COMPRESSED BACKUPSET DATABASE TAG 'DB' ' / u04/test_backup/%U.db'

    4 > format PLUS ARCHIVELOG ' / u04/test_backup/%U.arc';

    {5 >}

    output channel: ORA_DISK_1

    allocated channel: backup_disk1

    channel backup_disk1: SID = 48 type device = DISK

    From December 27, 15 backup

    Current archived log

    channel backup_disk1: compressed boot archived log backup set

    channel backup_disk1: specifying the newspapers archived in the backup set

    archived journal thread = 1 = 3 sequence entry RECID = STAMP 3 = 899558724

    archived journal thread = 1 = 4 sequence entry RECID = STAMP 4 = 899558794

    archived journal entry thread = 1 sequence = RECID 5 = 5 STAMP = 899559573

    channel backup_disk1: from room 1 to 27 December 15

    channel backup_disk1: finished piece 1 to December 27, 15

    piece handle=/u04/test_backup/05qpsc4l_1_1.arc tag = TAG20151227T133933 comment = NONE

    channel backup_disk1: complete set of backups, time: 00:00:01

    Backup over at December 27, 15

    From December 27, 15 backup

    channel backup_disk1: from complete compressed datafile backup set

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

    Enter a number of file datafile = 00005 name=/u02/demo1/oradata/demo1/example01.dbf

    Enter a number of file datafile = name=/u02/demo1/oradata/demo1/mssm_tbs.dbf 00002

    Enter a number of file datafile = name=/u02/demo1/oradata/demo1/assm_tbs.dbf 00007

    Enter a number of file datafile = 00001 name=/u02/demo1/oradata/demo1/system01.dbf

    Enter a number of file datafile = name=/u02/demo1/oradata/demo1/sysaux01.dbf 00003

    Enter a number of file datafile = name=/u02/demo1/oradata/demo1/undotbs01.dbf 00004

    Enter a number of file datafile = name=/u02/demo1/oradata/demo1/users01.dbf 00006

    channel backup_disk1: from room 1 to 27 December 15

    channel backup_disk1: finished piece 1 to December 27, 15

    piece handle=/u04/test_backup/06qpsc4m_1_1.db tag = comment DB = NONE

    channel backup_disk1: complete set of backups, time: 00:00:55

    channel backup_disk1: from complete compressed datafile backup set

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

    including the current control in the backup set file

    including current SPFILE in the backup set

    channel backup_disk1: from room 1 to 27 December 15

    channel backup_disk1: finished piece 1 to December 27, 15

    piece handle=/u04/test_backup/07qpsc6d_1_1.db tag = comment DB = NONE

    channel backup_disk1: complete set of backups, time: 00:00:01

    Backup over at December 27, 15

    From December 27, 15 backup

    Current archived log

    channel backup_disk1: compressed boot archived log backup set

    channel backup_disk1: specifying the newspapers archived in the backup set

    archived journal entry thread = 1 sequence = RECID 6 = 6 STAMP = 899559632

    channel backup_disk1: from room 1 to 27 December 15

    channel backup_disk1: finished piece 1 to December 27, 15

    piece handle=/u04/test_backup/08qpsc6g_1_1.arc tag = TAG20151227T134032 comment = NONE

    channel backup_disk1: complete set of backups, time: 00:00:01

    Backup over at December 27, 15

    output channel: backup_disk1

    RMAN >

    RMAN > list backupset;

    List of backup sets

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

    Time of accomplishment time BS key size Device Type

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

    5.89 5 M DISK 00:00:00 DECEMBER 27, 15

    BP key: 5 location: AVAILABLE Tablet: YES Tag: TAG20151227T133933

    Part name: /u04/test_backup/05qpsc4l_1_1.arc

    List of newspapers archived on backup the value 5

    The next time that THRD Seq YVERT low low time next YVERT

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

    1 3 2871101 DECEMBER 27, 15 2875107 27 DECEMBER 15

    1 4 2875107 27 DECEMBER 15 2875234 27 DECEMBER 15

    1 5 2875234 27 DECEMBER 15 2875749 27 DECEMBER 15

    Time of accomplishment BS key Type LV size device Type elapsed time

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

    6 integer M DISK 00:00:55 360,54 27 December 15

    BP key: 6 location: AVAILABLE Tablet: YES Tag: DB

    Part name: /u04/test_backup/06qpsc4m_1_1.db

    List of files of backup data the value 6

    Name of file LV Type cash SNA cash time

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

    2875757 full 1 /u02/demo1/oradata/demo1/system01.dbf December 27, 15

    2 full 2875757 /u02/demo1/oradata/demo1/mssm_tbs.dbf 27 December 15

    3 full 2875757 /u02/demo1/oradata/demo1/sysaux01.dbf 27 December 15

    4 integer 2875757 /u02/demo1/oradata/demo1/undotbs01.dbf 27 December 15

    5 integer 2875757 /u02/demo1/oradata/demo1/example01.dbf 27 December 15

    6 integer 2875757 /u02/demo1/oradata/demo1/users01.dbf 27 December 15

    7 full 2875757 /u02/demo1/oradata/demo1/assm_tbs.dbf 27 December 15

    Time of accomplishment BS key Type LV size device Type elapsed time

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

    7 full 1.03 M DISK 00:00:02 27 December 15

    BP key: 7 location: AVAILABLE Tablet: YES Tag: DB

    Part name: /u04/test_backup/07qpsc6d_1_1.db

    SPFILE included: Change Date: 27 December 15

    SPFILE db_unique_name: DEMO1

    Control file included: cash SNA: 2875780 cash time: 27 December 15

    Time of accomplishment time BS key size Device Type

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

    13.50 8 K DISK 00:00:00 DECEMBER 27, 15

    BP key: situation 8: AVAILABLE Tablet: YES Tag: TAG20151227T134032

    Part name: /u04/test_backup/08qpsc6g_1_1.arc

    List of newspapers archived in backup set of 8

    The next time that THRD Seq YVERT low low time next YVERT

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

    1 6 2875749 DECEMBER 27, 15 2875786 27 DECEMBER 15

    It may be useful

    -Pavan Kumar N

  • Help remove backups rman (delete the repository)

    Hi all.

    I will soon be administering a few databases Oracle (11g Rel2). Currently these DBs area in log mode archive with a backup rman in place policy.


    I don't like this policy and you want to use my own, incremental backups from updadateable, so this is the plan I have in mind.


    (1) disable mode archive.


    (2) a clean shutdown and take a backup to cold.


    (3) since after you disable archiving, backups RMAN ALL will be unusable, I want to remove them (including newspapers archive and backup sets).


    (4) after the correct deletion, set up some persistent RMAN settings, such as retention policy, controlfile autobackup and optimization.


    (5) turn on archiving


    (6) to set up the new policy based backups backup incremental updateable with duplex location for archiving logs.


    Help is requested on the best way to clean all the backups (3).


    I can manually delete the backups and do overlap, but according to the Oracle Documentation "Delete backup" will be delete all backups for data recorded in the RMAN Repository.


    So which is the best way easier and faster? Will delete backup include the archive logs?


    Thanks in advance. Luis!


    myluism wrote:

    Can I still use them?

    I would say it is "the wrong answer to evil. When you disable log mode archive, you can only back up the database when it is stopped and only to restore and recover the database until the last stop.

    Looking at your plan, I wonder what you are trying to accomplish first log mode archive disabling and then enabling archive mode log again. Why do you think that this is necessary and what you're trying to accomplish.

    You need not disable and enable log mode archive in order to eliminate the obsolete achivelogs.

    If you are not satisfied with the retention policy, simply change it. All backups that are outside your retention policy will be considered as obsolete and you can remove them using RMAN delete obsolete, which will remove all files as well as the appropriate data backup from the RMAN Repository.

    For example you can archivelog delete all the entries backup and then delete the backupset or remove them at the OS level, do overlap and then use delete noprompt expired archivelog all.

    The retention policy applies to backup and archivelogs. However, you can have a separate archivelog deletion policy that applies to archivelogs.

  • Restoring a backup RMAN to a new instance of the database

    Hi guys,.

    I have a problem with restoring a backup RMAN I have with me a new instance of the database. I have with me are:

    1. backup of the SPFile. (O1_MF_NCNNF_CTLFILE_BU_92DVGYO2_. BKP)

    2. backup of the control file (O1_MF_NNSNF_SPFILE_BU_92DVGW9H_. BKP)

    3. the full backup (O1_MF_NNSNF_FULLPROD_BU_92DVGW9H_. BKP)

    I received these files to a client environment and I need to restore these to a new instance of the database on a local computer. I gave an attempt as follows (in Oracle 10 g):

    1, creates a new instance of the (Test75) database using the Oracle Database Configuration Assistant

    2 SET ORACLE_SID = Test75

    3 connection to this instance with RMAN

    4 tried to restore the SPFILE from the BKP file received.


    I make mistakes and cannot continue. I don't know if I will carry out the correct steps. Please help me telling me how I should achieve this goal.


    Thank you.

    1. backup of the SPFile. (O1_MF_NCNNF_CTLFILE_BU_92DVGYO2_. BKP)

    2 backup of control file (O1_MF_NNSNF_SPFILE_BU_92DVGW9H_. BKP)

    The first backuppiece resembles a ControlFile and the other looks like a SPFILE'

    > I get error and cannot continue

    What is the error?  (I assume that you have tried to restore the O1_MF_NNSNF_SPFILE_BU_92DVGW9H_ SPFILE. BKP

    Note that you must also SET the DBID before restoring the controlfile

    Hemant K Collette

  • I still do the full backup after using Data Guard?

    In our system, there is a physical database standby data protection configuration. Is it still necessary to do a full backup and an incremental backup?

    Jackliusr wrote:
    In our system, there is a physical database standby data protection configuration. Is it still necessary to do a full backup and an incremental backup?

    Preferred to have full backup of every day.
    May be you can perform failover of your sleep, in which case there is no availability on the primary database. So do you think that the stability of the monitoring system is the same as elementary school and can give the same performance?
    location of Eve may be too far and it's only disaster.
    Allows another case, suppose that your wait is behind that primary for 4-5 days due to some problems. At the same time your production crashed while you have the chance of data fo loose 4-5 days. Recommended to have a full backup still database primary.

    If you check the stability of database daily watch and able to check your data by opening properly and you want RMAN backup, it is fine. But it is highly recommended to have RMAN backup.

    BTW, you can have RMAN backup full standby, if you want to avoid the resources to be used on the primary

  • full backup

    Hello
    I have create this shell script for rman for Oracle version 8i for full backup (database + controlfile archivelog):
    rman nocatalog <<EOF >> $LOG 2>&1
    connect target sys/password@sid
    run {
    allocate channel c1 type disk format '/backup_full/backup%d_DB_%u_%s_%p';
    backup database;
     sql 'alter system archive log current';
    backup format 'backup%d_CL_%u_%s_%p' current controlfile;
    backup format 'backup%d_AR_%u_%s_%p' archivelog all delete input;
    release channel c1;
        }
    Now I need rman script to Oracle 10.2.0.5 for full backup (database + controlfile archivelog).

    Is this right? Should I change?


    Thanks in advance!

    RAF Royal wrote:
    I have create this shell script:

    MY_PATH="/backup_rman_full/"
    export MY_PATH
    
    rman nocatalog <> $LOG 2>&1
    connect target
    run {
    allocate channel c1 type disk format '${MY_PATH}back%d_%u_%s_%p';
    backup database;
    sql 'alter system archive log current';
    backup format '${MY_PATH}back%d_C_%u_%s_%p' current controlfile;
    backup format '${MY_PATH}back%d_A_%u_%s_%p' archivelog all delete input;
    release channel c1;
    }
    exit
    EOF
    

    Is to correct the syntax?

    Hello

    Your script above looks perfect with the exception of '$LOG' which is not defined. But I prefer to add ORACLE_HOME and ORACLE_SID in your script and also change the format specifier "%u" "%U" while RMAN generates the uniqueness in the backup files. Here's the updated script for you.

    ORACLE_HOME=
    export ORACLE_HOME
    ORACLE_SID=
    export ORACLE_SID
    MY_PATH="/backup_rman_full/"
    export MY_PATH
    
    rman nocatalog <
    

    Think of your son of fence by providing appropriate points if you think they have been answered. Please clean the forum.

Maybe you are looking for

  • I can't download deleted applications

    When I go to the app store and click on "Not on this phone", if I try to re - download some applications by clicking on the download icon (cloud/arrow), the icon changes to the icon (square/circle) download and then immediately of new on the download

  • Pavilion g6 turned off and will not turn back on

    My g6 kept turning off unexpectedly, and now it will not even turn around.  Help, please.

  • Pavilion g series: cannot access the recovery partition &amp; disk do not work

    Try to reset the computer to factory since it does not start in Windows. When I try to enter in recovery "esc then F11" it will just try to load windows. Recovery partition is still there just can't access. So I try to use disc 5 figure set I did 3 y

  • Subtraction of loop between two bays

    IM pretty bad at this naked language with me. I have a table 1 d of eight values and another 1 d array of lets say 800 values. I would like to remove the first element in the first table in the first 100 items in the second table, then the second ele

  • Propert node 'foreground' does not work

    I developed the vi using lv 8.0 in xp. Try now the same code in vista does not work. Is this a known issue with vista or I have to change any settings?