How do we judge RMAN volumetrics?

The following is my RMAN configuration:
CONFIGURE RETENTION POLICY TO REDUNDANCY 1; # default
CONFIGURE BACKUP OPTIMIZATION OFF; # default
CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
CONFIGURE CONTROLFILE AUTOBACKUP OFF;
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F';
CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default
CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE MAXSETSIZE TO UNLIMITED; # default
CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/u01/app/oracle/product/10.2.0/dbs/snapcf_ccs21dev.f'; # defaultFrom above, you can see that neither compression nor optimization is set.
One of my data-files is over 6GB.
ccs21dbint/u03/oradata/ccs21dev(304)$ du -sh *
  39M   arch
  31M   control01.ctl
100M   index_a.dbf
5.0M   redo01a.dbf
5.0M   redo02a.dbf
100M   stats.dbf
480M   sysaux01.dbf
400M   system01.dbf
ccs21dbint/u03/oradata/ccs21dev(305)$ cd /u04/oradata/ccs21dev
ccs21dbint/u04/oradata/ccs21dev(306)$ du -sh *
  31M   control02.ctl
5.0M   redo01b.dbf
5.0M   redo02b.dbf
6.3G   table_a.dbf
1.3M   temp.dbf
1.0G   undorbs1.dbfHowever the backupset where it is backed up to is very small at just 1.40GB.
RMAN> list backup;
List of Backup Sets
===================
BS Key  Size       Device Type Elapsed Time Completion Time
27      35.24M     DISK        00:00:02     23-MAR-11
        BP Key: 27   Status: AVAILABLE  Compressed: NO  Tag: DAILYBACKUP
        Piece Name: /u02/flash_recovery_area/CCS21DEV/backupset/2011_03_23/o1_mf_annnn_DAILYBACKUP_6rn1wknh_.bkp
  List of Archived Logs in backup set 27
  Thrd Seq     Low SCN    Low Time  Next SCN   Next Time
  1    460     369109105  22-MAR-11 369109436  22-MAR-11
  1    461     369109436  22-MAR-11 369109808  22-MAR-11
  1    462     369109808  22-MAR-11 369111467  22-MAR-11
  1    463     369111467  22-MAR-11 369116485  23-MAR-11
  1    464     369116485  23-MAR-11 369120962  23-MAR-11
  1    465     369120962  23-MAR-11 369126753  23-MAR-11
  1    466     369126753  23-MAR-11 369131659  23-MAR-11
  1    467     369131659  23-MAR-11 369136775  23-MAR-11
  1    468     369136775  23-MAR-11 369141920  23-MAR-11
  1    469     369141920  23-MAR-11 369142168  23-MAR-11
  1    470     369142168  23-MAR-11 369142348  23-MAR-11
BS Key  Type LV Size       Device Type Elapsed Time Completion Time
28      Full    1.40G      DISK        00:00:53     23-MAR-11
        BP Key: 28   Status: AVAILABLE  Compressed: NO  Tag: DAILYBACKUP
        Piece Name: /u02/flash_recovery_area/CCS21DEV/backupset/2011_03_23/o1_mf_nnndf_DAILYBACKUP_6rn1wop4_.bkp
  List of Datafiles in backup set 28
  File LV Type Ckp SCN    Ckp Time  Name
  1       Full 369142353  23-MAR-11 /u03/oradata/ccs21dev/system01.dbf
  2       Full 369142353  23-MAR-11 /u04/oradata/ccs21dev/undorbs1.dbf
  3       Full 369142353  23-MAR-11 /u03/oradata/ccs21dev/sysaux01.dbf
  4       Full 369142353  23-MAR-11 /u04/oradata/ccs21dev/table_a.dbf
  5       Full 369142353  23-MAR-11 /u03/oradata/ccs21dev/index_a.dbf
  6       Full 369142353  23-MAR-11 /u03/oradata/ccs21dev/stats.dbf
BS Key  Type LV Size       Device Type Elapsed Time Completion Time
29      Full    30.95M     DISK        00:00:03     23-MAR-11
        BP Key: 29   Status: AVAILABLE  Compressed: NO  Tag: DAILYBACKUP
        Piece Name: /u02/flash_recovery_area/CCS21DEV/backupset/2011_03_23/o1_mf_ncsnf_DAILYBACKUP_6rn1ygmx_.bkp
  Control File Included: Ckp SCN: 369142376    Ckp time: 23-MAR-11
  SPFILE Included: Modification time: 22-MAR-11
BS Key  Size       Device Type Elapsed Time Completion Time
30      7.00K      DISK        00:00:02     23-MAR-11
        BP Key: 30   Status: AVAILABLE  Compressed: NO  Tag: DAILYBACKUP
        Piece Name: /u02/flash_recovery_area/CCS21DEV/backupset/2011_03_23/o1_mf_annnn_DAILYBACKUP_6rn1ymy3_.bkp
  List of Archived Logs in backup set 30
  Thrd Seq     Low SCN    Low Time  Next SCN   Next Time
  1    471     369142348  23-MAR-11 369142381  23-MAR-11How does this happen? Is there some other Oracle/RMAN setting that I'm overlooking?
I vaguely remember autoextend to maxsize confusing the hell out of Solaris (du command) but cannot quite put my finger at it.
Thanks.

Hi Sharma,
One of my data-files is over 6GB.
However the backupset where it is backed up to is very small at just 1.40GB.
How does this happen?If you query dba_segments and sum the amount of bytes you will see you have only around 1.4GB of segments the rest is freespace.
Can you post the output of:
select sum(s.bytes)/1024/1024/1024
from dba_segments s
/Rman wil only backup used blocks when backing up in a backupset mode.
This explains the difference in size.
Regards,
Tycho

Similar Messages

  • How to stop a rman backup in progress?

    OS: AIX 5.3 L and Oracle 10g R2
    I got panic when my scheduled rman backup (incremental level 0 plus archivelog) run too long and I want to stop the process. I could not find the rman doc mentioning how to use any rman command to do that, instead of just shutdowning the database instance.with ps -ef, there were just too many PID of oracle. Is there a way by rman to STOP the process?
    Furthermore, I had no idea why it happened. Last week when I did a full copy backup, it only took 23 minutes for 32G database, Today, I changed the scheme to a level 0 incremental, and it is still running after 5 and half hours. But it already created the archivelog, datafile backupset (checked by the DB control). How to find out what went wrong?

    I did not use any third party application with rman or TSM in my AIX. what is the tdpo? Killing at OS level is probably only thing I can do now. kill -9 PID#
    Message was edited by:
    user508054
    Message was edited by:
    user508054

  • How to start with RMAN as I am beginner?

    Dear all,
    How to start with RMAN as I am beginner? Any simple document or guide line for me.
    Thanks,
    Amy

    How to start with RMAN as I am beginner? Any simple
    document or guide line for me.go to yours oracle home directory /orahome/bin there is RMAN exe tool run it it will show you prompt RMAN
    Recovery Manager: Release 10.1.0.2.0 - Production
    Copyright (c) 1995, 2004, Oracle.  All rights reserved.
    RMAN> connect target sys/sys
    connected to target database: ORCL (DBID=1171886541)
    RMAN> backup database
    2> ;
    Starting backup at 21-JAN-08
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting full datafile backupset
    channel ORA_DISK_1: specifying datafile(s) in backupset
    input datafile fno=00001 name=C:\ORACLE\PRODUCT\10.1.0\ORADATA\ORCL\SYSTEM01.DBF
    input datafile fno=00003 name=C:\ORACLE\PRODUCT\10.1.0\ORADATA\ORCL\SYSAUX01.DBF
    input datafile fno=00005 name=C:\ORACLE\PRODUCT\10.1.0\ORADATA\ORCL\EXAMPLE01.DBF
    input datafile fno=00002 name=C:\ORACLE\PRODUCT\10.1.0\ORADATA\ORCL\UNDOTBS01.DBF
    input datafile fno=00004 name=C:\ORACLE\PRODUCT\10.1.0\ORADATA\ORCL\USERS01.DBF
    channel ORA_DISK_1: starting piece 1 at 21-JAN-08
    channel ORA_DISK_1: finished piece 1 at 21-JAN-08
    piece handle=C:\ORACLE\PRODUCT\10.1.0\FLASH_RECOVERY_AREA\ORCL\BACKUPSET\2008_01_21\O1_MF_NNNDF_TAG20080121T135924_3S8QQF74_.BKP comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:01:15
    channel ORA_DISK_1: starting full datafile backupset
    channel ORA_DISK_1: specifying datafile(s) in backupset
    including current controlfile in backupset
    including current SPFILE in backupset
    channel ORA_DISK_1: starting piece 1 at 21-JAN-08
    channel ORA_DISK_1: finished piece 1 at 21-JAN-08
    piece handle=C:\ORACLE\PRODUCT\10.1.0\FLASH_RECOVERY_AREA\ORCL\BACKUPSET\2008_01_21\O1_MF_NCSNF_TAG20080121T135924_3S8QSSN4_.BKP comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:03
    Finished backup at 21-JAN-08
    http://www.orafaq.com/faq/rmanKhurram

  • How to make hot RMAN backup as consistent in 10g?

    Hi,
    While cloning database using rman hot backup it asking archivelog files. how to recover easily? How to make hot RMAN backup as consistent in 10g?
    Thanks,

    user2017273 wrote:
    Hi,
    While cloning database using rman hot backup it asking archivelog files. how to recover easily? How to make hot RMAN backup as consistent in 10g?
    Thanks,Take backup with "plus archivelog" command. This will require archived redo log files and automatically apply them

  • Backup set in the tape. copied into disk. how to recover using RMAN

    I have backup set in the tape. copied into disk. how to recover using RMAN
    any link and steps please

    It should be something like the following, but really you should read and understand the rman documentation first ...
    1. restore the controlfile
    sqlplus / as sysdba
    startup nomount
    exit
    rman
    connect target /
    restore controlfile from '/path to the controlfile backup piece';
    exit
    sqlplus / as sysdba
    alter database mount
    exit
    2. catalog the backup pieces
    rman
    connect target /
    catalog start with '/path to backup pieces';
    3. restore the database
    rman
    connect target /
    restore database
    4. recover the database
    rman
    connect target /
    recover database
    5. open the database
    sqlplus / as sysdba
    alter database open resetlogs;

  • How to set the Rman backup parameter.

    Hi,
    Can U guide me how to set the Rman backup path,control file auto backup & others parameter.

    Hi,
    Go through this,
    Show all configurable settings:
    RMAN>SHOW ALL;
    Write disk backups to the /rmanback directory: (%U will be replaced with unique filenames)
    RMAN> CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '/rmanback/%U';
    Backup using a flash recovery area rather than disk
    RMAN> CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT CLEAR;
    Configure RMAN to back up the control file after each backup
    RMAN> CONFIGURE CONTROLFILE AUTOBACKUP ON;
    By default, RMAN automatically names control file backups and stores them in the flashrecovery area.
    To configure RMAN to write control file backups to the /backup directory:( %F will generate a unique filename)
    RMAN> CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/backup/controlfile%F';
    Ensure that RMAN retains all backups needed to recover the database to any point in time in the last 7 days:
    RMAN> CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 7 DAYS;
    Retain three backups of each datafile:
    RMAN> CONFIGURE RETENTION POLICY TO REDUNDANCY 3;
    Delete backups no longer required by the retention policy:
    RMAN> DELETE OBSOLETE;
    To override the configured retention policy for individual backups - use BACKUP.. KEEP (or CHANGE.. KEEP)
    Configure backups to run in parallel by assigning two sbt channels:
    RMAN> CONFIGURE DEVICE TYPE sbt PARALLELISM 2;
    Reset any CONFIGURE setting to its default by running the command with the CLEAR option
    RMAN> CONFIGURE CHANNEL DEVICE TYPE sbt CLEAR;
    RMAN> CONFIGURE RETENTION POLICY CLEAR;
    Regards,
    oraclekt
    Edited by: oraclekt on Sep 1, 2010 9:58 PM

  • How can I test RMAN

    Hi,
    how can I test RMAN ? How can I verify if my RMAN backups are correct and in the case of problem can be helpful ? Apearently we can not recover the dropped objects !!! Then how to test recovery by RMAN ? Any scenari ?
    Many thanks before.

    How can I verify if my RMAN backups are correct rman>crosscheck backup;
    rman>validate daafile "no"
    in the case of problem can be helpful ? Apearently we can not recover the dropped objects for point in time recovery
    http://download-west.oracle.com/docs/cd/B14117_01/server.101/b10769/toc.htm
    http://download-uk.oracle.com/docs/cd/B14117_01/server.101/b10770/toc.htm
    Message was edited by:
    Mohammadi52

  • How to speed up rman backup?

    Hi,
    we are taking backup using rman. my database size is increasing.so rman backup time is increasing. so i want to spped up rman bakup performance. how to speed up rman bakup?
    Thnaks,

    My general request whenever you post the question in forum please start your question something like this:
    Oracle Version : <4 digit version> select * from v$version;
    OS Information with complete version and/or patch whatsoever.
    1. http://www.oracle-base.com/articles/10g/RMANEnhancements10g.php
    2. Re: RMAN Backup Script
    and read the reply of Adith
    You can also use set
    CONFIGURE BACKUP OPTIMIZATION ON
    Additionally review
    Restarting and Optimizing RMAN Backups
    http://download.oracle.com/docs/cd/B19306_01/backup.102/b14191/rcmbackp007.htm#i1006318
    Best Regards
    Girish Sharma

  • Dear sir! How can i judge a string's encoding?

    Dear sir! How can i judge a string's encoding?
    Now i receive a string !but i do not known what encoding this string is? I want a method to judge the encoding.
    Thank you!

    Strings in Java are by definition in Unicode. If you want to convert them to a specific encoding, you can do this:
    String yenSign = new String("\u00A5");
    byte[] yenByteArray = yenSign.getBytes("UTF8");
    Now yenByteArray is encoded into bytes using UTF-8.

  • How to restore a Rman backup from Tape

    Hi,
    We need to restore the database backup taken through RMAN on 24-JUNE-2013 from tape as this backup is not currently available on disk.
    Can you please help me on the following,
    1) how i can check if the same backup on 24-JUNE-2013 is available on Tape.
    2) If yes how i can restore to Disk.
    Because we need to create a new Clone instance from the backup taken on 24-JUNE-2013.
    We are having 12.1.3 Application on Exalogic and 11.2.0.3 Database on Exadata machine.
    Our support is highly appreciated.
    Thanks

    user11969666 wrote:
    Hi,
    We need to restore the database backup taken through RMAN on 24-JUNE-2013 from tape as this backup is not currently available on disk.
    Can you please help me on the following,
    1) how i can check if the same backup on 24-JUNE-2013 is available on Tape.
    2) If yes how i can restore to Disk.
    Because we need to create a new Clone instance from the backup taken on 24-JUNE-2013.
    We are having 12.1.3 Application on Exalogic and 11.2.0.3 Database on Exadata machine.
    Our support is highly appreciated.
    Thanks
    Your questions are answered in the Backup and Recovery User's Guide -- Contents
    Thanks,
    Hussein

  • 11g CRS and ASM, 10.2.0.4 database, how to set up RMAN

    Hi all, I am fairly green when it comes to RAC so please bear with me. I have a Linux 2 node RAC environment. The servers are lux148 and lux149. The 2 node cluster is running 11g CRS and ASM. The database is 10.2.0.4. It had to be set up this way in order for IBM DataStage to work. The database name is fictrp0. The instances are fictrp01 (lux148) and fictrp02 (lux149). I am trying to register the database with an RMAN catalog. I am under the impression that I need to register the database (fictrp0) not the instances (fictrp01 and fictrp02) with the RMAN catalog. Is this correct? So I log into lux148 and set my environment so the ORACLE_SID=FICTRP0. From the command line I issue the following:
    fictrp0:/u01/app/oracle> rman target / catalog rman102/[email protected]
    The command returns the following:
    Recovery Manager: Release 10.2.0.4.0 - Production on Wed Oct 29 14:05:50 2008
    Copyright (c) 1982, 2007, Oracle. All rights reserved.
    connected to target database (not started)
    connected to recovery catalog database
    Is this normal "connected to target database (not started)"? I was expecting to see a DBID=FICTRP0 for the target. If this is typical, how will RMAN know the ID of the database? Should I be trying to register an instance perhaps such as FICTRP01? If so do I need to register both instances (FICTRP01 and FICTRP02)?
    Bottom line I am very confused on how RAC and RMAN work together. Any help would be greatly appreciated.

    You no need to register the instance,You need to register only the database and database only will have DBID

  • How to put all RMAN-files in one backupset??  (so preventing RMAN-06023)

    ((Please see also this thread: Re: Restoring Database causes ORA-19612
    How can I manage that ALL files, ALL pieces, Controlfile, SPfile etc. etc. is available in ONE backup-file.
    When I do "Backup Database" and I copy the created files to another location: restoring the database keeps asking for older backuppieces.
    (Rman-error: RMAN-06023: no backup or copy of datafile 1 found to restore"
    When i type on the target:
    RMAN> list backup of datafile 1;
    List of Backup Sets
    ===================
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    12 Full 70.03G DISK 00:44:49 02-APR-12
    BP Key: 12 Status: EXPIRED Compressed: NO Tag: TAG20120402T213111
    Piece Name: G:\RMANBACKUP\0KN7EQSV_1_1
    List of Datafiles in backup set 12
    File LV Type Ckp SCN Ckp Time Name
    1 Full 2945781693 02-APR-12 D:\ORACLEDATA\CISORA1\SYSTEM01.DBF
    RMAN>
    I see that the Missing file is in a backupset of 1 day ago. That's NOT what i want. I want EVERY DAY a FULL backupset.
    please advise how to achive.
    thanks
    Edited by: AvRossem on 3-apr-2012 5:36

    AvRossem wrote:
    ((Please see also this thread: Re: Restoring Database causes ORA-19612
    How can I manage that ALL files, ALL pieces, Controlfile, SPfile etc. etc. is available in ONE backup-file.
    When I do "Backup Database" and I copy the created files to another location: restoring the database keeps asking for older backuppieces.
    (Rman-error: RMAN-06023: no backup or copy of datafile 1 found to restore"
    When i type on the target:
    RMAN> list backup of datafile 1;
    List of Backup Sets
    ===================
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    12 Full 70.03G DISK 00:44:49 02-APR-12
    BP Key: 12 Status: EXPIRED Compressed: NO Tag: TAG20120402T213111
    Piece Name: G:\RMANBACKUP\0KN7EQSV_1_1
    List of Datafiles in backup set 12
    File LV Type Ckp SCN Ckp Time Name
    1 Full 2945781693 02-APR-12 D:\ORACLEDATA\CISORA1\SYSTEM01.DBF
    RMAN>
    I see that the Missing file is in a backupset of 1 day ago. That's NOT what i want. I want EVERY DAY a FULL backupset.
    please advise how to achive.
    thanks
    Hi,
    How can I manage that ALL files, ALL pieces, Controlfile, SPfile etc. etc. is available in ONE backup-file.The short awnser is: You cannot do that.
    RMAN divides some files types in different backupset.
    This is a rule:
    Datafiles use your own Backupset
    Controlfile and SPFILE use your own Backupset
    ARCHIVELOG use your own Backupset
    For each BACKUPSET you can have many Backuppiece (i.e files on disk). As rule you always have relationship of one (Backupset) to one or more (Backuppiece).
    So, respecting the rule above you can do following:
    You can use the option FILESPERSET to keep all datafiles in same backuppiece. (In my case below 200 datafiles will be in same backuppiece)
    {code}
    RMAN> backup database tag='my_backup' filesperset 200 include current controlfile ;
    Starting backup at 03-APR-12
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting full datafile backup set
    channel ORA_DISK_1: specifying datafile(s) in backup set
    input datafile file number=00001 name=/u01/app/oracle/oradata/dbrcv/system01.dbf
    input datafile file number=00002 name=/u01/app/oracle/oradata/dbrcv/sysaux01.dbf
    input datafile file number=00003 name=/u01/app/oracle/oradata/dbrcv/undotbs01.dbf
    input datafile file number=00004 name=/u01/app/oracle/oradata/dbrcv/users01.dbf
    channel ORA_DISK_1: starting piece 1 at 03-APR-12
    channel ORA_DISK_1: finished piece 1 at 03-APR-12
    piece handle=/u01/app/oracle/fast_recovery_area/DBRCV/backupset/2012_04_03/o1_mf_nnndf_MY_BACKUP_7qppmnn7_.bkp tag=MY_BACKUP comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:45
    channel ORA_DISK_1: starting full datafile backup set
    channel ORA_DISK_1: specifying datafile(s) in backup set
    including current control file in backup set
    including current SPFILE in backup set
    channel ORA_DISK_1: starting piece 1 at 03-APR-12
    channel ORA_DISK_1: finished piece 1 at 03-APR-12
    piece handle=/u01/app/oracle/fast_recovery_area/DBRCV/backupset/2012_04_03/o1_mf_ncsnf_MY_BACKUP_7qppo4ls_.bkp tag=MY_BACKUP comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:01
    Finished backup at 03-APR-12
    RMAN> backup archivelog all filesperset 200 ;
    Starting backup at 03-APR-12
    current log archived
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting archived log backup set
    channel ORA_DISK_1: specifying archived log(s) in backup set
    input archived log thread=1 sequence=16 RECID=1 STAMP=779332254
    input archived log thread=1 sequence=17 RECID=2 STAMP=779374813
    input archived log thread=1 sequence=18 RECID=3 STAMP=779393222
    input archived log thread=1 sequence=19 RECID=4 STAMP=779436085
    input archived log thread=1 sequence=20 RECID=5 STAMP=779472067
    input archived log thread=1 sequence=21 RECID=6 STAMP=779511653
    input archived log thread=1 sequence=22 RECID=7 STAMP=779580131
    input archived log thread=1 sequence=23 RECID=8 STAMP=779648029
    input archived log thread=1 sequence=24 RECID=9 STAMP=779649107
    input archived log thread=1 sequence=25 RECID=10 STAMP=779649189
    input archived log thread=1 sequence=26 RECID=11 STAMP=779649436
    channel ORA_DISK_1: starting piece 1 at 03-APR-12
    channel ORA_DISK_1: finished piece 1 at 03-APR-12
    piece handle=/u01/app/oracle/fast_recovery_area/DBRCV/backupset/2012_04_03/o1_mf_annnn_TAG20120403T171718_7qppphtb_.bkp tag=TAG20120403T171718 comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:35
    Finished backup at 03-APR-12
    {code}
    Now I have 3 files:
    {code}
    RMAN > List BACKUSET;
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    447 Full 314.02M DISK 00:00:37 03-APR-12
    BP Key: 450 Status: AVAILABLE Compressed: NO Tag: MY_BACKUP
    Piece Name: /u01/app/oracle/fast_recovery_area/DBRCV/backupset/2012_04_03/o1_mf_nnndf_MY_BACKUP_7qppmnn7_.bkp
    List of Datafiles in backup set 447
    File LV Type Ckp SCN Ckp Time Name
    1 Full 444127 03-APR-12 /u01/app/oracle/oradata/dbrcv/system01.dbf
    2 Full 444127 03-APR-12 /u01/app/oracle/oradata/dbrcv/sysaux01.dbf
    3 Full 444127 03-APR-12 /u01/app/oracle/oradata/dbrcv/undotbs01.dbf
    4 Full 444127 03-APR-12 /u01/app/oracle/oradata/dbrcv/users01.dbf
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    448 Full 9.36M DISK 00:00:04 03-APR-12
    BP Key: 451 Status: AVAILABLE Compressed: NO Tag: MY_BACKUP
    Piece Name: /u01/app/oracle/fast_recovery_area/DBRCV/backupset/2012_04_03/o1_mf_ncsnf_MY_BACKUP_7qppo4ls_.bkp
    SPFILE Included: Modification time: 03-APR-12
    SPFILE db_unique_name: DBRCV
    Control File Included: Ckp SCN: 444147 Ckp time: 03-APR-12
    BS Key Size Device Type Elapsed Time Completion Time
    492 300.38M DISK 00:00:26 03-APR-12
    BP Key: 495 Status: AVAILABLE Compressed: NO Tag: TAG20120403T171718
    Piece Name: /u01/app/oracle/fast_recovery_area/DBRCV/backupset/2012_04_03/o1_mf_annnn_TAG20120403T171718_7qppphtb_.bkp
    List of Archived Logs in backup set 492
    Thrd Seq Low SCN Low Time Next SCN Next Time
    1 16 234488 30-MAR-12 261258 31-MAR-12
    1 17 261258 31-MAR-12 286957 31-MAR-12
    1 18 286957 31-MAR-12 303448 31-MAR-12
    1 19 303448 31-MAR-12 329357 01-APR-12
    1 20 329357 01-APR-12 351967 01-APR-12
    1 21 351967 01-APR-12 375454 02-APR-12
    1 22 375454 02-APR-12 409423 02-APR-12
    1 23 409423 02-APR-12 443037 03-APR-12
    1 24 443037 03-APR-12 443868 03-APR-12
    1 25 443868 03-APR-12 443928 03-APR-12
    1 26 443928 03-APR-12 444188 03-APR-12
    {code}
    See it:
    BackupSet :
    447 = Datafiles
    448 = Controfile and SPFILE
    492 = Archivelogs
    Now I want create a copy of these backupset to offsite purpose:
    {code}
    RMAN> backup backupset 447,448,492 tag='my_backup_offsite' format '/u01/app/offsite/%U';
    Starting backup at 03-APR-12
    using channel ORA_DISK_1
    channel ORA_DISK_1: input backup set: count=17, stamp=779649348, piece=1
    channel ORA_DISK_1: starting piece 1 at 03-APR-12
    channel ORA_DISK_1: backup piece /u01/app/offsite/0hn7h0a4_1_2
    piece handle=/u01/app/offsite/0hn7h0a4_1_3 comment=NONE
    channel ORA_DISK_1: finished piece 1 at 03-APR-12
    channel ORA_DISK_1: backup piece complete, elapsed time: 00:00:25
    channel ORA_DISK_1: input backup set: count=18, stamp=779649393, piece=1
    channel ORA_DISK_1: starting piece 1 at 03-APR-12
    channel ORA_DISK_1: backup piece /u01/app/offsite/0in7h0bh_1_2
    piece handle=/u01/app/offsite/0in7h0bh_1_3 comment=NONE
    channel ORA_DISK_1: finished piece 1 at 03-APR-12
    channel ORA_DISK_1: backup piece complete, elapsed time: 00:00:03
    channel ORA_DISK_1: input backup set: count=19, stamp=779649439, piece=1
    channel ORA_DISK_1: starting piece 1 at 03-APR-12
    channel ORA_DISK_1: backup piece /u01/app/offsite/0jn7h0cv_1_2
    piece handle=/u01/app/offsite/0jn7h0cv_1_3 comment=NONE
    channel ORA_DISK_1: finished piece 1 at 03-APR-12
    channel ORA_DISK_1: backup piece complete, elapsed time: 00:00:45
    Finished backup at 03-APR-12
    RMAN> list backupset tag='my_backup_offsite';
    List of Backup Sets
    ===================
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    447 Full 314.02M DISK 00:00:37 03-APR-12
    BP Key: 624 Status: AVAILABLE Compressed: NO Tag: MY_BACKUP_OFFSITE
    Piece Name: /u01/app/offsite/0hn7h0a4_1_3
    List of Datafiles in backup set 447
    File LV Type Ckp SCN Ckp Time Name
    1 Full 444127 03-APR-12 /u01/app/oracle/oradata/dbrcv/system01.dbf
    2 Full 444127 03-APR-12 /u01/app/oracle/oradata/dbrcv/sysaux01.dbf
    3 Full 444127 03-APR-12 /u01/app/oracle/oradata/dbrcv/undotbs01.dbf
    4 Full 444127 03-APR-12 /u01/app/oracle/oradata/dbrcv/users01.dbf
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    448 Full 9.36M DISK 00:00:04 03-APR-12
    BP Key: 625 Status: AVAILABLE Compressed: NO Tag: MY_BACKUP_OFFSITE
    Piece Name: /u01/app/offsite/0in7h0bh_1_3
    SPFILE Included: Modification time: 03-APR-12
    SPFILE db_unique_name: DBRCV
    Control File Included: Ckp SCN: 444147 Ckp time: 03-APR-12
    BS Key Size Device Type Elapsed Time Completion Time
    492 300.38M DISK 00:00:26 03-APR-12
    BP Key: 626 Status: AVAILABLE Compressed: NO Tag: MY_BACKUP_OFFSITE
    Piece Name: /u01/app/offsite/0jn7h0cv_1_3
    List of Archived Logs in backup set 492
    Thrd Seq Low SCN Low Time Next SCN Next Time
    1 16 234488 30-MAR-12 261258 31-MAR-12
    1 17 261258 31-MAR-12 286957 31-MAR-12
    1 18 286957 31-MAR-12 303448 31-MAR-12
    1 19 303448 31-MAR-12 329357 01-APR-12
    1 20 329357 01-APR-12 351967 01-APR-12
    1 21 351967 01-APR-12 375454 02-APR-12
    1 22 375454 02-APR-12 409423 02-APR-12
    1 23 409423 02-APR-12 443037 03-APR-12
    1 24 443037 03-APR-12 443868 03-APR-12
    1 25 443868 03-APR-12 443928 03-APR-12
    1 26 443928 03-APR-12 444188 03-APR-12
    RMAN>
    {code}
    When you perform restore you can use the tag='my_backup_offsite'.
    This files belong a same policy of "configure retention policy ... " of RMAN. So, this files will be obsolete when it is out the policy.
    Hope this helps,
    Levi Pereira

  • How to ensure the rman backup is successful?

    Hi,
    we have scheduled rman backup jobs.
    1. But how do we ensure all the rman backups are successful?
    2. if the rman writes directly to tape, how do we ensure all tape backups are successful?
    thanks
    andrew

    But what is incremental merge, couldn't find in the 10g manual?check it out on http://download.oracle.com/docs/cd/B28359_01/backup.111/b28270/rcmquick.htm#BRADV89354
    do you use image backup in real production environment?Of course. We have a standard to to use image copies that way.
    what do you suggest to do with rman normal way of backup or go for image backup?Depends on your specific situation. Like anything else, I prefer to provide some rationale on the recommendation.
    Image Copies with Incremental Merge
    Pros:
    (1) one one full backup taken ever; no need to take another full backup
    (2) the restore time is the same, regardless of the day of the week the db failed
    (3) every day the incremental merge's success means the backup was good - an automatic validation
    (4) it allows you to quickly switch to copy, rather than restore
    Cons:
    (1) Space requirement is more (since it's a bit to bit copy)
    (2) can't do a point in time recovery from the disk alone
    (3) can't go to the tape directly; must be a disk based backup.
    Backupsets with Incremental Backup
    Pros:
    (1) space requirement is lower (since only never-used blocks are not copied)
    (2) point in time recovery is possible
    (3) direct backup to tape possible (no need for disk backup)
    Cons:
    (1) restore time varies depending on the day of the week the db failed
    (2) you have to take a full backup regularly, perhaps once a week
    (3) no validation unless you use validate backupset (takes resources)
    So, as you can see, there are pros and cons to each approach. You have to decide for yourself which one weighs more (or less) to come to a conclusion.
    Hope this helps.
    Arup Nanda

  • How to recover the rman catalog

    all,
    I have created a recovery catalog and back it up using the control file and the nocatalog option - see below
    rman nocatclog target=rman
    run{
    backup database;
    backup (archivelog all delete input);
    How do I recover the catalog if it dies?
    rgds
    alan

    hi,
    thanks for the response. I will give it a try, but at a cistomer site doing this and they have no test server to try it on. Production only so need to be sure of what is going to happen.
    rgds
    alan

  • How to duplicate by rman database?

    dear sir, i read one article and follow step and 2nd auxiliary database i delete all dbf, ctl, log(redo) files ...then tryying to create dubplicate giving me error
    can some one send steps of it
    rgds
    shahzad

    Database Duplication with RMAN
    Use the RMAN DUPLICATE command to create a copy of the target database that you can use for testing. The command restores backups and copies of the primary database's files and creates a new database.
    As part of the duplicating operation, RMAN manages the following:
    Restores the target datafiles into the duplicate database and performs incomplete recovery using all available archived log and incremental backups.
    Opens the duplicate database with the RESETLOGS option after incomplete recovery to create the online redo logs.
    Generates a new, unique database identifier for the duplicate database.
    Note also the following features of RMAN duplication. You can:
    Skip read-only tablespaces with the SKIP READONLY clause (read-only tablespaces are included by default). You can also exclude any tablespace with the SKIP TABLESPACE clause so long as it is not the SYSTEM tablespace and does not contain rollback or undo data. If you omit tablespaces, then you can add them later.
    Create your duplicate database in a new host. If the same directory structure is available, then you can use the NOFILENAMECHECK option and reuse the target datafile filenames for the duplicate datafiles.
    Create your duplicate database by using the SET UNTIL command or UNTIL clause of the DUPLICATE command to recover it to a noncurrent time. By default, the DUPLICATE command creates the database using the most recent backups of the target database and then performs recovery to the most recent consistent point contained in the incremental and archived redo log backups.
    Use the duplicate database without a recovery catalog.
    Register the duplicate database in the same recovery catalog as the target database. This option is possible because the duplicate database receives a new database identifier during duplication. If you copy the target database using operating system utilities, then the database identifier of the copied database remains the same so you cannot register it in the same recovery catalog.
    Figure 6-3 illustrates a case of database duplication. In this example, RMAN creates two duplicate database by using one set of datafile backups: one database on the local host and one database a remote host.
    Figure 6-3 Creating a Duplicate Database from Backups
    Text description of the illustration sbr81078.gif
    The method you use to duplicate your database depends on whether you are creating your duplicate database on the same or a different host and whether the duplicate directory structure is the same as your target database directory structure. For example, in some cases you can keep the same directory structure and filenames in your duplicate database, while other times you must rename the files.
    See Also:
    Chapter 12, "Duplicating a Database with Recovery Manager" to learn how to make a duplicate database, and Oracle9i Recovery Manager Reference for DUPLICATE command syntax.
    http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96566/rcmconc2.htm#462471
    Joel Pérez
    http://www.oracle.com/technology/experts

Maybe you are looking for

  • Internal drive failing

    ok, help. . .i have been having problems all morning & ran a scan with disc utility & come to find out one of my 4 internal drives is failing s.m.a.r.t. it shows up as a drive on my desktop, but i cannot access it nor try to back it up with carbon co

  • How to view pictures from usb without uploading it to iphoto

    Im new to macbook pro from pc...i used to view photos from usb or sd card without importing it to computer...all i have to do is insert the sd thru usb and double click on one of the pictures and click the arrow to view the next picture.when im done

  • PHP/Java Bridge deploy error

    I am getting the following error upon deploying a web-app PHP/Java Bridge and wonder if someone with more web-app experience can tell me if in fact that Java Server Faces is not available or if the web-app needs some internal changes. This might be m

  • Partial GR of serial number material using MB31

    Hi, experts, I get a problem about goods receipt againts production order, serial number.   I assigned some serial numbers to the production order before I release it. When I wanted to have a partial GR with MB31, I found that the system just display

  • Where can i find all the input steam method in java??

    Hi can some one plz give me a link in this java site, so that i can see the list of input steam related method. E.g. reader() ....