DB creation with Hot backup of OTher DB ISSUES

hi DBAs,
I am using Oracle 11g R2, I want to make fresh database with another db hot backup of Datafile, Control file & SPfile.
so far, I have run the below commands to create a db.
C:\Documents and Settings\Administrator>E:
E:\>set ORACLE_HOME=E:\app\Administrator\product\11.1.0\db_1
E:\>set PATH=E:\app\Administrator\product\11.1.0\db_1\bin
E:\>set ORACLE_SID=ora11g
E:\>oradim -NEW -SID ora11g -STARTMODE auto
E:\>sqlplus /nolog
SQL*Plus: Release 11.1.0.6.0 - Production on Fri Dec 9 13:03:45 2011
Copyright (c) 1982, 2007, Oracle. All rights reserved.
SQL> conn / as sysdba;
Connected to an idle instance.
SQL> create spfile from pfile='C:\Documents and Settings\Administrator\Desktop\i (PFile from Another DB backup Here)
nit.Text';
File created.
SQL> startup nomount;
ORACLE instance started.
Total System Global Area 648663040 bytes
Fixed Size 1335108 bytes
Variable Size 197132476 bytes
Database Buffers 444596224 bytes
Redo Buffers 5599232 bytes
then I did shu immediate, it shows db not mounted n instance shutdown then again,
SQL> startup
ORACLE instance started.
Total System Global Area 648663040 bytes
Fixed Size 1335108 bytes
Variable Size 197132476 bytes
Database Buffers 444596224 bytes
Redo Buffers 5599232 bytes
ORA-00205: error in identifying control file, check alert log for more info
Here My question is that, I am getting an error, ORA-27048: skgfifi: file header information is invalid in the alert alog file of my new db.
what should i do now? how i can recreate a controlfile to support my new db datafile. Any can give me an Idea? How shluld i configure to up the new DB.
Thanks inAdvance,
By Baskar

900322 wrote:
hi ,
I am getting this error only,
ORA-00210: cannot open the specified control file
ORA-00202: control file: 'E:\APP\ADMINISTRATOR\FLASH_RECOVERY_AREA\ORA11G\CONTROLFILE\CONTROL_FILE1_.CTL'
ORA-27048: skgfifi: file header information is invalid
OSD-04001: invalid logical block size (OS 1768843629)
But I have mentioned the Control file location clearly inthe PFile. But dont know its telling this below error,
ORA-00205: error in identifying control file, check alert log for more info
Anyone can help me?
By
baskiIts unable to read, Do you have any other mirrored copy of controlfile?
Error:  ORA 210 
Text:   cannot open control file <name>
Cause:  The system was unable to open a control file.
Action: Check that the control file exists, that the storage device is online,
        and that the file is not locked by some other program and try again.
        Also, check to see that the operating system limit on the number of
        open files per process has not been exceeded.
        When using multiplexed control files, that is, more than one control
        file is referenced in the initialization parameter file, remove the
        parameter from the initialization parameter file referencing the
        control filename indicated in the message and restart the instance.
        If the message does not recur, remove the problem control file from
        the initialization parameter file and create another copy of the
        control file using a new filename in the initialization parameter file.

Similar Messages

  • Steps to create the standby with Hot Backup........?????

    Hi All
    I am planning to create the Physical standby with Hot backup ....
    Can anyboby give me the link/steps which explains how to do this?
    Thanks
    Gagan

    To copy the file from the primary, you can use RMAN, or manual hot backup copy with begin backup and end backup mode.
    You can read the doc about creation of standby database :
    http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14239/create_ps.htm#i70835
    http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14239/scenarios.htm#i1032302
    Nicolas.

  • OEM GC Move repository with hot backup metanote 602955.1

    Hi all...
    I get maaaaadddddd..
    Yesterday I correctly move the repository from my old Grid to the new one. I used the metalink note: 602955.1
    After I finished I wasn't lucky about way and documentation. I conclude to repeat the process.
    1. At the first time I move the repository I create with the dbca on the new host a general empty database.
    The Documentation does not include a hint if his is necessary. So i conclude to try without a empty general database ( from my point of view it is not necessary to create an empty database because I try to move an entire database right ? )
    2. I follow step by step the meta note. ( and now I understand all the speps :-) ).
    BUT. At the step where the recovery starts I get an error :-(((((((((((
    At Point D.6 Recover the Database. I get an wired error.
    RMAN>
    run{
    set newname for datafile 1 to '/opt/oracle/oradata/emrep/system01.dbf';
    set newname for datafile 2 to '/opt/oracle/oradata/emrep/undotbs01.dbf';
    set newname for datafile 3 to '/opt/oracle/oradata/emrep/sysaux01.dbf';
    set newname for datafile 4 to '/opt/oracle/oradata/emrep/users01.dbf';
    set newname for datafile 5 to '/opt/oracle/oradata/emrep/mgmt.dbf';
    set newname for datafile 6 to '/opt/oracle/oradata/emrep/mgmt_ecm_depot1.dbf';
    SQL "ALTER DATABASE RENAME FILE ''/u01/app/oracle/oradata/emrep/redo01.log'' TO ''/opt/oracle/oradata/emrep/redo_01.log'' ";
    SQL "ALTER DATABASE RENAME FILE ''/u01/app/oracle/oradata/emrep/redo02.log'' TO ''/opt/oracle/oradata/emrep/redo_02.log'' ";
    SQL "ALTER DATABASE RENAME FILE ''/u01/app/oracle/oradata/emrep/redo03.log'' TO ''/opt/oracle/oradata/emrep/redo_03.log'' ";
    SET UNTIL SCN 208360083;
    restore database;
    switch datafile all;
    recover database;
    Starting restore at 06-MAY-10
    using channel ORA_DISK_1
    creating datafile fno=1 name=/opt/oracle/oradata/emrep/system01.dbf
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 05/06/2010 10:00:30
    ORA-01180: can not create datafile 1
    ORA-01110: data file 1: '/u01/app/oracle/oradata/emrep/system01.dbf'First: All permissions on the folders and all parths are OK. ( The /u01.... is the old and the /opt/oracle the new path ) and they exists..
    I searched for this error...something like a incarnation problem.
    RMAN>list incarnation;
    List of Database Incarnations
    DB Key Inc Key DB Name DB ID STATUS Reset SCN Reset Time
    1 1 EMREP 3895358161 PARENT 1 01-DEC-08
    2 2 EMREP 3895358161 PARENT 75841382 10-JUN-09
    3 3 EMREP 3895358161 CURRENT 208005428 05-MAY-10I try using the reset database to incarnation 3;
    But still nothing.....
    Does anyone have any idea ??.
    Please help Thanks
    T*

    Re.
    as was guessing before same problem with created empty general database on the destination host ...:-(
    help...
    *T                                                                                                                                                                                                                                               

  • My MBP 2011 w Lion freezes after sleep with blue screen and other sleep issues

    My MBP v2 of 2011 line with Lion on it freezes occassionally (maybe 1 out of 10 awakenings from sleep) where the screen is blue and only way to make it stop is to hold the power button and restart.
    Another issue I have is I'll come out of sleep, and the wallpaper on my screen disappears, and I just see a gray background.  If I go to Monitor preferences, it claims the wallpaper is set to my normal background.  Restarting has the background display again.
    Note: I often use a external monitor, so good chance these freezing issues happen when I unplug/plug in the external monitor (via DVI cable to DisplayPort converter to MBP)
    Today I had a slightly different experience with the freezing.  It had my second monitor have a bunch of pixelated garbage and a message about holding power button down and restarting.  I restarted, and got a "your system has crashed unexpectedly" like message, so I told it to send the data to Apple.

    I used to have that problem as well, try going to system preferences and having the computer require a password after waking, worked for me.

  • Open resetlogs is not  working when creating clone db with online backup

    Hi All,
    I am trying to create a clone database using hot backup of a database .
    STEPS THAT I FOLLOWED
    LET ----- >CURRENT_DB NAME=DEV
    CLONE DATABASE NAME=DEVCLONE
    steps PERFORMED FORM DEV DB
    - put the database in backup mode using 'alter database begin backup'
    - copy all the data files to a different folder
    - during copy i have performed some operations on the DB (creating users, tables, dmls etc...)
    - in between copying i also performed log switch
    - after completion of copy , "alter database end backup"
    - created a backup control file in a human readable format (alter database backup controlfile to trace as ........)
    steps performed for clone DB side ((DEVCLONE)
    - created a parameter file for the database .
    - modified the backup control file so that it will point to the location of copied destination of datafiles
    - set the ORACLE_SID
    - then 'sqlplus / as sysdba
    - starup nomount
    - run the modified control file ( created a control file for the clone database)
    - recover the database using "recover database using backup controlfile"
    I have provided the archive files that it was asking for (archive logs that has been generated in DEV DB)
    then i canceled the recovery by typing "cancel"
    - recover database using backup controlfile until cancel;
    then typed "cancel"
    - then try to open the database with open resetlogs but it showed below error
    alter database open resetlogs
    ERROR at line 1:
    ORA-01195: online backup of file 1 needs more recovery to be consistent
    ORA-01110: data file 1: 'D:\DATA_GUARD\DEVHOT\SYSTEM01.DBF'
    please help me on this ......
    Thanks

    Thanks , now i am able to open the DB in open reset logs mode .
    Previously , when i had not taken the archive log after "alter database end backup" , i was not able to open the db with open resetlogs because the
    fuzzy status of all the datafile headers were YES .
    But after taking the archive log that got generated after "alter database end backup" and applying it on the clone db(Created with HOT backup ) the datafile_header status got changed from YES to NO .
    So for that i am able to open the clone db with open resetlogs .
    Can you please help me with a small description why this is happening ?
    Thanks.......

  • Unique Error while doing hot backup Cloning!

    Dear All,
    I am using EBS 11.5.10.2 with DB 9.2.0.6.
    I am doing hot backup cloning by referring *[Cloning Oracle Application 11i /R12 with Rapid Clone - Database (9i/10g/11g) Using Hot Backup on Open Database|https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=760772.1]*
    I am facing a unique issue, when I run adcfgclone.pl dbconfig <my_context_file>, application of my Production Server start misbehaving and it gives me an error:
    Node Id does not exist for the current application server id.When I check the FND_NODE table I found that there server id was empty in it.
    I have to run than run the following steps as the resolution:
    1. Shutdown all the services.
    2. EXEC FND_CONC_CLONE.SETUP_CLEAN;
    3. COMMIT;
    4. Run AutoConfig on all tiers, firstly on the DB tier and then the APPS tiers,to repopulate the required system tables.
    5.start all the services and verify the issue.
    Than application behaves normally.
    Is there any additional step to be followed while Hot Backup Cloning other than mentioned in the above mentioned ML Doc?
    Please suggest,
    Anchorage :)

    I am facing a unique issue, when I run adcfgclone.pl dbconfig <my_context_file>, application of my Production Server start misbehaving and it gives me an error:
    Node Id does not exist for the current application server id.Where did you get this error?
    This is very strange, how come this happens in Production, when you are doing cloning in TEST/DEV instance.
    Is there any additional step to be followed while Hot Backup Cloning other than mentioned in the above mentioned ML Doc?I feel there are no other additional steps, as I Recently did successfully hotbackup cloning using the same document.

  • Hot backup full disk job Scheduled failed

    Hello,
    We are facing the issue with hot backup job. Can some one help me on this how to fix.
    Here is the error log message..
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of backup command on c1 channel at 03/20/2014 01:25:20
    ORA-19510: failed to set size of 4985610 blocks for file "+DB_FLASH_1/##########"(block size=8192)
    ORA-17505: ksfdrsz:1 Failed to resize file to size 4985610 blocks
    ORA-15041: diskgroup space exhausted
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of allocate command on c1 channel at 03/19/2014  23:00:01
    ORA-19554: error allocating device, device type: SBT_TAPE, device name:
    ORA-27211: Failed to load Media Management Library
    Additional information: 2

    Hi,
    It doesn't look like a Scheduler issue, but an RMAN one instead.
    According to the error, the diskgroup space is exhausted, so perhaps you're running out of space on your disk?

  • Failure when trying to open db with resetlogs after restore of hot backup

    Hello,
    i know that ora-600 errors should be directed to oracle instead of here, but as i have no access to oracle support you may be able / willing to give me some hint anyway. here is what i tried to do:
    1. Make a Hot Backup of an Oracle DB running on Win2003, Version 9.2.0.5
    2. Trying to restore this backup on a new host, running WinXP, Oracle 9.2.0.5
    I can create the new controlfile and do a recovery with the syntax
    "recover database using backup controlfile until cancel"
    However, after this i'm trying to open the DB with the following syntax:
    "alter database open resetlogs"
    This takes a few seconds, then the instance gets terminated, showing an ora-600 error in the alert.log (i guess its useless to show the specific ora-600 error here, or am i wrong at this point?)
    now i'm wondering if the difference in the operating system could be the reason ? I also have to mention that the database files from the hot backup were transfered over a WAN line, could a damage to this files, happened during the transfer cause something like this ?

    These are from Howard
    When you re-create a controlfile using a script or command that says 'create controlfile...', that command will require you to spell out the path to all the datafiles and online redo logs. It is a simple matter for your server process to visit each of the files mentioned in the create controlfile and read the SCN stored in the datafile header. It can also read the online redo logs and read the latest checkpoint change number stored there.
    If all those numbers agree, that is obviously the age to which the rest of the database had gotten before the controlfiles were lost, and it's OK to create the new controlfile with that agreed-upon SCN forced in to the controlfile as its new SCN. Therefore the entire database is consistent and the database can be opened without recovery.
    This sort of thing is what happens when you close your database down nicely and then delete all controlfiles as part of a recovery demo on a training course!
    If those numbers don't agree, then it doesn't really matter. Logically, the highest number found, whether that be in one or more of the datafiles or one of the online logs, must be the age the database had reached before disaster struck. Your server process then writes that highest number into the new controlfile as its new SCN, and therefore your new controlfile agrees with the age of the latest bit of your database. The bits which were found to have smaller SCNs than that are therefore obviously in need of recovery -and because your new controlfile knows the SCN at which recovery should stop, recovery can be performed without trouble.
    When the datafiles are inconsistent the control file has the latest SCN on it and it tries to bring the entrire database consisent with respective to its SCN..if something does not matches it says it is consisten
    SO the recovery is done mainly based on the Controlf file..but the term backup..assume we have binary backup or the created new controlfile will have the scn to bring the DB to consistent state
    Message was edited by:
    Maran Viswarayar

  • FULL HOT Backup failing with a 6 on media management layer....

    Hi all,
    My thanks in advance for reading and any posts. Appologies for the long post, but wanted to make sure I got all information required into the post
    *******************The background*************************
    We are currently doing full hot backups of all production databases to tape. The database we use is RAC install (9.2.0.6.0) on Linux Redhat Enterprise 4 (database on OCFS). We use a seperate Solaris 8 box with 2 HP Ultium tape drives over a standard Cat5 line (100mb), we use Veritas Netbackup 5.1 as our media manager and we use an RMAN repositry on another box. Currently the backup is taking on average 17 hours to complete (something that I have been through with Oracle).
    We use the below rman script to do the full database backup.
    DATE=`date +%m%d%Y-%H%M%S`; export DATE
    USER=`id | cut -f2 -d"(" | cut -f1 -d")"`
    ORACLE_SID=ausl5; export ORACLE_SID
    ORACLE_USER=oracle; export ORACLE_USER
    ORACLE_HOME=/u01/oracle/product/9.2.0 export ORACLE_HOME
    #delete log files older than 35 days
    find /var/adm/netbackup -name "auslive*" -mtime +35 -type f -exec rm {} \;
    #if [ "${USER}" = "root" ]
    #then
    # su - ${ORACLE_USER} "cd /rac/DBA/scripts/BACKUP/" #-c "${CMD_STRING}"
    # SUCCESS=$?
    #else
    # eval "/rac/DBA/scripts/BACKUP"
    # SUCCESS=$?
    #fi
    <<EOF su - oracle
    <<EOF1 /u01/oracle/product/9.2.0/bin/rman msglog /var/adm/netbackup/AUSLIVE_b
    ackup.${DATE} append
    connect target sys/fowler@rman_ausl5
    connect catalog rman/rman@rman
    #change archivelog all validate;
    run {
    allocate channel ch1 type sbt_tape PARMS="BLKSIZE=1048576";
    #allocate channel ch2 type sbt_tape PARMS="BLKSIZE=1048576";
    #allocate channel ch3 type sbt_tape;
    CONFIGURE DEFAULT DEVICE TYPE TO 'SBT_TAPE';
    CONFIGURE CHANNEL 1 DEVICE TYPE 'SBT_TAPE' MAXPIECESIZE 100000m
    CONNECT = 'SYS/fowler@rman_ausl5';
    #CONFIGURE CHANNEL 2 DEVICE TYPE 'SBT_TAPE' MAXPIECESIZE 100000m
    CONNECT = 'SYS/fowler@rman_ausl3';
    #CONFIGURE CHANNEL 3 DEVICE TYPE 'SBT_TAPE' CONNECT = 'SYS/fowle
    r@rman_ausl4';
    change archivelog all validate;
    ###=============== Veritas Calls =========================
    send "NB_ORA_CLASS=ORAhot_AUSLIVE";
    #send "NB_ORA_CLIENT=sunatlsunx008";
    send "NB_ORA_CLIENT=sunatlsunx008";
    send "NB_ORA_SCHED=full";
    ###=====================main backup sections =============
    backup
    incremental level=0
    filesperset 15
    format "bk_%s_%p_%t"
    tag "hot_${ORACLE_SID}_${DATE}"
    database;
    sql "alter system archive log current";
    change archivelog all validate;
    backup
    filesperset 10
    format "ct_%s_%p_%t"
    current controlfile;
    sql "alter system archive log current";
    backup
    filesperset 150
    format "al_%s_%p_%t"
    archivelog all not backed up 2 times;
    change archivelog all validate;
    backup
    filesperset 50
    format "al_%s_%p_%t"
    archivelog until time 'SYSDATE-4' delete input;
    change archivelog all validate;
    release channel ch1;
    #release channel ch2;
    #release channel ch3;
    exit
    EOF1
    EOF
    Now due to the backup taking so long, we often have archive log backups that kick off. We generally get Restore Validates of this backup once a week.
    *********************************Problem*******************************
    Getting to the problem, the media manager generally completes the job with a 6, which in Veritas means that the backup failed to back up the requested files. I guess that this could be something to do with the media manager layer. But myself and my colleagues are of the opinion that this is something to do with the archive log backups running inbetween (hence the change archivelog all validate; appearing so many times in the script).
    Has anyone got any ideas?
    Thanks again for any posts / ideas,
    Mark.

    No I mean, it really tries to backup everything; control file, archive logs etc...
    Yeah I will admit its a bit strange, didn't code it myself. The idea was to do a bit a of house keeping at the same time with the archived redo logs (hence the file system stuff with the archived redo logs).
    You see we thought that this might be causing the issue.
    any ideas are welcomed,
    thanks again,
    Mark.

  • Automating refreshing one system with the rman hot backup copy from another

    Hi Apps DBAs,
    Right now we have two systems: production (OPEBSN) and production support (FINSUP).
    I implemented a cronjob, which can refresh FINSUP every night from the cold backup of production. We shutdown the production system at night.
    But our istore on production will go live soon and our production system will run 24*7.
    The production is already hot backed up from RMAN.
    Is it possible to do the following?
    Automating refreshing FINSUP from the RMAN hot backup of OPEBSN?
    If it is possible, would you please outline the general idea or give me a reference documentation?
    If it is not possible, is there any other way to realize our purpose?
    Thank you in advance!
    Lily

    There is some discussion about this topic in the belwo askTom thread.
    http://asktom.oracle.com/pls/ask/f?p=4950:8:::::F4950_P8_DISPLAYID:21934468026100
    Sam
    http://appstech-sam.blogspot.com

  • Can I delete old backups from other devices if my new iphone 6 has a current backup with everything on my new phone?

    Can I delete old backups from other devices if my new iphone 6 has a current backup with everything on my new phone?

    Hi there dyarrell,
    You can do this if you are confident that your current device has all of the data on it that you want to keep. The method for deleting the backup will be differnt depending on the backup method. Take a look at the articles below for more information. 
    Create and delete iPhone, iPad, and iPod touch backups in iTunes
    iCloud: Remove an iOS device backup from iCloud
    -Griff W. 

  • If I want to delete other people's iCloud accounts from my phone will it interfere with the backups on their phones?

    If I want to delete other people's iCloud accounts from my phone will it interfere with the backups on their phones?

    Hello Stacey140
    You should not have an issues with removing accounts and messing with others users backup. As long as you are not removing the main account that is yours that you use for back up, everything will be fine.
    iCloud: iCloud storage and backup overview
    http://support.apple.com/kb/PH12519
    Thanks for using Apple Support Communities.
    Regards,
    -Norm G.

  • Clone from hot backup failing with ORA-19870, 19505 unable to find backup

    Ok, the steps I am taking worked previously, the only thing that I know changed was the underlying file system and I am perplexed but then again I am not the most experienced dba so please forgive if I miss something obvious.
    My steps are: create backup using:
    backup database tag= tagname format '/archive/stage/DBNAME/%U';
    backup archivelog all format '/archive/stage/DBNAME/%U';
    backup current controlfile '/archive/stage/DBNAME/%U';
    Then on the new server, I copy the files over to the new server and:
    connect target username@prod
    connect auxillary
    set until time
    duplicate target database to "PRODSBX"
    etc...
    The problem is the duplicate is not looking at my '/archive/stage/DBNAME' directory for the backup. It's looking in the normal backup directory on that prod box that it can't connect to... can anyone give me clues as to what I should be looking at to figure out why? I looked at file permissions in case it couldn't access this directory, I looked at id, group etc... and I am not seeing anything. These exact same scripts worked before... the only thing I have edited is the set until time so I just can't figure out why it's not going to the /archive/stage.
    Any light shed in my general direction would be greatly appreciated.
    Thanks!
    Va.

    I have no way to copy the output of the files as this is on a closed network. If there is any particular information you are looking for I'd be happy to post it.
    The restore is looking for the default backup location as specified in my rman configuration but in my backup script, I specify a different location that I do the hot backup to. The first time it took this location and successfully cloned to the new server and now it seems to be ignoring it. I am not sure why, any suggestions in what I should look at, if this is a possible configuration issue on my clone server or on my primary?
    Thanks,
    Va.

  • Hot Backup with RMAN question.

    Hi all.
    We want to make a full backup with RMAN every night with the db up. Version 9i in archive log mode.
    My question is if with the command:
    backup database plus archivelog delete input format 'MY_FORMAT_STRING';
    will store all the files needed for the recovery in one file or I need to backup some other file or do more actions. The backup will be consistent?
    Regards.

    By using this command you are only taking the backup
    all the database files plus all the archived logs
    needed for point on recovery.
    But still you will have to take the backup of Control
    file and parameter files. Which you do by configuringi think its not
    RMAN> configure controlfile autobackup off
    2> ;
    old RMAN configuration parameters:
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    new RMAN configuration parameters:
    CONFIGURE CONTROLFILE AUTOBACKUP OFF;
    new RMAN configuration parameters are successfully stored
    RMAN> backup database
    2> ;
    Starting backup at 28-NOV-07
    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:\ORACLE10G\ORACLE\ORADATA\ORCL\ORCL\SYSTEM01.DBF
    input datafile fno=00003 name=C:\ORACLE10G\ORACLE\ORADATA\ORCL\ORCL\SYSAUX01.DBF
    input datafile fno=00002 name=C:\ORACLE10G\ORACLE\ORADATA\ORCL\ORCL\UNDOTBS01.DB
    F
    input datafile fno=00004 name=C:\ORACLE10G\ORACLE\ORADATA\ORCL\ORCL\USERS01.DBF
    input datafile fno=00005 name=C:\ORACLE10G\ORACLE\ORADATA\ORCL\ORCL\DATA.DBF
    channel ORA_DISK_1: starting piece 1 at 28-NOV-07
    channel ORA_DISK_1: finished piece 1 at 28-NOV-07
    piece handle=C:\ORACLE\FLASH_RECOVERY_AREA\ORCL\ORCL\BACKUPSET\2007_11_28\O1_MF_
    NNNDF_TAG20071128T151313_3NTHSTK9_.BKP comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:45
    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 28-NOV-07
    channel ORA_DISK_1: finished piece 1 at 28-NOV-07
    piece handle=C:\ORACLE\FLASH_RECOVERY_AREA\ORCL\ORCL\BACKUPSET\2007_11_28\O1_MF_
    NCSNF_TAG20071128T151313_3NTHV8S5_.BKP comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:03
    Finished backup at 28-NOV-07
    RMAN>backup database backup controlfile as well spfile but its better backup control file separately after backing up the database plus archivelog cause a backup set info within control file which will not be in control file which is just backed up by backup database .
    Khurram
    null

  • Environment configuration for Hot Backups

    Hi all,
    1. I am trying to create a hot backup tool based on the read-only Environment strategy ([discussed in a previous thread|http://forums.oracle.com/forums/message.jspa?messageID=3674008#3674008] ).
    Now, leaving aside the EnvironmentConfig.setReadOnly(true), I have found quite a few possible other configuration options in the EnvironmentParams class and I'm wondering if there are some that I should be using.
    Here are a couple of examples:
    - ENV_RECOVERY
    - ENV_RUN_INCOMPRESSOR
    - ENV_RUN_CHECKPOINTER
    - ENV_RUN_CLEANER
    Would it make sense to configure any of these?
    2. After creating a hot backup I have tried to test its state. Basically, the approach was quite simple:
    - open a read-only env on the backup
    - try to access the databases in the env
    My idea is that if the above 2 ops are succeeding then there is a very good chance that the backup is correct.
    Now, while playing with the above configuration options I have noticed that if I'm setting ENV_RECOVERY to false in this test environment, then any attempt to access the databases within results in a DatabaseNotFoundException.
    Can someone help me understand what is happening? (basically, I cannot make a connection between recovery and access to the DBs in the environment)
    Many thanks in advance,
    ./alex
    PS: I've forgot to mention that I'm running a quite old version: 2.1.30
    Edited by: Alex Popescu on Aug 13, 2009 5:50 AM

    ENV_RECOVERY - suppresses running recovery at Environment creation. Internal parameter.
    ENV_RUN_INCOMPRESSOR, ENV_RUN_CHECKPOINTER, ENV_RUN_CLEANER - disable the INCompressor, Checkpointer, and Cleaner Daemon threads.
    You should not need to adjust any of these parameters for your DbBackup utility. In fact, ENV_RECOVERY is an "internal use only" parameter.
    PS: I've forgot to mention that I'm running a quite old version: 2.1.30
    I'm sorry to be the bearer of bad news, but as my colleague Mark Hayes stressed in a previous post, you really need to upgrade from 2.1.30 to 3.3.latest. It is highly probable that you will eventually run into bugs with 2.x and we are unlikely to (1) be willing to diagnose them, and (2) fix them. As Mark pointed out, 2.1 is 3.5 years old and the product has had a lot of improvements in that time. We are happy to answer questions on this forum relating to the latest major release, but dealing with old and crusty code is certainly going to be well below our allowable priority level.
    Charles Lamb

Maybe you are looking for