RMAN Tape

Hello,
We have a RAC 4 nodes environment running in 11gR2 / Linux redhat. database in Archivelog mode and we use RMAN. Every Sunday, We do weekly Tape backup of the recovery area + Current controlfile + archivelog files. We do daily incremental backups to disk during weekdays.
For business, we need to restore the database to the state of 9 of April 2012. So we need to do a Tape restore + Archivelogs from daily disk backups. (8 of April is Sunday and 9 of April is Monday).
This is the procedure I am thinking to use.
1- Allocate Tape channels
2- set until time "to_date('09-APR-2012 14:45:00','DD-MON-YYYY HH24:MI:SS')";
3- Restore the database
4- Recover the database
5- Alter database open resetlogs;
My questions are;
1- Do I need to restore the controlfile from the tape backup of 08 of April?
2- How do I restore the archivelogs from daily disk backups ?
Thanks,
S

Pl do not post duplicates - Question

Similar Messages

  • Error in RMAN TAPE BACKUP

    Dear Gurus,
    I got the following error in RMAN TAPE backup.
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of delete command on default channel at 09/20/2011 02:36:58
    ORA-15028: ASM file '+ASMFLASH/gcprod/archivelog/2011_09_15/thread_2_seq_55857.2176.761912673' not dropped; currently being accessed
    RMAN>
    Recovery Manager complete.my RMAN BACKUP Script is:
    rman target sys/*****@gcprod1  nocatalog  << EOF
    spool log to $v_bdest/clean_catalog_TAPE.log append;
    run {
    allocate channel c1 type 'sbt_tape' parms
    'ENV=(TDPO_OPTFILE=/usr/tivoli/tsm/client/oracle/bin64/tdpo.opt)';
    #crosscheck backupset;
    #crosscheck copy;
    #crosscheck archivelog all;
    # included on 21Jan2011 at 9:18 PM
    #delete noprompt expired backup;
    delete noprompt obsolete;
    #delete noprompt expired archivelog all;
    # included on 21Jan2011 at 9:18 PM
    release channel c1;
    exit
    EOFMy RMAN RETENTION POLICY IS:
    RMAN> show all;
    RMAN configuration parameters are:
    CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 3 DAYS;
    CONFIGURE BACKUP OPTIMIZATION OFF;
    CONFIGURE DEFAULT DEVICE TYPE TO DISK;
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F';
    CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET;
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1;
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1;
    CONFIGURE MAXSETSIZE TO UNLIMITED;
    CONFIGURE ENCRYPTION FOR DATABASE OFF;
    CONFIGURE ENCRYPTION ALGORITHM 'AES128';
    CONFIGURE ARCHIVELOG DELETION POLICY TO NONE;
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/oracle/app/oracle/product/10.2.0.1/db_1/dbs/snapcf_gcprod1.f';According to retention policy archivelogs of past 3 days should be present rest and all , i have written a script to delete and it is performing well from past 6 months, but now recently we got this error
    we have enough archivelog space.
    and the archive log pointing in this error is on 15th september archivelog.....today date is 20th september....
    My archive log was stored in asm .... i went there and saw that still 15th september archivelogs are present there.
    Please help me regarding this
    Regards,
    Vamsi.....

    For RMAN topics, please use: {forum:id=74}.

  • Spfile restore from RMAN Tape backup to different server

    Hi All,
    First of all let me thank you to the forum from which I keep updating my knowledge on oracle.
    I am having issues when trying to restore spfile from controlfile autobackup to different server. Problem and other details are below:
    Target version : 10.2.0.2
    Netbackup : 6.5.6
    Taken the tape backup through rman on server ABC and trying to restore the spfile from controlfile autobackup to server XYZ. Tape backup has been taken today morning and trying restore now.
    Both servers ABC and XYX have been added (as clients) to netbackup policy.
    Below is the syntax I used for restoring spfile and getting error as mentioned.
    RMAN> run {
    2> set controlfile autobackup format for device type 'SBT_TAPE' to '%F';
    3> allocate channel ch00 device type 'sbt_tape'
    4> parms='ENV=(NB_ORA_SERV=Mediaserver,NB_ORA_CLIENT=XYZ)';
    5> restore spfile to pfile '/oracle/product/10g/dbs/inittest.ora' from
    6> autobackup maxseq 5 maxdays 3;
    7> }
    executing command: SET CONTROLFILE AUTOBACKUP FORMAT
    allocated channel: ch00
    channel ch00: sid=36 devtype=SBT_TAPE
    channel ch00: Veritas NetBackup for Oracle - Release 6.5 (2010042405)
    Starting restore at 03-AUG-2011
    channel ch00: looking for autobackup on day: 20110803
    channel ch00: looking for autobackup on day: 20110802
    channel ch00: looking for autobackup on day: 20110801
    channel ch00: no autobackup in 3 days found
    released channel: ch00
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 08/03/2011 14:03:26
    RMAN-06172: no autobackup found or specified handle is not a valid copy or piece
    Not sure where I am doing wrong. The same can be restored onto same host (I.E ABC) without any issues .
    Request your help and guidance.
    Thanks,
    SSS

    I don't know whether you can restore to a different server. The easier way should be
    RMAN> restore spfile to pfile 'YOUR_PFILE_NAME' from autobackup;
    then copy this to the new host.
    Check this link
    restore spfile to another host
    Hope this helps

  • Cloning DB on a different server from RMAN Tape backup

    RDBMS version           : 11.2.0.2 on Solaris 10
    Media Management Layer : Netbackup v7
    I have done only backups to Tape. I have never done restore,recovery from Tape.
    We have a production DB named NEHPROD running on server qualmh214. Every Monday morning an RMAN Full backup for NEHPROD is taken to Tape.
    Production server : qualmh214        DB Name:NEHPROD
    run
    ALLOCATE CHANNEL c1 TYPE 'SBT_TAPE';
    SEND 'NB_ORA_CLIENT=qualmh214,NB_ORA_POLICY=qualmh214_rman,NB_ORA_SERV=qualmh238,NB_ORA_SCHED=Daily';
    backup database   FORMAT 'NEHPROD_%d_%U_%t.rbk' tag='NEHPROD_full';
    }I need to create a Test DB in a different server (qualmh199) by restoring directly from NEHPROD's Full backup in tape .
    From qualmh199, how can I connect to the Tape Media server ?
    Even If I do connect to the Tape media server, how can i get access to tape backups of another DB? In the RMAN run block you can't specify a DB name. Right?
    Even if I get access to another DB's backup , How can i specify which Date's Full backup I need to use to restore ?

    From qualmh199, how can I connect to the Tape Media server ?You have to allocate channels to tape & need to mention NB parameters as example below.
    in RMAN script
    ALLOCATE CHANNEL CH1 DEVICE TYPE SBT_TAPE PARMS 'SBT_LIBRARY=/usr/openv/netbackup/bin/libobk.so64';
    SEND 'NB_ORA_SERV=<server.com>, NB_ORA_CLIENT=<target.server>';
    Even If I do connect to the Tape media server, how can i get access to tape backups of another DB? In the RMAN run block you can't specify a DB name. Right?If the libraries are installed and you able to perform, you can go for either duplicate database or simple RMAN restore. You can mention other DB names also
    Ex: duplicate target database to 'test';
    Even if I get access to another DB's backup , How can i specify which Date's Full backup I need to use to restore ?You can mention TAG's if you are using RMAN restore.

  • RMAN Tape Backups

    Hi
    We have set a recovery window of 7 days in RMAN. And we move the obsolete files to tape from hard disks before deleting them.
    Is there any way to track theses files from RMAN i.e. How will RMAN know about theses files.
    e.g. If i have to recover database to one month back then how will i proceed.
    Thanks
    Rajesh

    Increase the recovery window. It is just like buying 2 gallons of gas on every gas station when you want to travel 2000 miles. Why? fill up the tank and go ahead.
    The same here. If you want to recover a db to a state > 7 days increase the recovery window. It will need a bit more of storage (a few MB).
    Regards
    Paul G. Matuszyk

  • RMAN tape connected

    Hi,
    how we can check that is tape is configured and connected to the server to store rman backups on that.
    Please give me the queries, if you have.
    thanks

    Hi,
    To check your setup without an instance you can use the following command:
    sbttest test.out -trace sbttest.traceRegards,
    Tycho
    Edited by: tychos on 7-dec-2012 14:43

  • RMAN tape backup fail

    Experts...
    While executing full database backup using RMAN we are getting below set of exceptions,
    RMAN> backup database;
    Starting backup at 12-OCT-09
    allocated channel: ORA_SBT_TAPE_1
    channel ORA_SBT_TAPE_1: sid=401 devtype=SBT_TAPE
    channel ORA_SBT_TAPE_1: Veritas NetBackup for Oracle - Release 6.5 (20090430)
    channel ORA_SBT_TAPE_1: starting full datafile backupset
    channel ORA_SBT_TAPE_1: specifying datafile(s) in backupset
    input datafile fno=00005 name=L:\LHECCDB\CCDB
    input datafile fno=00002 name=L:\LHECCDB\UNDOTBS01.DBF
    input datafile fno=00006 name=L:\LHECCDB\CCDBRMAN.ORA
    input datafile fno=00001 name=L:\LHECCDB\SYSTEM01.DBF
    input datafile fno=00003 name=L:\LHECCDB\SYSAUX01.DBF
    input datafile fno=00004 name=L:\LHECCDB\USERS01.DBF
    channel ORA_SBT_TAPE_1: starting piece 1 at 12-OCT-09
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of backup command on ORA_SBT_TAPE_1 channel at 10/12/2009 22
    :30:10
    ORA-19506: failed to create sequential file, name="4", parms=""
    ORA-27028: skgfqcre: sbtbackup returned error
    ORA-19511: Error received from media manager layer, error text:
    VxBSAValidateFeatureId: Failed with error:
    Server Status: cannot connect on socket
    Please help and guide where we are making mistake
    Thanks,

    That is an error from the MML. You may want to check http://seer.support.veritas.com/docs/281296.htm.

  • RMAN Tape Error

    Hello,
    I need help to fix the following issue with RMAN Backup;
    ORA-19506: failed to create sequential file, name="Datafile6_DatabasePRD", parms=""
    ORA-27028: skgfqcre: sbtbackup returned error
    ORA-19511: Error received from media manager layer, error text:
    The backup file already exists: Datafile6_DatabasePRD (100:110:2)The database is 11.2.0.2 on HP-UX.
    The backup script is;
    BACKUP DATAFILECOPY FROM TAG 'INCREMENTAL' FORMAT 'Datafile%f_Database%d';Error logs:
    channel t6_tape_backup: starting piece 1 at 13-JAN-13
    RMAN-03009: failure of backup command on t1_tape_backup channel at 01/13/2013 11:12:51
    ORA-19506: failed to create sequential file, name="Datafile6_DatabasePRD", parms=""
    ORA-27028: skgfqcre: sbtbackup returned error
    ORA-19511: Error received from media manager layer, error text:
       The backup file already exists: Datafile6_DatabasePRD (100:110:2)
    channel t1_tape_backup disabled, job failed on it will be run on another channel
    RMAN-03009: failure of backup command on t2_tape_backup channel at 01/13/2013 11:12:51
    ORA-19506: failed to create sequential file, name="Datafile4_DatabasePRD", parms=""
    ORA-27028: skgfqcre: sbtbackup returned error
    ORA-19511: Error received from media manager layer, error text:
       The backup file already exists: Datafile4_DatabasePRD (100:110:2)
    channel t2_tape_backup disabled, job failed on it will be run on another channel
    RMAN-03009: failure of backup command on t3_tape_backup channel at 01/13/2013 11:12:51
    ORA-19506: failed to create sequential file, name="Datafile1_DatabasePRD", parms=""
    ORA-27028: skgfqcre: sbtbackup returned error
    ORA-19511: Error received from media manager layer, error text:
       The backup file already exists: Datafile1_DatabasePRD (100:110:2)
    channel t3_tape_backup disabled, job failed on it will be run on another channel
    RMAN-03009: failure of backup command on t5_tape_backup channel at 01/13/2013 11:12:51
    ORA-19506: failed to create sequential file, name="Datafile2_DatabasePRD", parms=""
    ORA-27028: skgfqcre: sbtbackup returned error
    ORA-19511: Error received from media manager layer, error text:
       The backup file already exists: Datafile2_DatabasePRD (100:110:2)
    channel t5_tape_backup disabled, job failed on it will be run on another channel
    RMAN-03009: failure of backup command on t6_tape_backup channel at 01/13/2013 11:12:51
    ORA-19506: failed to create sequential file, name="Datafile5_DatabasePRD", parms=""
    ORA-27028: skgfqcre: sbtbackup returned error
    ORA-19511: Error received from media manager layer, error text:
       The backup file already exists: Datafile5_DatabasePRD (100:110:2)
    channel t6_tape_backup disabled, job failed on it will be run on another channel
    channel t7_tape_backup: starting compressed full datafile backup set
    channel t7_tape_backup: including datafile copy of datafile 00006 in backup set
    input file name=+FLASH_DG/PRDstby/datafile/wpslog.3510.803139043
    channel t7_tape_backup: starting piece 1 at 13-JAN-13
    channel t8_tape_backup: starting compressed full datafile backup set
    channel t8_tape_backup: including datafile copy of datafile 00004 in backup set
    input file name=+FLASH_DG/PRDstby/datafile/wps.3509.803139043
    channel t8_tape_backup: starting piece 1 at 13-JAN-13
    RMAN-03009: failure of backup command on t4_tape_backup channel at 01/13/2013 11:12:51
    ORA-19506: failed to create sequential file, name="Datafile3_DatabasePRD", parms=""
    ORA-27028: skgfqcre: sbtbackup returned error
    ORA-19511: Error received from media manager layer, error text:
       The backup file already exists: Datafile3_DatabasePRD (100:110:2)
    channel t4_tape_backup disabled, job failed on it will be run on another channel
    RMAN-03009: failure of backup command on t7_tape_backup channel at 01/13/2013 11:12:52
    ORA-19506: failed to create sequential file, name="Datafile6_DatabasePRD", parms=""
    ORA-27028: skgfqcre: sbtbackup returned error
    ORA-19511: Error received from media manager layer, error text:
       The backup file already exists: Datafile6_DatabasePRD (100:110:2)
    channel t7_tape_backup disabled, job failed on it will be run on another channel
    released channel: t1_tape_backup
    released channel: t2_tape_backup
    released channel: t3_tape_backup
    released channel: t4_tape_backup
    released channel: t5_tape_backup
    released channel: t6_tape_backup
    released channel: t7_tape_backup
    released channel: t8_tape_backup
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03015: error occurred in stored script weekly_backup
    RMAN-03009: failure of backup command on t8_tape_backup channel at 01/13/2013 11:12:52
    ORA-19506: failed to create sequential file, name="Datafile4_DatabasePRD", parms=""
    ORA-27028: skgfqcre: sbtbackup returned error
    ORA-19511: Error received from media manager layer, error text:
       The backup file already exists: Datafile4_DatabasePRD (100:110:2)

    JohnWatson wrote:
    Your format string needs to include a variable that will generate unique file names, such as %U.Thank you. You mean this will be the correct syntax?
    BACKUP DATAFILECOPY FROM TAG 'INCREMENTAL' FORMAT 'Datafile%f_Database%d%U';

  • RMAN clone in new server

    Hi
    I have rman tape backup of the entire database. I want to clone this on new server.
    I have started database in new server. It is in mount stage. how to restore and recover the datafiles on new host.
    I am using leagato server for tape backup. Please guide me on this.

    You need to use RMAN DUPLICATE and to adapt following steps to your environment http://download.oracle.com/docs/cd/B19306_01/backup.102/b14191/rcmdupdb.htm#i1006474.
    About tape backups, please note:
    >
    When using tape backups, you must make the tapes containing the backups accessible to the remote node. You can achieve this goal by physically moving the tape to a drive attached to the remote host or by means of a network-accessible tape server.

  • Restore controlfile from leagato tape backup

    I am using legato tool to perform rman tape backup.
    I use the following script on legato to get the controlfile backup.
    "backup current controlfile format '%d_%s_%p.ctrl'; "
    If I lost the controlfile how do i restore controlfile from the tape. Assume that the DB in nomount stage.

    Hi,
    backing up autobackup controlfiles to legato is possible. All you have to do is to configure autobackup accordingly. By default autobackup controlfiles will get written to disk.
    However i strongly recommend to use a rman backup catalog. This will save you a lot of time consuming trouble if you need to restore your database.
    The rman catalog database itself does not need any license and is rather small (5 GB on disk, 512 MB memory).
    Restoring the control file will be something like this:
    set controlfile autobackup format for device type sbt to '%F';
    restore controlfile from autobackup;
    Ronny Egner
    My Blog: http://blog.ronnyegner-consulting.de

  • Backup to Disk and Tape

    Looking to convert our RMAN Tape backups to Disk using incr merge.
    RUN {
    RECOVER COPY OF DATABASE WITH TAG 'incr_update';
    BACKUP INCREMENTAL LEVEL 1 FOR RECOVER OF COPY WITH TAG 'incr_update'
    DATABASE;
    Then we want to backup all backupsets to tape for archive. So questions are
    1) How do you tell RMAN to only backup backupset that have not been backup up to tape already?
    2) Once a week, we would want to backup the full image copy "TAG 'incr_update'" to tape as well.
    Thanks...

    Thanks for the info... As a follow up question... I see some samples for IMB out there like so:
    run {
    recover copy of database with tag 'incremental_merge_backup';
    backup incremental level 1 cumulative copies=1 for recover of copy with tag 'incremental_merge_backup' database;
    What is the COPIES=1 for? Can't seem to find any docs on how it affect a IMB.
    Thanks..

  • Virtual tape drive

    Is there any software for Virtual tape drive, so I can simulate RMAN tape backups at home server, without acutally buying the tape drive?
    thanks

    There are lots of Virtual Tape Library (VTL) providers on the market. Review the OSB hardware support matrix to see which ones are supported. http://www.oracle.com/technology/products/secure-backup/pdf/Tape_Devices10.3.pdf
    OSB itself does not provide a VTL function.
    Thanks
    Rich

  • To check weather JAVAVM being used or not?

    Hi,
    We are in the process of cleaning up unnecessary components. As a part of this, first of all we are checking weather JAVAVM is being used or not?  How to confirm weather JAVAVM is being used or not?
    I gone through Database Feature Usage but could not find any entry related to JAVAVM, for rest of the components i was able to. Any hints on this.
    DBA_REGISTRY
    COMP_ID
    COMP_NAME
    VERSION
    STATUS
    MODIFIED
    CATALOG
    Oracle Database Catalog Views
    10.2.0.5.0
    VALID
    23-JUN-2013 06:16:06
    CATPROC
    Oracle Database Packages and Types
    10.2.0.5.0
    VALID
    23-JUN-2013 06:16:06
    JAVAVM
    JServer JAVA Virtual Machine
    10.2.0.5.0
    VALID
    23-JUN-2013 06:16:07
    CATJAVA
    Oracle Database Java Packages
    10.2.0.5.0
    VALID
    23-JUN-2013 06:16:07
    And features usage is as follows.
    Database Feature Usage
    NAME
    DETECTED_USAGES
    ASO native encryption and checksumming
    0
    AWR Report
    17
    Advanced Replication
    0
    Advanced Security
    0
    Audit Options
    41
    Automatic Database Diagnostic Monitor
    6
    Automatic SQL Execution Memory
    41
    Automatic Segment Space Management (system)
    41
    Automatic Segment Space Management (user)
    41
    Automatic Storage Manager
    0
    Automatic Undo Management
    41
    Automatic Workload Repository
    1
    CSSCAN
    0
    Change Data Capture
    0
    Change-Aware Incremental Backup
    0
    Character Semantics
    0
    Character Set
    41
    Client Identifier
    0
    Data Guard
    0
    Data Guard Broker
    0
    Data Mining
    0
    Database Replay: Workload Capture
    0
    Diagnostic Pack
    0
    Dynamic SGA
    0
    EM Database Control
    0
    EM Grid Control
    0
    Extensibility
    41
    File Mapping
    0
    Flashback Database
    0
    Internode Parallel Execution
    0
    LOB
    41
    Label Security
    0
    Locally Managed Tablespaces (system)
    41
    Locally Managed Tablespaces (user)
    41
    Locator
    0
    MTTR Advisor
    0
    Materialized Views (User)
    41
    Messaging Gateway
    0
    Multiple Block Sizes
    0
    OLAP - Analytic Workspaces
    0
    OLAP - Cubes
    0
    Object
    41
    Oracle Database Vault
    0
    Oracle Managed Files
    0
    PL/SQL Native Compilation
    0
    Parallel SQL DDL Execution
    24
    Parallel SQL DML Execution
    0
    Parallel SQL Query Execution
    35
    Partitioning (system)
    41
    Partitioning (user)
    0
    Protection Mode - Maximum Availability
    0
    Protection Mode - Maximum Performance
    41
    Protection Mode - Maximum Protection
    0
    Protection Mode - Unprotected
    0
    RMAN - Disk Backup
    0
    RMAN - Tape Backup
    0
    Real Application Clusters (RAC)
    0
    Recovery Area
    0
    Recovery Manager (RMAN)
    0
    Resource Manager
    0
    SQL Access Advisor
    0
    SQL Tuning Advisor
    7
    SQL Tuning Set
    41
    Segment Advisor
    40
    Server Parameter File
    5
    Shared Server
    37
    Spatial
    0
    Standby Archival - ARCH
    0
    Standby Archival - LGWR
    0
    Standby Transmission
    0
    Streams (system)
    0
    Streams (user)
    0
    Transparent Gateway
    0
    Tuning Pack
    0
    Undo Advisor
    0
    Virtual Private Database (VPD)
    0
    XDB
    0
    D
    Regards
    DBA.

    We are in the process of cleaning up unnecessary components. As a part of this, first of all we are checking weather JAVAVM is being used or not?  How to confirm weather JAVAVM is being used or not?
    Yes - if you have an Oracle database the JVM is being used.
    There is NOTHING to 'clean up' as far as the internal JVM that is part of Oracle.
    You can NOT modify it or upgrade it. And if you remove it Oracle will also remove your database.
    See the Database Installation Guide
    http://docs.oracle.com/cd/B28359_01/install.111/b32002/remove_oracle_sw.htm#CCHBABDE
    In the Inventory screen, select the Oracle home and the products that you want to remove, then click Remove.
    Note:
    If you choose to remove Oracle JVM, Oracle Universal Installer removes all installed products that depend on Oracle JVM, including Oracle Database 11g.

  • How to uninstall Oracle 11g Database Options?

    I've come across a problem. A company that developed an application, installed Oracle 11g EE.
    I guess they would use all default options. Some of them are licensed separately, and are not used. So I need to uninstall them.
    For example, I see that it is installed "Advanced Compression". I tried to uninstall it from the Universal Installer, but there isn't an option.

    Good news for my company.
    There has never been used "Advanced Compression" and for everything else we are licensed.
    NAME                                                     VERSION     DETECTED_USAGES CURRENTLY_USED LAST_USAGE_DATE
    Active Data Guard - Real-Time Query on Physical Standby  11.2.0.2.0                0 FALSE                         
    ADDM                                                     11.2.0.2.0                0 FALSE                         
    Advanced Replication                                     11.2.0.2.0                0 FALSE                         
    Application Express                                      11.2.0.2.0                0 FALSE                         
    Automatic SGA Tuning                                     11.2.0.2.0                0 FALSE                         
    Automatic Storage Management                             11.2.0.2.0                0 FALSE                         
    Automatic Workload Repository                            11.2.0.2.0                0 FALSE                         
    AWR Baseline                                             11.2.0.2.0                0 FALSE                         
    AWR Baseline Template                                    11.2.0.2.0                0 FALSE                         
    Backup BASIC Compression                                 11.2.0.2.0                0 FALSE                         
    Backup BZIP2 Compression                                 11.2.0.2.0                0 FALSE                         
    Backup Encryption                                        11.2.0.2.0                0 FALSE                         
    Backup HIGH Compression                                  11.2.0.2.0                0 FALSE                         
    Backup LOW Compression                                   11.2.0.2.0                0 FALSE                         
    Backup MEDIUM Compression                                11.2.0.2.0                0 FALSE                         
    Backup Rollforward                                       11.2.0.2.0                0 FALSE                         
    Backup ZLIB Compression                                  11.2.0.2.0                0 FALSE                         
    Baseline Adaptive Thresholds                             11.2.0.2.0                0 FALSE                         
    Baseline Static Computations                             11.2.0.2.0                0 FALSE                         
    Bigfile Tablespace                                       11.2.0.2.0                0 FALSE                         
    Block Media Recovery                                     11.2.0.2.0                0 FALSE                         
    Change Data Capture                                      11.2.0.2.0                0 FALSE                         
    Change-Aware Incremental Backup                          11.2.0.2.0                0 FALSE                         
    Character Semantics                                      11.2.0.2.0                0 FALSE                         
    Client Identifier                                        11.2.0.2.0                0 FALSE                         
    Clusterwide Global Transactions                          11.2.0.2.0                0 FALSE                         
    Compression Advisor                                      11.2.0.2.0                0 FALSE                         
    Crossedition Triggers                                    11.2.0.2.0                0 FALSE                         
    CSSCAN                                                   11.2.0.2.0                0 FALSE                         
    Data Guard                                               11.2.0.2.0                0 FALSE                         
    Data Mining                                              11.2.0.2.0                0 FALSE                         
    Data Recovery Advisor                                    11.2.0.2.0                0 FALSE                         
    Database Replay: Workload Capture                        11.2.0.2.0                0 FALSE                         
    Database Replay: Workload Replay                         11.2.0.2.0                0 FALSE                         
    Deferred Open Read Only                                  11.2.0.2.0                0 FALSE                         
    Direct NFS                                               11.2.0.2.0                0 FALSE                         
    Dynamic SGA                                              11.2.0.2.0                0 FALSE                         
    Editioning Views                                         11.2.0.2.0                0 FALSE                         
    Editions                                                 11.2.0.2.0                0 FALSE                         
    EM Database Control                                      11.2.0.2.0                0 FALSE                         
    Encrypted Tablespaces                                    11.2.0.2.0                0 FALSE                         
    Exadata                                                  11.2.0.2.0                0 FALSE                         
    Extensibility                                            11.2.0.2.0                0 FALSE                         
    File Mapping                                             11.2.0.2.0                0 FALSE                         
    Flashback Data Archive                                   11.2.0.2.0                0 FALSE                         
    Flashback Database                                       11.2.0.2.0                0 FALSE                         
    GoldenGate                                               11.2.0.2.0                0 FALSE                         
    HeapCompression                                          11.2.0.2.0                0 FALSE                         
    Hybrid Columnar Compression                              11.2.0.2.0                0 FALSE                         
    Instance Caging                                          11.2.0.2.0                0 FALSE                         
    Internode Parallel Execution                             11.2.0.2.0                0 FALSE                         
    Label Security                                           11.2.0.2.0                0 FALSE                         
    Locator                                                  11.2.0.2.0                0 FALSE                         
    Long-term Archival Backup                                11.2.0.2.0                0 FALSE                         
    Materialized Views (User)                                11.2.0.2.0                0 FALSE                         
    Messaging Gateway                                        11.2.0.2.0                0 FALSE                         
    Multi Section Backup                                     11.2.0.2.0                0 FALSE                         
    Multiple Block Sizes                                     11.2.0.2.0                0 FALSE                         
    Object                                                   11.2.0.2.0                0 FALSE                         
    OLAP - Analytic Workspaces                               11.2.0.2.0                0 FALSE                         
    OLAP - Cubes                                             11.2.0.2.0                0 FALSE                         
    Oracle Database Vault                                    11.2.0.2.0                0 FALSE                         
    Oracle Java Virtual Machine (user)                       11.2.0.2.0                0 FALSE                         
    Oracle Managed Files                                     11.2.0.2.0                0 FALSE                         
    Oracle Multimedia                                        11.2.0.2.0                0 FALSE                         
    Oracle Multimedia DICOM                                  11.2.0.2.0                0 FALSE                         
    Oracle Secure Backup                                     11.2.0.2.0                0 FALSE                         
    Oracle Text                                              11.2.0.2.0                0 FALSE                         
    Oracle Utility External Table                            11.2.0.2.0                0 FALSE                         
    Oracle Utility SQL Loader (Direct Path Load)             11.2.0.2.0                0 FALSE                         
    PL/SQL Native Compilation                                11.2.0.2.0                0 FALSE                         
    Read Only Tablespace                                     11.2.0.2.0                0 FALSE                         
    Real Application Clusters (RAC)                          11.2.0.2.0                0 FALSE                         
    Real-Time SQL Monitoring                                 11.2.0.2.0                0 FALSE                         
    Recovery Area                                            11.2.0.2.0                0 FALSE                         
    Recovery Manager (RMAN)                                  11.2.0.2.0                0 FALSE                         
    Resource Manager                                         11.2.0.2.0                0 FALSE                         
    Restore Point                                            11.2.0.2.0                0 FALSE                         
    Result Cache                                             11.2.0.2.0                0 FALSE                         
    RMAN - Disk Backup                                       11.2.0.2.0                0 FALSE                         
    RMAN - Tape Backup                                       11.2.0.2.0                0 FALSE                         
    Rules Manager                                            11.2.0.2.0                0 FALSE                         
    SecureFile Compression (system)                          11.2.0.2.0                0 FALSE                         
    SecureFile Compression (user)                            11.2.0.2.0                0 FALSE                         
    SecureFile Deduplication (system)                        11.2.0.2.0                0 FALSE                         
    SecureFile Deduplication (user)                          11.2.0.2.0                0 FALSE                         
    SecureFile Encryption (system)                           11.2.0.2.0                0 FALSE                         
    SecureFile Encryption (user)                             11.2.0.2.0                0 FALSE                         
    Semantics/RDF                                            11.2.0.2.0                0 FALSE                         
    Server Flash Cache                                       11.2.0.2.0                0 FALSE                         
    Services                                                 11.2.0.2.0                0 FALSE                         
    Shared Server                                            11.2.0.2.0                0 FALSE                         
    Spatial                                                  11.2.0.2.0                0 FALSE                         
    SQL Access Advisor                                       11.2.0.2.0                0 FALSE                         
    SQL Performance Analyzer                                 11.2.0.2.0                0 FALSE                         
    SQL Plan Management                                      11.2.0.2.0                0 FALSE                         
    SQL Profile                                              11.2.0.2.0                0 FALSE                         
    SQL Repair Advisor                                       11.2.0.2.0                0 FALSE                         
    SQL Tuning Set (system)                                  11.2.0.2.0                0 FALSE                         
    SQL Tuning Set (user)                                    11.2.0.2.0                0 FALSE                         
    SQL Workload Manager                                     11.2.0.2.0                0 FALSE                         
    Streams (system)                                         11.2.0.2.0                0 FALSE                         
    Streams (user)                                           11.2.0.2.0                0 FALSE                         
    Transparent Data Encryption                              11.2.0.2.0                0 FALSE                         
    Transparent Gateway                                      11.2.0.2.0                0 FALSE                         
    Transportable Tablespace                                 11.2.0.2.0                0 FALSE                         
    Tune MView                                               11.2.0.2.0                0 FALSE                         
    Undo Advisor                                             11.2.0.2.0                0 FALSE                         
    Very Large Memory                                        11.2.0.2.0                0 FALSE                         
    Workspace Manager                                        11.2.0.2.0                0 FALSE                         
    XDB                                                      11.2.0.2.0                0 FALSE                         
    XStream In                                               11.2.0.2.0                0 FALSE                         
    XStream Out                                              11.2.0.2.0                0 FALSE                         
    XStream Streams                                          11.2.0.2.0                0 FALSE                         
    ASO native encryption and checksumming                   11.2.0.2.0                1 FALSE          20/10/12       
    Segment Advisor (user)                                   11.2.0.2.0                1 FALSE          08/03/13       
    SQL Tuning Advisor                                       11.2.0.2.0                2 FALSE          09/02/13       
    AWR Report                                               11.2.0.2.0                3 FALSE          09/02/13       
    Oracle Utility Datapump (Import)                         11.2.0.2.0                3 FALSE          26/05/12       
    EM Performance Page                                      11.2.0.2.0                5 FALSE          20/10/12       
    SQL Monitoring and Tuning pages                          11.2.0.2.0                5 FALSE          20/10/12       
    Job Scheduler                                            11.2.0.2.0                6 TRUE           13/04/13       
    Segment Shrink                                           11.2.0.2.0                6 TRUE           13/04/13       
    EM Grid Control                                          11.2.0.2.0               27 FALSE          15/03/13       
    Automatic SQL Execution Memory                           11.2.0.2.0               35 TRUE           13/04/13       
    MTTR Advisor                                             11.2.0.2.0               41 TRUE           13/04/13       
    Parallel SQL DDL Execution                               11.2.0.2.0               56 TRUE           13/04/13       
    Parallel SQL DML Execution                               11.2.0.2.0               56 TRUE           13/04/13       
    Parallel SQL Query Execution                             11.2.0.2.0               61 TRUE           13/04/13       
    Oracle Utility Datapump (Export)                         11.2.0.2.0               93 TRUE           13/04/13       
    Oracle Utility Metadata API                              11.2.0.2.0               93 TRUE           13/04/13       
    Automatic Segment Space Management (user)                11.2.0.2.0               95 TRUE           13/04/13       
    Automatic SQL Tuning Advisor                             11.2.0.2.0               95 TRUE           13/04/13       
    LOB                                                      11.2.0.2.0               95 TRUE           13/04/13       
    Partitioning (user)                                      11.2.0.2.0               95 TRUE           13/04/13       
    Audit Options                                            11.2.0.2.0               96 TRUE           13/04/13       
    Automatic Maintenance - Optimizer Statistics Gathering   11.2.0.2.0               96 TRUE           13/04/13       
    Automatic Maintenance - Space Advisor                    11.2.0.2.0               96 TRUE           13/04/13       
    Automatic Maintenance - SQL Tuning Advisor               11.2.0.2.0               96 TRUE           13/04/13       
    Automatic Memory Tuning                                  11.2.0.2.0               96 TRUE           13/04/13       
    Automatic Segment Space Management (system)              11.2.0.2.0               96 TRUE           13/04/13       
    Automatic Undo Management                                11.2.0.2.0               96 TRUE           13/04/13       
    Character Set                                            11.2.0.2.0               96 TRUE           13/04/13       
    Deferred Segment Creation                                11.2.0.2.0               96 TRUE           13/04/13       
    Locally Managed Tablespaces (system)                     11.2.0.2.0               96 TRUE           13/04/13       
    Locally Managed Tablespaces (user)                       11.2.0.2.0               96 TRUE           13/04/13       
    Logfile Multiplexing                                     11.2.0.2.0               96 TRUE           13/04/13       
    Oracle Java Virtual Machine (system)                     11.2.0.2.0               96 TRUE           13/04/13       
    Partitioning (system)                                    11.2.0.2.0               96 TRUE           13/04/13       
    SecureFiles (system)                                     11.2.0.2.0               96 TRUE           13/04/13       
    SecureFiles (user)                                       11.2.0.2.0               96 TRUE           13/04/13       
    Server Parameter File                                    11.2.0.2.0               96 TRUE           13/04/13       
    Virtual Private Database (VPD)                           11.2.0.2.0               96 TRUE           13/04/13 thanks again

  • Finding the restore time of a datafile

    RDBMS version: 11.2.0.4
    Platform : Oracle Linux 6.4
    To test our RMAN Tape backup ( Netbackup ), we created a tablespace called BACKUPTEST with only one datafile.
    Then we removed the datafile. Then we succesfully restored and recovered the datafile using RMAN and tablespace was ONLINE again.
    I wanted to show the evidence to my manager that the datafile has been restored. But v$datafile.CREATION_TIME will only show the time when the tablespace was initially created. Is there any other way I could find the time when datafile has been restored other than RMAN log.
    Below is an excerpt after the datafile has been restored.
    $ sqlplus / as sysdba
    SQL*Plus: Release 11.2.0.4.0 Production on Fri Dec 19 15:08:03 2013
    Copyright (c) 1982, 2013, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
    With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
    Data Mining and Real Application Testing options
    SQL> select TABLESPACE_NAME, status from dba_tablespaces where tablespace_name = 'BACKUPTEST';
    TABLESPACE_NAME                STATUS
    BACKUPTEST                     ONLINE
    SQL> alter session set nls_date_format='DD-MM-YYYY HH24:MI';
    Session altered.
    SQL> select CREATION_TIME from v$datafile where FILE# = 78;
    CREATION_TIME
    19-12-2013 12:16
    SQL> select CREATION_TIME, last_time from v$datafile where FILE# = 78;
    CREATION_TIME    LAST_TIME
    19-12-2013 12:16
    SQL>
    19-12-2013 12:16 is the time when the tablespace was initially created with this datafile not the time it was restored from RMAN backup.

    Look at the alert.log.  It would have messages relating to the RESTORE and RECOVER actions.
    Hemant K Chitale

Maybe you are looking for