Incremental updated RMAN backup help 11gR2

Dear all,
My manager ask me to build RMAN scripts to backup the 11gr2 database in redhat Linux.
Any help how to achieve this using RMAN?
thank you

I am not asking you to write a script. I can write it by myself.
What I need to know:
1- Incremental level 0 is a must in my case or I can just use the command below and it does everything (Level 0 , level 1 and level 0 incrementally updated)
backup incremental level 1 for recover of copy tag 'ALL_BACKUP' database;
2- The TAG must be unique every week, or can be always "ALL_BACKUP" ?
3- Which retention period is adequate in my case? 8 days are ok ?
4- Should I update the CONTROL_FILE_RECORD_KEEP_TIME to more than 7 days?
thank you

Similar Messages

  • IMac OS X Lion update and backup help needed

    Hello  have a few questions I really need answered, so thank you for looking a this discussion.
    1) I have a Mac OS X Version 10.4.11 2.16 GHz Intel Core 2 Duo. I'm hoping to upgrade to the OX S Lion now in July, so that means I need to back up my data right? My real question is will the Time Capsule work with the operating system I have now? Also which one should I get? I have around 100 GB worth of pictures, music, and video.
    2) Will OS X Lion even work on the computer I have now or is it too old?

    1. Yes, you should backup.  Before you do you should do the following:
    Repair the Hard Drive and Permissions
    Boot from your Snow Leopard Installer disc. After the installer loads select your language and click on the Continue button. When the menu bar appears select Disk Utility from the Utilities menu. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the installer.
    If DU reports errors it cannot fix, then you will need Disk Warrior and/or Tech Tool Pro to repair the drive. If you don't have either of them or if neither of them can fix the drive, then you will need to reformat the drive and reinstall OS X.
    Backup your computer in some way. Use Time Machine or use Disk Utility's Restore option to clone your HDD:
    Clone using Restore Option of Disk Utility
    Open Disk Utility from the Utilities folder.
    Select the destination volume from the left side list.
    Click on the Restore tab in the DU main window.
    Check the box labeled Erase destination.
    Select the destination volume from the left side list and drag it to the Destination entry field.
    Select the source volume from the left side list and drag it to the Source entry field.
    Double-check you got it right, then click on the Restore button.
    Destination means the external backup drive. Source means the internal startup drive.
    2. Lion will most certainly run on your computer. Requirements are a Core 2 Duo or better, 2 GBs of installed RAM, and 8-10 GBs of free space on the hard drive.

  • Incrementally Updated Backups -- do you Backup to TAPE ?

    Incrementally Updated Backups on disk provide
    a. only a single image of the database
    b. as of only a particular point in time (the last incremental update)
    c. no protection against disk/storage failure as the backups are on the same server as the database
    Your Incrementally Updated Backups should go to Tape or to another Disk Area on another server or Virtual Tape Library frequently.
    You may find the need to "restore and recover the database as of 3 days ago OR as of the last critical processing date" which cannot be done if you incrementally update your backup every day.
    A backup on disk doesn't protect you from disk failure.
    Hemant K Chitale
    http://hemantoracledba.blogspot.com

    Look in the FAQ for SuperDuper at: <http://www.shirt-pocket.com/forums/showthread.php?t=3942&highlight=time+capsul e>
    where you'll find a discussion of what you can do.

  • Incrementally updated backup and EMC NMDA

    Hello Everyone,
    I'm kind of a newbie in setting up networker module for oracle, to backup database to tape. We use the oracle's suggested backup strategy to backup DB to Disk first using the incrementally updated backups with recovery set to 3 days (RECOVER COPY OF DATABASE WITH TAG ... UNTIL TIME 'SYSDATE-3') , which helps us to recover DB to any point in time using the backup files in disks vs. going to tape. After backup to disk, we backup recovery area to tape nightly. However, we do want to maintain backup Retention Policy of 1 month. Couple of questions,
    1. If i set RP to recovery window of 31 days in RMAN, then backups don't obsolete at all. this forces me to set RP in networker and they don't recommend setting RP in both RMAN and networker. how is this done generally to obsolete backups from tape as well as rman (catalog in CF) with above strategy. perhaps in this case i should set RP in netwoker and set RP in RMAN to none and rely on crosscheck and delete expired commands to sync with RNAM catalog.
    2. Wondering if nightly backup of recovery area to tape is going to take incremental from previous day and NOT full backup. The reason i ask is, i do not want the tape to do full backup of FRA every day cause full backup datafiles change once in 3 days based on the until time set. is there an option do set in networker to do incremental only or that's the default.
    Thanks in Advance!
    11gR2, 4 Node RAC, Linux, NMDA 1.1, Networker 7.6 sp1

    Loic wrote:
    You do a full backup of the FRA on tape ?No, I do a full backup of the database on tape. Using RMAN together with Veritas NetBackup.
    I mean if you use incremental updated backup it'll not work on tape... Because the level 0 backup that will be updated with the backup of the day after will be on tape and will not be updated.The incrementally updated backup is in the FRA only, on disk (both the image copy and the following backup sets that are used for recovery of the image copy). Never gets written to tape or updated on tape.
    Why don't you use then normal incremental backup ? That will have no problem with the tape backup even if level0, or level1,2 becomes reclaimable... ?I think I do :-)
    Maybe:
    To keep that you can put the redundancy to 2 out of 1 copy. Like this even with one copy on disk and tape it'll say keep the 2 copies.
    CONFIGURE RETENTION POLICY TO REDUNDANCY 2;I'll think about that.

  • Differential Incremental Backup or Incrementally Updated Backup?

    DB Version:11g
    DB Size:450Gb
    DB type: OLTP (storing retail warehouse transactions)
    To implement a proper backup strategy, we are currently weighing the Pros and Cons of Differential Incremental Backup and Incrementally Updated Backup.
    I understand that , for Incrementally Updated Backup , the level 0 backup must be stored in FRA. We don't want to configure FRA as of now.
    Which backup strategy would you choose for a similair environment?

    I don't think that 11g RMAN level 0 backup need to use FRA: can you provide us the link to Oracle doc ?
    When designing your backup strategy you need to define:
    RTO: recovery time objective
    RPO: recovery point objective.
    See http://download.oracle.com/docs/cd/B19306_01/server.102/b14210/hadesign.htm
    To meet a low RTO objective, you may need to use incrementally updated backup because it should be faster to recover from incrementally updated backup compared to differential incremental backup.

  • ESTIMATED RMAN BACKUP SIZE:::PLZ HELP ME

    Hi all,
    I wish you all happy new year :)
    I have implemented a new Backup STrategy with RMAN, such I using Oracle 10G version on Linux Server. I would like To know if exists one method to estimate the size of my full and incremental backup before to lunch? I will really apreciate your help :)
    Thank you all,
    W
    Message was edited by:
    HAGGAR

    Hi,
    Happy new year for you too!!!
    From Metalink Note:105208.1:
    There is no 'magic' formula to calculate the storage space of an RMAN backup
    and there is no query that will give you a space estimate.
    So, the best answer is: "Try it and see how much is used."
    Check These out:
    1-) https://metalink.oracle.com/metalink/plsql/f?p=130:14:4138343222012115291::::p14_database_id,p14_docid,p14_show_header,p14_show_help,p14_black_frame,p14_font:NOT,105208.1,1,1,1,helvetica
    2-) https://metalink.oracle.com/metalink/plsql/f?p=130:14:4138343222012115291::::p14_database_id,p14_docid,p14_show_header,p14_show_help,p14_black_frame,p14_font:NOT,67221.1,1,0,1,helvetica
    Cheers,
    Marcello M.

  • Concept about Incremental Updated backup

    I am going through Backup portion of Oracle. However, I am not able to understand the concept about the incremental Updated backups, its advantages and disadvantages.
    Can anyone here help me out to get my concept clear.
    Thanks in advance .

    916438 wrote:
    I am going through Backup portion of Oracle. However, I am not able to understand the concept about the incremental Updated backups, its advantages and disadvantages.
    Can anyone here help me out to get my concept clear.
    Thanks in advance .http://docs.oracle.com/cd/E11882_01/backup.112/e10643/rcmsynta2011.htm#RCMRF111

  • Block Media Recovery and RMAN Incremental Level 1 backup

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

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

  • If RMAN incremental level-1 backup fails...

    Hi there,
    I have a question. If the RMAN incremental level-1 backup fails, will the next level-1 backup attempt take backup of all changes since last successful level-0 OR level-1 backup?
    Best regards

    Hi,
    I have a question. If the RMAN incremental level-1 backup fails, will the next level-1 backup attempt take backup of all changes since last successful level-0 OR level-1 backup?
    Check the V$BACKUP_SET dictionary to confirm whether the last backup has been touched by data dictionary. If the failed incremental backup is picked up then the previous incremental backup will be required in case of the next DIFFERENTIAL INCREMENTAL LEVEL 1 backup.
    But to be on safe side , it is recommended you take a LEVEL 01 CUMILATIVE INCREMENTAL backup from Level 0 till date. So that the recovery process can go through even  if the previous backup is not valid.
    Thanks &
    Best Regards

  • I have a feeling this has been up here a lot.  I updated ios 6 to my phone with no problems but I also back my phone up.  I decided to help the wife out and update hers and something went wrong data lost.  All contacts, photos, etc without backup, help.

    I have a feeling this has been up here a lot.  I updated ios 6 to my phone (4S) with no problems but I also back my phone up.  I decided to help the wife out and update hers and something went wrong data lost.  All contacts, photos, etc without backup, help.

    if you have no back up in icloud or itunes the best you can do is sync with your computer and get back  what you can from there

  • RMAN Incremental Lvl 0 backup vs Full Backup

    Hi all professionals,
    If my RMAN backup script did not specify the incremental backup strategy, what is the default strategy it would adopt?
    say for example: backup as compressed backup set database plus archive log delete input;
    Will it use full backup or lvl 0 incremental backup?
    There is a RMAN script (similar with the above) running as scheduled job daily and I will also use backup exec to backup the database to tape (manually scheduled to run for each time but not daily) at the same time.
    Will the scheduled daily rman script backup affect the scn of the backup using backup exec so that it could not be restore the tape backup using backup exec to a testing db as usual?
    (checked that backup exec also use rman script to backup but it uses incremental lvl 0)
    Welcome your professional comments and sharing.
    Thanks,
    Calvin
    Edited by: Calvin CS Ng on Aug 8, 2010 9:29 PM

    backup as compressed backup set database plus archive log delete input;
    Will it use full backup or lvl 0 incremental backup?
    It will be a full backup.
    There is a RMAN script (similar with the above) running as scheduled job daily and I will also use backup exec to backup the database to tape (manually scheduled to run for each time but not daily) at the same time.
    Will the scheduled daily rman script backup affect the scn of the backup using backup exec so that it could not be restore the tape backup using backup exec to a testing db as usual?There should be no impact on restore/recovery.
    Doc http://download.oracle.com/docs/cd/B19306_01/backup.102/b14191/rcmconc1.htm#i1011483 says:
    >
    The only difference between a level 0 incremental backup and a full backup is that a full backup is never included in an incremental strategy.

  • Please, help with Incremental Update for Linearized document.

    Hi, here is my problem.
    I'm working in my own annotation app. It incrementally updates pdfs. Works fine with most of the pdfs.
    But i've found couple of pdfs, that was being corrupted after updating.
    Here goes more details:
    Single page-linearized pdf: when i've looked into pdf source, i found that page object has /Parent key which referencing to non-existing object. Normally, as i understand /Parent for page object is /Type /Pages objects with /Kids /Count etc.
    12 0 obj
    <</ArtBox[26 0 585.999 792]/BleedBox[26 0 586 792]/Contents[14 0 R 15 0 R 16 0 R 17 0 R 18 0 R 19 0 R 20 0 R 21 0 R]/CropBox[0 0 612 792]/MediaBox[0 0 612 792]/Parent 8 0 R/Resources 37 0 R/Rotate 0/TrimBox[26 0 586 792]/Type/Page>>
    endobj
    Parent 8 0 R - Is missing
    But all pdf viewers are ok with that.
    So, this pdf has two Xref tables:
    36 0 obj
    <</DecodeParms<</Columns 4/Predictor 12>>/Filter/FlateDecode/ID[<2C9B406A12A771465F8FE0D6A4DC67ED><9B829DD8BDB09849A00CA5D75E7 5CDF4>]/Index[10 54]/Info 9 0 R/Length 114/Prev 66739/Root 11 0 R/Size 64/Type/XRef/W[1 2 1]>>stream....
    and Second one at the end of file.
    5 0 obj
    <</DecodeParms<</Columns 5/Predictor 12>>/Filter/FlateDecode/ID[<2C9B406A12A771465F8FE0D6A4DC67ED><9B829DD8BDB09849A00CA5D75E7 5CDF4>]/Info 9 0 R/Length 51/Root 11 0 R/Size 10/Type/XRef/W[1 3 1]>>stream
    Linearized dict:
    10 0 obj
    <</Linearized 1/L 67043/O 12/E 48239/N 1/T 66738/H [ 534 185]>>
    endobj
    /T 66738 points to Xref table in 5 0 obj's stream
    Now, when my annotation is stored: i'm adding the following object to the end of file:
    8 0 obj <</Type /Pages/Count 1/Kids [ 12 0 R ]>>
    endobj
    I've create the missing 8 0 obj with Kids and /Count 1
    12 0 obj<</Type /Page/Annots [ 65 0 R ]/ArtBox [ 26 0 585.999 792 ]/BleedBox [ 26 0 586 792 ]/Contents [ 14 0 R 15 0 R 16 0 R 17 0 R 18 0 R 19 0 R 20 0 R 21 0 R ]
    /CropBox [ 0 0 612 792 ]/MediaBox [ 0 0 612 792 ]/Parent 8 0 R/Resources 37 0 R/Rotate 0/TrimBox [ 26 0 586 792 ]>>
    endobj
    it's page objects with new Reference to Annotation object which is:
    65 0 obj<</Type /Annot/Contents (Test 2)/M (D:20120507172231+03'00')/Open true/P 12 0 R/Rect [ 0 0 100.000 100.000 ]/Subtype /Text/T(Test 1)>>
    endobj
    then goes my xref table
    xref
    8 1
    0000067045 00000 n
    0000067189 00000 n
    0000067591 00000 n
    trailer
    <<
    /ID [ <FE1185EC7443D19473E8A4A1569A1CB2> <FE1185EC7443D19473E8A4A1569A1CB2> ]
    /Info 64 0 R
    /Prev 66739
    /Root 11 0 R
    /Size 69
    >>
    startxref
    67760
    %%EOF
    And this totally broks my PDF.
    Questing: /Prev in my trailer should point ot 5 0 obj or 36 0 obj?

    Ok, thanks, and /Pref in my trailer should point to which xref? 5 0 (and the end of the original file) or 36 0 at the beginning?

  • Need help in the RMAN backup

    Hi everybody
    What are the steps needed if move the RMAN backup to other location in the OS level
    (ie) every week i have to move the backup to other location

    There are not problem for example:
    Microsoft Windows XP [Version 5.1.2600]
    (C) Copyright 1985-2001 Microsoft Corp.
    C:\Documents and Settings\comp>set ORACLE_SID=W
    C:\Documents and Settings\comp>sqlplus "/as sysdba"
    SQL*Plus: Release 10.2.0.2.0 - Production on Mon Apr 26 14:53:08 2010
    Copyright (c) 1982, 2005, Oracle. All Rights Reserved.
    ERROR:
    ORA-01031: insufficient privileges
    Enter user-name:
    C:\Documents and Settings\comp>sqlplus "sys/sm as sysdba"
    SQL*Plus: Release 10.2.0.2.0 - Production on Mon Apr 26 14:53:15 2010
    Copyright (c) 1982, 2005, Oracle. All Rights Reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL> archive log list;
    Database log mode No Archive Mode
    Automatic archival Disabled
    Archive destination USE_DB_RECOVERY_FILE_DEST
    Oldest online log sequence 12
    Current log sequence 14
    SQL> shutdown immediate;
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    SQL> startup mount
    ORACLE instance started.
    Total System Global Area 125829120 bytes
    Fixed Size 1288100 bytes
    Variable Size 71305308 bytes
    Database Buffers 46137344 bytes
    Redo Buffers 7098368 bytes
    Database mounted.
    SQL> alter database archivelog;
    Database altered.
    SQL> alter databaseop;
    alter databaseop
    ERROR at line 1:
    ORA-00940: invalid ALTER command
    SQL> alter database open;
    Database altered.
    SQL> exit
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Pr
    oduction
    With the Partitioning, OLAP and Data Mining options
    C:\Documents and Settings\comp>rman target sys/sm
    Recovery Manager: Release 10.2.0.2.0 - Production on Mon Apr 26 14:55:58 2010
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    connected to target database: W (DBID=754336873)
    RMAN> backup database;
    Starting backup at 26-APR-10
    using target database control file instead of recovery catalog
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=144 devtype=DISK
    channel ORA_DISK_1: starting full datafile backupset
    channel ORA_DISK_1: specifying datafile(s) in backupset
    input datafile fno=00001 name=D:\ORACLE\PRODUCT\10.2.0\ORADATA\W\SYSTEM01.DBF
    input datafile fno=00003 name=D:\ORACLE\PRODUCT\10.2.0\ORADATA\W\SYSAUX01.DBF
    input datafile fno=00005 name=D:\ORACLE\PRODUCT\10.2.0\ORADATA\W\EXAMPLE01.DBF
    input datafile fno=00002 name=D:\ORACLE\PRODUCT\10.2.0\ORADATA\W\UNDOTBS01.DBF
    input datafile fno=00004 name=D:\ORACLE\PRODUCT\10.2.0\ORADATA\W\USERS01.DBF
    channel ORA_DISK_1: starting piece 1 at 26-APR-10
    channel ORA_DISK_1: finished piece 1 at 26-APR-10
    piece handle=D:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\W\BACKUPSET\2010_04_26
    \O1_MF_NNNDF_TAG20100426T145611_5XBRSX1M_.BKP tag=TAG20100426T145611 comment=NON
    E
    channel ORA_DISK_1: backup set complete, elapsed time: 00:01:34
    channel ORA_DISK_1: starting full 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 26-APR-10
    channel ORA_DISK_1: finished piece 1 at 26-APR-10
    piece handle=D:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\W\BACKUPSET\2010_04_26
    \O1_MF_NCSNF_TAG20100426T145611_5XBRWXG2_.BKP tag=TAG20100426T145611 comment=NON
    E
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:05
    Finished backup at 26-APR-10
    RMAN> crossckeck backupset;
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00558: error encountered while parsing input commands
    RMAN-01009: syntax error: found "identifier": expecting one of: "allocate, alter
    , backup, beginline, blockrecover, catalog, change, connect, copy, convert, crea
    te, crosscheck, configure, duplicate, debug, delete, drop, exit, endinline, flas
    hback, host, {, library, list, mount, open, print, quit, recover, register, rele
    ase, replace, report, renormalize, reset, restore, resync, rman, run, rpctest, s
    et, setlimit, sql, switch, spool, startup, shutdown, send, show, test, transport
    , upgrade, unregister, validate"
    RMAN-01008: the bad identifier was: crossckeck
    RMAN-01007: at line 1 column 1 file: standard input
    RMAN> crosscheck backupset;
    using channel ORA_DISK_1
    crosschecked backup piece: found to be 'EXPIRED'
    backup piece handle=D:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\W\BACKUPSET\201
    0_04_26\O1_MF_NNNDF_TAG20100426T145611_5XBRSX1M_.BKP recid=1 stamp=717346573
    crosschecked backup piece: found to be 'EXPIRED'
    backup piece handle=D:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\W\BACKUPSET\201
    0_04_26\O1_MF_NCSNF_TAG20100426T145611_5XBRWXG2_.BKP recid=2 stamp=717346669
    Crosschecked 2 objects
    RMAN> delete expired backupset
    2> ;
    using channel ORA_DISK_1
    List of Backup Pieces
    BP Key BS Key Pc# Cp# Status Device Type Piece Name
    1 1 1 1 EXPIRED DISK D:\ORACLE\PRODUCT\10.2.0\FLASH_R
    ECOVERY_AREA\W\BACKUPSET\2010_04_26\O1_MF_NNNDF_TAG20100426T145611_5XBRSX1M_.BKP
    2 2 1 1 EXPIRED DISK D:\ORACLE\PRODUCT\10.2.0\FLASH_R
    ECOVERY_AREA\W\BACKUPSET\2010_04_26\O1_MF_NCSNF_TAG20100426T145611_5XBRWXG2_.BKP
    Do you really want to delete the above objects (enter YES or NO)? y
    deleted backup piece
    backup piece handle=D:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\W\BACKUPSET\201
    0_04_26\O1_MF_NNNDF_TAG20100426T145611_5XBRSX1M_.BKP recid=1 stamp=717346573
    deleted backup piece
    backup piece handle=D:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\W\BACKUPSET\201
    0_04_26\O1_MF_NCSNF_TAG20100426T145611_5XBRWXG2_.BKP recid=2 stamp=717346669
    Deleted 2 EXPIRED objects
    now i copy all backup to c:\db
    then
    RMAN> catalog start with 'c:\db';
    searching for all files that match the pattern c:\db
    List of Files Unknown to the Database
    =====================================
    File Name: C:\db\O1_MF_NCSNF_TAG20100426T145611_5XBRWXG2_.BKP
    File Name: C:\db\O1_MF_NNNDF_TAG20100426T145611_5XBRSX1M_.BKP
    Do you really want to catalog the above files (enter YES or NO)? y
    cataloging files...
    cataloging done
    List of Cataloged Files
    =======================
    File Name: C:\db\O1_MF_NCSNF_TAG20100426T145611_5XBRWXG2_.BKP
    File Name: C:\db\O1_MF_NNNDF_TAG20100426T145611_5XBRSX1M_.BKP
    RMAN> list backupset;
    List of Backup Sets
    ===================
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    1 Full 592.76M DISK 00:01:26 26-APR-10
    BP Key: 4 Status: AVAILABLE Compressed: NO Tag: TAG20100426T145611
    Piece Name: C:\DB\O1_MF_NNNDF_TAG20100426T145611_5XBRSX1M_.BKP
    List of Datafiles in backup set 1
    File LV Type Ckp SCN Ckp Time Name
    1 Full 947689 26-APR-10 D:\ORACLE\PRODUCT\10.2.0\ORADATA\W\SYSTEM01.
    DBF
    2 Full 947689 26-APR-10 D:\ORACLE\PRODUCT\10.2.0\ORADATA\W\UNDOTBS01
    .DBF
    3 Full 947689 26-APR-10 D:\ORACLE\PRODUCT\10.2.0\ORADATA\W\SYSAUX01.
    DBF
    4 Full 947689 26-APR-10 D:\ORACLE\PRODUCT\10.2.0\ORADATA\W\USERS01.D
    BF
    5 Full 947689 26-APR-10 D:\ORACLE\PRODUCT\10.2.0\ORADATA\W\EXAMPLE01
    .DBF
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    2 Full 6.80M DISK 00:00:04 26-APR-10
    BP Key: 3 Status: AVAILABLE Compressed: NO Tag: TAG20100426T145611
    Piece Name: C:\DB\O1_MF_NCSNF_TAG20100426T145611_5XBRWXG2_.BKP
    Control File Included: Ckp SCN: 947720 Ckp time: 26-APR-10
    SPFILE Included: Modification time: 26-APR-10
    RMAN>

  • Tracking RMAN Backup job details

    Version:11.2.0.3/Solaris 11
    To track RMAN backup job details , what dictionary view/dyn.performance view do you use ?
    In our shop , we use incrementally updated backup (incremental merge). To find the details of previous RMAN Jobs, I tried using
    v$rman_status
    and
    v$rman_backup_job_details
    But the details provided by these 2 views don't match. For example, on 26th of June 2013, there was an Incremental backup and an archivelog backup. As per v$rman_status , both of them took 61 minutes (46 + 15)
    According to v$rman_backup_job_details, backup jobs took 96 minutes .It doesn't seem to provide all info on archive log bkp though.
    The start_time and end_time provided by both of these views don't math either !
    col starttime format a25
    col endtime format a25
    select status, object_type, to_char(start_time,'dd/MON/yyyy:hh:mi:ss') as starttime,
    to_char(end_time,'dd/MON/yyyy:hh:mi:ss') as endtime ,
    to_number(end_time-start_time)*24*60 duration_minutes
    from sys.v$rman_status where start_time > trunc(sysdate) - 20 and operation = 'BACKUP'
    order by end_time desc;
    STATUS                  OBJECT_TYPE   STARTTIME                 ENDTIME                   DURATION_MINUTES
    FAILED                  ARCHIVELOG    07/JUN/2013:08:47:44
    COMPLETED               ARCHIVELOG    26/JUN/2013:06:49:16      26/JUN/2013:07:36:14            46.9666667
    COMPLETED               DB INCR       26/JUN/2013:06:33:18      26/JUN/2013:06:49:16            15.9666667
    COMPLETED               ARCHIVELOG    25/JUN/2013:06:50:55      25/JUN/2013:07:58:01                  67.1
    COMPLETED               DB INCR       25/JUN/2013:06:25:06      25/JUN/2013:06:50:55            25.8166667
    COMPLETED               ARCHIVELOG    24/JUN/2013:06:15:42      24/JUN/2013:07:07:54                  52.2
    COMPLETED               DB INCR       24/JUN/2013:06:01:09      24/JUN/2013:06:15:42                 14.55
    COMPLETED               ARCHIVELOG    23/JUN/2013:09:47:48      23/JUN/2013:10:01:19            13.5166667
    COMPLETED               DB INCR       23/JUN/2013:09:40:27      23/JUN/2013:09:47:48                  7.35
    COMPLETED               ARCHIVELOG    22/JUN/2013:07:23:18      22/JUN/2013:07:41:29            18.1833333
    COMPLETED               DB INCR       22/JUN/2013:07:15:35      22/JUN/2013:07:23:17                   7.7
    COMPLETED               ARCHIVELOG    21/JUN/2013:07:30:33      21/JUN/2013:09:05:50            95.2833333
    COMPLETED               DB INCR       21/JUN/2013:06:39:35      21/JUN/2013:07:30:33            50.9666667
    COMPLETED               ARCHIVELOG    20/JUN/2013:07:35:54      20/JUN/2013:09:25:03                109.15
    COMPLETED               DB INCR       20/JUN/2013:06:55:08      20/JUN/2013:07:35:54            40.7666667
    COMPLETED               ARCHIVELOG    19/JUN/2013:07:20:10      19/JUN/2013:08:27:28                  67.3
    COMPLETED               DB INCR       19/JUN/2013:07:00:02      19/JUN/2013:07:20:10            20.1333333
    COMPLETED               ARCHIVELOG    18/JUN/2013:07:27:30      18/JUN/2013:09:19:50            112.333333
    COMPLETED               DB INCR       18/JUN/2013:07:02:09      18/JUN/2013:07:27:30                 25.35
    COMPLETED               ARCHIVELOG    17/JUN/2013:07:42:20      17/JUN/2013:08:40:29                 58.15
    COMPLETED               DB INCR       17/JUN/2013:07:22:29      17/JUN/2013:07:42:20                 19.85
    COMPLETED               ARCHIVELOG    17/JUN/2013:06:28:16      17/JUN/2013:07:42:44            74.4666667
    COMPLETED               DB INCR       17/JUN/2013:01:57:49      17/JUN/2013:06:28:11            270.366667
    COMPLETED               ARCHIVELOG    16/JUN/2013:02:18:02      16/JUN/2013:04:22:26                 124.4
    COMPLETED               DB INCR       16/JUN/2013:01:48:18      16/JUN/2013:02:18:02            29.7333333
    COMPLETED               ARCHIVELOG    14/JUN/2013:07:27:44      14/JUN/2013:08:40:53                 73.15
    COMPLETED               DB INCR       14/JUN/2013:07:01:19      14/JUN/2013:07:27:43                  26.4
    COMPLETED               ARCHIVELOG    13/JUN/2013:06:56:13      13/JUN/2013:07:47:50            51.6166667
    COMPLETED               DB INCR       13/JUN/2013:06:42:11      13/JUN/2013:06:56:13            14.0333333
    COMPLETED               ARCHIVELOG    12/JUN/2013:07:12:43      12/JUN/2013:08:12:10                 59.45
    COMPLETED               DB INCR       12/JUN/2013:06:45:51      12/JUN/2013:07:12:43            26.8666667
    COMPLETED               ARCHIVELOG    11/JUN/2013:07:21:36      11/JUN/2013:08:46:11            84.5833333
    COMPLETED               DB INCR       11/JUN/2013:06:52:29      11/JUN/2013:07:21:36            29.1166667
    COMPLETED               ARCHIVELOG    10/JUN/2013:07:04:49      10/JUN/2013:07:55:15            50.4333333
    COMPLETED               DB INCR       10/JUN/2013:06:49:10      10/JUN/2013:07:04:49                 15.65
    COMPLETED               ARCHIVELOG    09/JUN/2013:08:10:13      09/JUN/2013:09:04:10                 53.95
    COMPLETED               DB INCR       09/JUN/2013:07:50:24      09/JUN/2013:08:10:13            19.8166667
    COMPLETED               ARCHIVELOG    08/JUN/2013:07:37:09      08/JUN/2013:08:33:58            56.8166667
    COMPLETED               DB INCR       08/JUN/2013:07:17:56      08/JUN/2013:07:37:09            19.2166667
    COMPLETED               ARCHIVELOG    07/JUN/2013:08:32:01      07/JUN/2013:09:34:11            62.1666667
    COMPLETED               DB INCR       07/JUN/2013:07:36:27      07/JUN/2013:08:32:01            55.5666667
    COMPLETED               ARCHIVELOG    07/JUN/2013:08:48:10      07/JUN/2013:11:28:14            160.066667
    42 rows selected.
    -- Output of v$rman_backup_job_details
    select status, input_type,
    to_char(start_time,'dd/mm/yyyy:hh:mi:ss') as starttime,
    to_char(end_time,'dd/mm/yyyy:hh:mi:ss') as endtime,
    to_number(end_time-start_time)*24*60 duration_minutes
    From v$rman_backup_job_details
    where start_time > trunc(sysdate) - 20
    order by end_time desc;
    STATUS                  INPUT_TYPE    STARTTIME           ENDTIME             DURATION_MINUTES
    FAILED                  ARCHIVELOG    07/06/2013:08:47:44
    COMPLETED               DB INCR       26/06/2013:06:00:09 26/06/2013:07:36:14       96.0833333
    COMPLETED               DB INCR       25/06/2013:06:00:08 25/06/2013:07:58:01       117.883333
    COMPLETED               DB INCR       24/06/2013:06:00:09 24/06/2013:07:07:54            67.75
    COMPLETED               DB INCR       23/06/2013:08:07:56 23/06/2013:10:01:19       113.383333
    COMPLETED               DB INCR       22/06/2013:06:00:10 22/06/2013:07:41:29       101.316667
    COMPLETED               DB INCR       21/06/2013:06:00:12 21/06/2013:09:05:50       185.633333
    COMPLETED               DB INCR       20/06/2013:06:00:12 20/06/2013:09:25:03           204.85
    COMPLETED               DB INCR       19/06/2013:06:00:11 19/06/2013:08:27:28       147.283333
    COMPLETED               DB INCR       18/06/2013:06:00:16 18/06/2013:09:19:50       199.566667
    COMPLETED               DB INCR       17/06/2013:06:00:13 17/06/2013:08:40:29       160.266667
    COMPLETED               DB INCR       16/06/2013:06:04:02 17/06/2013:07:42:44            818.7
    COMPLETED               DB INCR       15/06/2013:06:05:12 16/06/2013:04:22:26       617.233333
    COMPLETED               DB INCR       14/06/2013:06:00:09 14/06/2013:08:40:53       160.733333
    COMPLETED               DB INCR       13/06/2013:06:00:09 13/06/2013:07:47:50       107.683333
    COMPLETED               DB INCR       12/06/2013:06:00:10 12/06/2013:08:12:10              132
    COMPLETED               DB INCR       11/06/2013:06:00:17 11/06/2013:08:46:11            165.9
    COMPLETED               DB INCR       10/06/2013:06:00:14 10/06/2013:07:55:15       115.016667
    COMPLETED               DB INCR       09/06/2013:06:00:10 09/06/2013:09:04:10              184
    COMPLETED               DB INCR       08/06/2013:06:00:09 08/06/2013:08:33:58       153.816667
    COMPLETED               DB INCR       07/06/2013:06:00:19 07/06/2013:09:34:11       213.866667
    COMPLETED               ARCHIVELOG    07/06/2013:08:48:10 07/06/2013:11:28:14       160.066667
    22 rows selected.

    When I run an full/incremental backup with archivelog it only shows as one job in v$rman_backup_job_details.  Only if I explicitly run just a backup archivelog all in RMAN does it show up separately as an ARCHIVELOG backup in v$rman_backup_job_details.
    rman_status shows the individual parts of the jobs.  For example for a full backup it shows the db backup and the archivelog backup.
    The start and end time in rman_status should match up with $rman_backup_job_details.
    Lets take the 25th as an example:
    In man_backup_job_details
    STATUS                  INPUT_TYPE    STARTTIME           ENDTIME             DURATION_MINUTES
    COMPLETED               DB INCR       25/06/2013:06:00:08 25/06/2013:07:58:01       117.883333
    In v$man_status:
    STATUS                  OBJECT_TYPE   STARTTIME                 ENDTIME                   DURATION_MINUTES
    COMPLETED               ARCHIVELOG    25/JUN/2013:06:50:55      25/JUN/2013:07:58:01                  67.1
    COMPLETED               DB INCR       25/JUN/2013:06:25:06      25/JUN/2013:06:50:55            25.8166667
    You need to view your logfiles to see what rman was doing between 6:00:08 when the job started and 06:25:06 when the incremental backup started.
    You can see that the end time is the same in both views.
    Not easy to explain but I hope that helps.

  • Setting up new dbname/sid while creating oracle db from rman backups in 11g

    Hi all,
    I have rman backups and need to create another database from rman backups with different name... but it is unsuccessful..
    created instance with new db...
    running create new db connecting rman auxiliary sys/password@newdb
    run {
    SET NEWNAME FOR DATAFILE 1 TO 'F:\app\HOME\oradata\clonedb1\SYSTEM01.DBF';
    SET NEWNAME FOR DATAFILE 2 TO 'F:\app\HOME\oradata\clonedb1\SYSAUX01.DBF';
    SET NEWNAME FOR DATAFILE 3 TO 'F:\app\HOME\oradata\clonedb1\UNDOTBS01.DBF';
    SET NEWNAME FOR DATAFILE 4 TO 'F:\app\HOME\oradata\clonedb1\USERS01.DBF';
    SET NEWNAME FOR DATAFILE 5 TO 'F:\app\HOME\oradata\clonedb1\EXAMPLE01.DBF';
    SET NEWNAME FOR TEMPFILE 1 TO 'F:\app\HOME\oradata\clonedb1\TEMP01.DBF';
    DUPLICATE DATABASE TO clonedb
    pfile 'D:\TESTDELETE\initclonedb1.ora'
    BACKUP LOCATION 'F:\app\HOME\flash_recovery_area\orcl\'
    LOGFILE GROUP 1 ('F:\APP\HOME\ORADATA\ORCL\REDO01.LOG') SIZE 60M REUSE,
    GROUP 2 ('F:\APP\HOME\ORADATA\ORCL\REDO02.LOG.rdo') SIZE 60M REUSE,
    GROUP 3 ('F:\APP\HOME\ORADATA\ORCL\REDO03.LOG') SIZE 60M REUSE;
    Error it shown is in rman backup creation is as follows
    <part>>
    sql statement: alter system set db_name = ''ORCL'' comment= ''Modified by RMAN
    duplicate'' scope=spfile
    Oracle instance shut down
    Oracle instance started
    Total System Global Area 640286720 bytes
    Fixed Size 1376492 bytes
    Variable Size 314576660 bytes
    Database Buffers 318767104 bytes
    Redo Buffers 5566464 bytes
    Starting restore at 20-DEC-11
    allocated channel: ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: SID=133 device type=DISK
    channel ORA_AUX_DISK_1: restoring control file
    channel ORA_AUX_DISK_1: restore complete, elapsed time: 00:00:07
    output file name=F:\APP\HOME\ORADATA\CLONEDB1\CONTROL01.CTL
    output file name=F:\APP\HOME\FLASH_RECOVERY_AREA\CLONEDB1\CONTROL02.CTL
    Finished restore at 20-DEC-11
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 12/20/2011 07:07:11
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-06136: ORACLE error from auxiliary database: ORA-01102: cannot mount databa
    se in EXCLUSIVE mode
    RMAN> EXIT
    how can i prevent rman setting db_name=orcl which is already exists in the db.. i need to create db from rman backups with different dbname...
    whould someone help me out, how can i create database from another database rman backups with different dbname/sid on same host..
    My pfile has new db_name , but while db creation rman setting to db_name to source dbname.. it should be new db name that i want create with new db name...
    is there any RMAN command to specify new DB name it should set while running
    sql statement: alter system set db_name = newdbname -- as part rman script execution...
    it appears to be i should not touch the soruce db.. i have access to only source db rman backups and need to create another db with different dbname/sid.. please do help...

    When you performing RMAN duplicate why you making your script so complicated?
    Your instance name and DB name can be different, But what is the contents in your pfile "D:\TESTDELETE\initclonedb1.ora" ? please do post
    Have you started any other services related to ORACLE? check in start --> run --> services.msc any other active oracles services, Make sure you have clonedb1.
    Startup in nomount
    check the connectivity to target server.
    SET NEWNAME FOR TEMPFILE 1 TO 'F:\app\HOME\oradata\clonedb1\TEMP01.DBF';Why you mentioning SET NEWNAME FOR DATAFILE ? You have option of db_file_name_convert/log_file_name_convert in case if your file system different in Target & auxiliary.
    BACKUP LOCATION 'F:\app\HOME\flash_recovery_area\orcl\'When you have backup in same location why you are mentioning this clause?
    First run duplicate from auxiliary server as
    rman target sys/*****@prod auxiliary /
    RMAN> duplicate target database to "db_name";
    Am not sure what you are trying to do. is it 11gR1 or 11gR2?
    You have option of duplicate from active database without having backup also..
    here some links please check it.
    http://docs.oracle.com/cd/E14072_01/backup.112/e10642/rcmdupdb.htm#BGBFDJHB
    RMAN 11GR2 : DUPLICATE WITHOUT CONNECTING TO TARGET DATABASE [ID 874352.1]
    knowledgespring      
         Newbie
    Handle:      knowledgespring
    Status Level:      Newbie (10)
    Registered:      Dec 26, 2007
    Total Posts:      243
    Total Questions:      77 (75 unresolved)
    So sad that forum was able to help only in two answers out of your 77 questions :(
    Edited by: CKPT on Dec 21, 2011 5:12 PM

Maybe you are looking for

  • ISSUE IN SWIFT MT 101 ACK FILE

    Hi Guys, BANK->SWIFTNETGATEWAY(ACK/NACK Files)->SAP PI---->SAP ECC The issue is regarding the ACKNOWLEDGEMENT/NACK files sent from back with respect to MT 101 files. I am using FILE-PROXY scenario for this ( FILE SENDER ADAPTER---RECEIVER XI ADAPTER)

  • Help needed in developing midlet to communicate with pc application

    hi , i am trying to develop a j2me application for mobile phone and a j2se application for pc the midlet can send messages to my pc application, upon recieve the message, the pc application will read the message and store it into a database. any1 hav

  • Sorting of calculated field in descending order

    Hi Gurus, Expert I have this code in BIP to get the Total Amount: <?xdoxslt:set_variable($_XDOCTX,'MRCTot',0)?> <?for-each:ROW?> <?xdoxslt:set_variable($_XDOCTX,'MRCTot',xdoxslt:get_variable($_XDOCTX,'MRCTot')+(MRC_ADD_PHP+MRC_DELETE_PHP+MRC_UPDATE_P

  • Doubt abt validating the domain name

    Hi, I have a doubt in authenticating the domain name. Before the sendmessage can i verify whether the domain name's correct or not. for eg:[email protected] to verify whether test.com is valid or not. I'm using javax.mail to send mails in my applicat

  • Ssl_error_bad_mac_read error on credit card payment

    I'm trying to process a credit card payment for Norwegian Airlines. When taking me to the Verified by Visa page on my credit card account ( https://www.vpv.scddesjardins.com/ ) I get the secured connection failed page: "An error occurred during a con