Oracle 8.1.7.4 - restore controlfile

Hi,
I am wanting to know if you can use the following command to restore a controlfile, if you don't use an rman catalog with Oracle 8i (8.1.7.4).
restore controlfile from '<dir>/cf_rman.bus'
If you can't do this, then I am wanting to know alternative ways.
Appreciate any suggestions on this.
Many thanks

I dont know what rman 8.1.7.4 does or does not support. But you can go for user-managed recovery, as is the case with most of oracle 8.
cp /backup/control01.ctl /oradata/control01.ctl
Then recover using: recover database using backup controlfile.

Similar Messages

  • Restore controlfile from tape backup without autobackup setting on

    I am testing a scenraio of restoring control file if we loose all control files.
    My RMAN settings for CONTROLFILE AUTOBACKUP is OFF. But, I have taken a backup of controlfile using 'BACKUP CURRENT CONTROL FILE' .
    When I tried to restore control file. I am receiving following error:
    RMAN> run {
    2> allocate channel c101 type sbt_tape;
    3> restore controlfile ;
    4> }
    allocated channel: c101
    channel c101: sid=153 devtype=SBT_TAPE
    channel c101: VERITAS NetBackup for Oracle - Release 6.0 (2006110304)
    Starting restore at 24-MAY-2007 13:44:59
    using channel ORA_DISK_1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 05/24/2007 13:44:59
    RMAN-06563: control file or SPFILE must be restored using FROM AUTOBACKUP
    My question is, How can I restore control file from tape backup without CONTROLFILE AUTOBACKUP setting ON.
    It sounds like, There is no way we can restore control file from tape backup if you've not set the CONTROLFILE AUTOBACKUP is ON.
    Please advice

    When all controlfiles are lost and a recovery catalog is NOT used, RMAN has no information , where to find the controlfile backup. It's not enough to specify the channel, such a channel could hold many different backups from many different databases. You have tell , which database and which backupset. Modify your run block:
    SET DBID <DBID of the database,for which you want to restore the controlfile>;
    RESTORE CONTROLFILE FROM <name_of_backupiece_which_contains_the_controlfile backup>';
    Werner

  • FOR EXPERTS!! How to restore controlfile from tape using TSM??

    Hi ,
    I have a backup of my database (controlfiles, datafiles and archives) on tapes (TSM).
    I'm doing some tests and i delete all my controlfiles.
    Now i'm trying to restore the control file using the following:
    RMAN>set DBID=1489198124;
    RMAN>run{
    allocate channel t1 device type sbt_tape parms 'ENV=(TDPO_OPTFILE=/opt/tivoli/tsm/client/oracle/bin64/tdpo_capdb15p.opt)';
    restore controlfile from autobackup;
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 05/10/2007 16:25:30
    RMAN-06172: no autobackup found or specified handle is not a valid copy or piece
    The autobackup is OFF now (i will put this ON later and become a production enviroment).
    How can i get the controlfile backup from tape. I have this backup on tape made by RMAN using TIVOLI STORAGE MANAGER.
    Tks,
    Paulo.

    This is the command:
    run {
    allocate channel t1 device type sbt_tape parms 'ENV=(TDPO_OPTFILE=/opt/tivoli/tsm/client/oracle/bin64/tdpo_capdb15p.opt)';
    backup current controlfile;
    This is my backups!!!
    RMAN> list backup of controlfile;
    List of Backup Sets
    ===================
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    5234 Incr 0 7.25M SBT_TAPE 00:00:06 10-MAY-07
    BP Key: 5236 Status: AVAILABLE Compressed: NO Tag: SEMANAL
    Handle: BKP_HOT_SEMANAL_02ihckld_1_1 Media: 35240
    Control File Included: Ckp SCN: 215589 Ckp time: 10-MAY-07
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    5254 Incr 1 7.25M SBT_TAPE 00:00:04 10-MAY-07
    BP Key: 5260 Status: AVAILABLE Compressed: NO Tag: SEMANAL
    Handle: BKP_HOT_SEMANAL_05ihcksm_1_1 Media: 35240
    Control File Included: Ckp SCN: 215769 Ckp time: 10-MAY-07
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    5315 Incr 0 7.25M SBT_TAPE 00:00:05 10-MAY-07
    BP Key: 5327 Status: AVAILABLE Compressed: NO Tag: SEMANAL
    Handle: BKP_HOT_SEMANAL_0aihcld9_1_1 Media: 35212
    Control File Included: Ckp SCN: 216284 Ckp time: 10-MAY-07
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    5454 Incr 0 7.25M SBT_TAPE 00:00:04 10-MAY-07
    BP Key: 5459 Status: AVAILABLE Compressed: NO Tag: SEMANAL
    Handle: BKP_HOT_SEMANAL_0gihcmjn_1_1 Media: 35240
    Control File Included: Ckp SCN: 217433 Ckp time: 10-MAY-07
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    5553 Incr 0 7.11M DISK 00:00:01 10-MAY-07
    BP Key: 5556 Status: AVAILABLE Compressed: NO Tag: SEMANAL
    Piece Name: /oracle/product/10.2.0/db/dbs/BKP_HOT_SEMANAL_0nihcv0m_1_1
    Control File Included: Ckp SCN: 260191 Ckp time: 10-MAY-07

  • Restore controlfile,database(PIT)  from  backups(non-defualt location)

    Hi,
    Below is the script i m using to do db point-in-time recovery. But the problem is the backups was taken in a non-defualt location and i want the restore and recovery to be happened from there. Mostly facing issue with controlfile recovery. Just don't know how to tell RMAN that my controlfile rman backup is in non-defualt location '/fulldbbackup/'
    backup Script
    run{
            allocate channel ch1 device type disk ;
            backup database TAG = 'DR_test_backup' format '/fulldbbackup/%D_RMAN_DATAFILE_BACKUP_%U.bak';
            sql 'alter system archive log current';
            backup archivelog all delete input TAG = 'DR_test_backup2' format '/fulldbbackup/%D_RMAN_ARCHIVELOG_%U.bak';
         backup current controlfile TAG='DR_test_backup' format '/fulldbbackup/%D_RMAN_CURRENT_CONTROL_BACKUP_%U.bak';
    ==============================================================
    rman target / nocatalog
    RMAN> sql "alter session set nls_date_format = ''dd.mm.yyyy hh24:mi:ss''";
    RMAN> CROSSCHECK BACKUPPIECE TAG = 'DR_TEST_BACKUP';
    using channel ORA_DISK_1
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=/fulldbbackup/26_RMAN_CURRENT_CONTROL_BACKUP_0mnbvhlq_1_1.bak recid=22 stamp=784320186
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=/fulldbbackup/26_RMAN_ARCHIVELOG_0lnbvhlm_1_1.bak recid=21 stamp=784320184
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=/fulldbbackup/26_RMAN_ARCHIVELOG_0knbvhl2_1_1.bak recid=20 stamp=784320164
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=/fulldbbackup/26_RMAN_ARCHIVELOG_0jnbvhkp_1_1.bak recid=19 stamp=784320154
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=/fulldbbackup/26_RMAN_DATAFILE_BACKUP_0inbvhkf_1_1.bak recid=18 stamp=784320144
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=/fulldbbackup/26_RMAN_DATAFILE_BACKUP_0hnbvhgn_1_1.bak recid=17 stamp=784320024
    Crosschecked 6 objectsRecovery Script (.ksh)
    #!/bin/ksh
    export ORACLE_SID=prod2
    echo $ORACLE_SID
    export ORACLE_HOME=/u01/app/oracle/product/10.2.0/db_1
    echo $ORACLE_HOME
    export PATH
    echo $PATH
    RMAN=$ORACLE_HOME/bin/rman
    $RMAN target sys/sys@prod2 nocatalog << EOF
    set dbid 1428819349;
    run {
    startup nomount;
    sql "alter session set nls_date_format = ''dd.mm.yyyy hh24:mi:ss''";
    allocate channel ch00 device type disk;
    allocate channel ch01 device type disk;
    set controlfile autobackup format for device type disk to '/fulldbbackup/26_RMAN_CURRENT_CONTROL_BACKUP_0mnbvhlq_1_1.bak';
    restore controlfile from autobackup;
    alter database mount;
    catalog start with '/fulldbbackup';
    set until time "to_date('26.05.2012 18:43:15','dd.mm.yyyy hh24:mi:ss')";
    restore database;
    recover database;
    alter database open resetlogs;
    release channel ch00;
    release channel ch01;
    exit;
    EOF
    echo "Completed"Thanks in advance

    You can restore control file by specifying the path explicitly.
    -- In the auxillary server
    Make sure you have the CONTROL_FILES parameter in the pfile. The control files will be restored to this path
    *.control_files='+LMNPROD_DG01/lmnprod/lmnprod_control01.ctl','+LMNPROD_DG01/lmnprod/lmnprod_control02.ctl','+LMNPROD_DG01/lmnprod/lmnprod_control03.ctl'Create spfile from pfile. Then
    SQL> conn / as sysdba
    Connected to an idle instance.
    SQL> startup nomount
    SQL> show parameter spfileStep5. Restore Control file
    The below command will create all the 3 control files mentioned in CONTROL_FILES parameter in the spfile.
    $ rman target /
    restore controlfile from '/path_where_bkp_piece_is_stored/RMAN_CURRENT_CONTROL_BACKUP_0mnbvhlq_1_1.bak';After restoring the control file and mounting the DB , you can use CATALOG command to catalog backup pieces

  • RMAN error when restoring controlfile from tape

    Hi,
    We have a Production database with instance name PROD.
    We use Symantec Netbackup software to backup this database to tape library.
    We want to test some recovery scenarios on a test server. So we want to restore the production backups from Tape to this test server.
    We did the following:
    Cloned the ORACLE Home to the Test Server.
    Changed the db_name parameter to PROD and also set ORACLE_SID to PROD.
    then we connected to RMAN and ran the following command to restore the control files:
    RMAN> run {
    set dbid 4155532403
    set controlfile autobackup format for device type 'sbt_type' to '%F';
    set until time "to_date('16/12/2012:10:13:37','dd/mm/yyyy:hh24:mi:ss')";
    allocate channel t1 device type 'sbt_tape';
    SEND 'NB_ORA_SERV=riysvbkp-001,NB_ORA_CLIENT=lh-erp';
    restore controlfile to '/testerp/dbexec/tmp/cf1.ctl' from autobackup;
    executing command: SET DBID
    database name is "PROD" and DBID is 4155532403
    executing command: SET CONTROLFILE AUTOBACKUP FORMAT
    executing command: SET until clause
    allocated channel: t1
    channel t1: SID=171 device type=SBT_TAPE
    channel t1: Veritas NetBackup for Oracle - Release 7.1 (2011082510)
    sent command to channel: t1
    Starting restore at 17-DEC-12
    channel t1: looking for AUTOBACKUP on day: 20121216
    channel t1: AUTOBACKUP found: c-4155532403-20121216-01
    channel t1: restoring control file from AUTOBACKUP c-4155532403-20121216-01
    released channel: t1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 12/17/2012 08:34:41
    ORA-19870: error while restoring backup piece c-4155532403-20121216-01
    ORA-19507: failed to retrieve sequential file, handle="c-4155532403-20121216-01", parms=""
    ORA-27029: skgfrtrv: sbtrestore returned error
    ORA-19511: Error received from media manager layer, error text:
    Failed to process backup file <c-4155532403-20121216-01>
    Here you can see that AUTOBACKUP is found but RMAN is unable to process the backup piece.
    I am not able to see any errors in the log files. Please advise.
    Thanks,
    Muneer.

    Thanks.
    The earlier error is gone and now I am getting the following error:
    channel t1: looking for AUTOBACKUP on day: 20121216
    channel t1: AUTOBACKUP found: c-4155532403-20121216-01
    channel t1: restoring control file from AUTOBACKUP c-4155532403-20121216-01
    released channel: t1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 12/17/2012 14:34:25
    ORA-19870: error while restoring backup piece c-4155532403-20121216-01
    ORA-19507: failed to retrieve sequential file, handle="c-4155532403-20121216-01", parms=""
    ORA-27029: skgfrtrv: sbtrestore returned error
    ORA-19511: Error received from media manager layer, error text:
    Backup file <c-4155532403-20121216-01> not found in NetBackup catalog

  • Set until time clause to restore controlfile

    Hello
    How can I use "set until" clause to restore the controlfile ?
    The database is already in archivelog mode.
    RMAN>
    run {
    set until time "TO_DATE('2011-02-24 09:30:00','yyyy-mm-dd hh24:mi:ss')";
    restore controlfile from autobackup;
    RMAN>
    RMAN> 2> 3> 4>
    executing command: set until time
    using target database control file instead of recovery catalog
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of set command at 02/24/2011 09:52:54
    ORA-01507: database not mountedThis is the rman backup log:
    Starting Control File and SPFILE Autobackup at 24-FEB-11
    piece handle=/oracle/ora1020/dbs/c-1270860316-20110224-01 comment=NONE
    Finished Control File and SPFILE Autobackup at 24-FEB-11I can also confirm that it was backed up.
    ls -l /oracle/ora1020/dbs/c-1270860316-20110224-01
    -rw-r-----  1 oracle dba 7143424 Feb 24 09:25 /oracle/ora1020/dbs/c-1270860316-20110224-01

    For Datafiles and ArchiveLogs :
    SET UNTIL works because RMAN can query the Controlfile (that is already present) {OR the Catalog, if available} to determine the Database Incaranation and identify all the BackupSets, BackupPieces and SCNs for datafiles.
    For Controlfiles :
    SET UNTIL needs to be able to query a source or determine a default location. If a Catalog is available, it can query the catalog. In the absence of the catalog, it can only determine the expected location to restore from on the basis of the AUTOBACKUP location and FORMAT.
    When you have AutoBackup to Disk, using an FRA and have the AUTOBACKUP FORMAT set correctly you will notice that the controlfile backups go to a directory that has the date as part of the directory name. RMAN can "query" the backups it finds in each of the folders in the autobackup location and determine the correct piece to restore from. This is predicated on the FORMAT being the expected format. That is why the example also shows how you set the FORMAT before you do the restore -- to "tell" RMAN what format to expect. (Remember that it has no repository -- controlfile or catalog -- to query so it doesn't know the backup piece names, unless they follow the expected location and format !)
    All of this works well on disk. On tape, it has to actually send it's requests to the Medial Management Layer -- it is the Media Management Layer that maintains the catalog of tapes and files on tapes. (Remember that RMAN still doesn't have a repository that it can query !).
    Going back to my earlier comment that SET UNTIL is used for Datafiles and Archivelogs : Because it is much easier for RMAN to query a known repository for all the information it needs.
    Hemant K Chitale

  • When to restore controlfile, rman is complaining database not mounted?

    to restore controlfile, shouldn`t the database be in NOMOUNT status?
    if yes, then why rman is complaining ORA-01507?
    where I went wrong? Please advise.
    C:\Documents and Settings\PhoenixBai>rman target / nocatalog
    Recovery Manager: Release 10.2.0.1.0 - Production on Tue Dec 14 10:35:51 2010
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    connected to target database (not started)
    RMAN> startup nomount;
    Oracle instance started
    Total System Global Area     612368384 bytes
    Fixed Size                     1250428 bytes
    Variable Size                234883972 bytes
    Database Buffers             369098752 bytes
    Redo Buffers                   7135232 bytes
    RMAN> restore controlfile until time 'sysdate-1.5/24';
    Starting restore at 14-DEC-10
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=157 devtype=DISK
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 12/14/2010 10:36:12
    ORA-01507: database not mounted
    RMAN>

    it doesn`t. I tried long before this one.
    the dilemma i am facing is that I need to recover to the time which was included in incarnation 2.
    And to be able to reset database to incarnation 2, i need to startup MOUNT the database.
    And once you startup mount the database RESTORE CONTROLFILE won`t work any more.
    below is the standard procedure, documented on 10gR2 doc, but still, i am getting errors:
    Why it is throwing errors? HOw can I fix?
    RMAN> alter database mount;
    database mounted
    RMAN> list incarnation of database orcl;
    List of Database Incarnations
    DB Key  Inc Key DB Name  DB ID            STATUS  Reset SCN  Reset Time
    1       1       ORCL     1264908153       PARENT  1          30-AUG-05
    2       2       ORCL     1264908153       PARENT  534907     07-DEC-10
    3       3       ORCL     1264908153       CURRENT 56335397   14-DEC-10
    RMAN> reset database to incarnation 2;
    database reset to incarnation 2
    RMAN> restore database until scn 56335390;
    Starting restore at 14-DEC-10
    using channel ORA_DISK_1
    creating datafile fno=6 name=E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\ETLTBS01.ORA
    channel ORA_DISK_1: starting datafile backupset restore
    channel ORA_DISK_1: specifying datafile(s) to restore from backup set
    restoring datafile 00001 to E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\SYSTEM01.DBF
    restoring datafile 00002 to E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\UNDOTBS01.DBF
    restoring datafile 00003 to E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\SYSAUX01.DBF
    restoring datafile 00004 to E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\USERS01.DBF
    restoring datafile 00005 to E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\EXAMPLE01.DBF
    channel ORA_DISK_1: reading from backup piece E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ORCL\BACKUPSET\2
    MF_NNND1_TAG20101213T132300_6JCCFO2X_.BKP
    channel ORA_DISK_1: restored backup piece 1
    piece handle=E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ORCL\BACKUPSET\2010_12_13\O1_MF_NNND1_TAG20101213
    O2X_.BKP tag=TAG20101213T132300
    channel ORA_DISK_1: restore complete, elapsed time: 00:00:55
    Finished restore at 14-DEC-10
    RMAN> recover database until scn 56335390;
    Starting recover at 14-DEC-10
    using channel ORA_DISK_1
    starting media recovery
    media recovery failed
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of recover command at 12/14/2010 11:36:14
    ORA-00283: recovery session canceled due to errors
    RMAN-11003: failure during parse/execution of SQL statement: alter database recover if needed
    start until change 56335390
    ORA-00283: recovery session canceled due to errors
    ORA-38727: FLASHBACK DATABASE requires a current control file.Edited by: PhoenixBai on Dec 14, 2010 11:37 AM

  • Restoring controlfile from rman

    Hi
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0
    on OEL4
    I have lost all the control files (infact deleted knowingly to simulate ). i have a full database backup in recovery catalog. I do not know the dbid of database.
    I am not able to connect to target database from rman it shows.
    RMAN> connect target sys/prod@PROD
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    ORA-12528: TNS:listener: all appropriate instances are blocking new connectionsIs there anyway i can restore controlfiles from rman ? or i need to create controlfiles manually.
    Thanks
    Edited by: user8896122 on Jan 3, 2010 6:03 AM

    You can try on the machine hosting the database:
    C:\Users\Pierre>rman target /
    Recovery Manager: Release 10.2.0.1.0 - Production on Sun Jan 3 15:29:02 2010
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    connected to target database (not started)
    RMAN> startup nomount
    Oracle instance started
    Total System Global Area     805306368 bytes
    Fixed Size                     1289996 bytes
    Variable Size                213909748 bytes
    Database Buffers             587202560 bytes
    Redo Buffers                   2904064 bytes
    RMAN>and then you can try to connect to recovery catalog.

  • Uanble to RESTORE CONTROLFILE IN NOMOUNT

    Hi,
    I have a problem in database which has catalog tablespace..i have rman level 0 backup for that database.
    yesterday entire database was corrupted ..so i should recover entire database with backuped control file.
    here my problem
    $ rman target sys/selva@rmain catalog rcat/rcat
    RMAN> shutdown immediate
    RMAN>exit
    $ rman target sys/selva@rmain catalog rcat/rcat
    RMAN-00554: initialization of internal recovery manager package failed
    RMAN-04004: error from recovery catalog database: ORA-01034: ORACLE not available
    HOW DO YOU RESTORE CONTROLFILE IN NOMOUNT STAGE??? DURING NOMOUNT OR MOUNT STAGE WE CANNOT OPEN CATALOG USER RCAT .
    HOW DO YOU PERFORM INCOMPLETE RECOVERY ON DATABASE WHICH HAS CATALOG TABLESPACE???
    ORACLE 9I
    REDHAT 5
    THANK U
    SELVA

    sybrand_b wrote:
    Selva,
    To answer this question I would first like you to tak a scissor , remove the CAPS LOCK from your keyboard, and I recommend you stop using uppercase and boldface.
    That is definitely shouting and should be avoided.sorry....
    Obviously when you need to recover a catalog database you need to do so in
    nocatalog mode
    So you need to use
    rman nocatalog target /
    and leave out the catalog part.acctually i have two incarnation ..i lost current incarnation datafiles and backup..
    so that i want to restore controlfile and move to previous incarnation..
    rman target / RMAN> reset database to incarnation 20;
    ERROR: cannot reset without catalog database

  • How to restore controlfile ?

    Hi,
    I have a database. its has only one controlfile (multiplexing is not done).
    But I have a proper backup of all...
    All of sudden controlfile got corrupted.
    Now I need to restore controlfile from backup. But I dont remember my DBid.
    Can someone help how to proceed now?
    Thanks & Regards,
    Suresh S.

    please find the DBID from log files and restore the controlfile from backup.
    this may help you http://download-west.oracle.com/docs/cd/B19306_01/backup.102/b14192/recov004.htm#CFABADJC
    also take it as a lesson and do multiplexing of controlfiles and immediately take full backup of database

  • Restore controlfile without RMAN Command

    Hii..!! RMAN Experts ..
    I have a RMAN Backup of my production database , Accidentally controlfile, datafiles, and redolog filies are lost .
    Important thing is : I want to Restore Controlfile Without RMAN Commands ...
    Is this possible,? If Yes How ??
    Please get me out of this Doubt., & provide me detail steps
    Will be very much thankful to you...

    937382 wrote:
    Hii..!! RMAN Experts ..
    I have a RMAN Backup of my production database , Accidentally controlfile, datafiles, and redolog filies are lost .
    Important thing is : I want to Restore Controlfile Without RMAN Commands ...
    Is this possible,? If Yes How ??
    Please get me out of this Doubt., & provide me detail steps
    Will be very much thankful to you...In an emergency situation, you can try using the SNAPSHOT CONTROLFILE.
    Oracle is very clear on this point and says that this file should not be used for any purpose, but breaking this rule, we can have success and bring a consistent controlfile.
    The snapshot control file is a copy of a database control file created in an operating system-specific location by RMAN. RMAN creates the snapshot control file so that it has a consistent version of a control file to use when either resynchronizing the recovery catalog or backing up the control file.
    The Default Location of SNAPSHOT CONTROLFILE is $ORACLE_HOME/dbs/snapcf_<DB_NAME>.f
    If we recently used RMAN most recent controlfile will be my SNAPSHOT CONTROLFILE.
    See this example:
    SQL> create pfile='/home/oracle/spfile.txt' from spfile;
    SQL> !
    oracle@aix:/home/oracle> cp /u01/app/oracle/product/11.2.0/dbhome_11203/dbs/snapcf_dbtst.f  /home/oracle/control.ora
    oracle@aix:/home/oracle> vi spfile.txt
    "spfile.txt" 27 lines, 957 characters
    *.control_files='/home/oracle/control.ora' ## Change this line
    SQL> startup mount pfile ='/home/oracle/spfile.txt'
    ORACLE instance started.
    Total System Global Area  768294912 bytes
    Fixed Size                  2225448 bytes
    Variable Size             293604056 bytes
    Database Buffers          465567744 bytes
    Redo Buffers                6897664 bytes
    Database mounted.
    SQL> alter database open;
    alter database open
    ERROR at line 1:
    ORA-01589: must use RESETLOGS or NORESETLOGS option for database open
    ### We can open reseting log if you have all datafiles restored.
    ### Or you can use RMAN command to restore your database from Controlfile Catalog.
    ### Also you can generate a command to create a new controlfile
    SQL> alter database backup controlfile to trace;Regards,
    Levi Pereira

  • Restore solaris db on linux can't restore controlfile

    Hi all. Hope someone can help with this.
    I take my backups with this conf.
    configure controlfile autobackup on;
    configure controlfile autobackup format for device type disk to '/u02/backup/rman/<sid>/ctl_sp_bk_%F';
    I do full backups at 3:00 am and archive log backups every hour.
    I've copied my backups to the exact same locations on the new server.
    rman
    set dbid
    connect target /
    set controlfile autobackup format for device type disk to '/u02/backup/rman/<sid>/ctl_sp_bk_%F';
    restore controlfile from autobackup;
    no autobackup found or specified handle is not a valid copy or piece
    I can rename the file to just %F and copy to <ORACLE_HOME>/dbs and still same error.
    When I restored on a solaris box I was able to restore when I renamed the file to just %F and placed in the dbs folder but not on the linux box.
    Any suggestions or something I've left off?
    Thanks.

    You are in luck, with 10g you can utilize
    RMAN Cross-Platform Transportable Databases and Tablespaces to perform this operation.

  • 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

  • How to restoring controlfile when autobackup was not enabled from TAPE?

    Database was dropped an year back and we need to restore the database
    1)controlfile autobackup was not enabled
    2)backups are in tape
    3)no catalog db used
    4)DBID is known.
    we can request to load tapes that are holding backups from 1 week prior of db drop date
    we can not use "restore controlfile from autobackup" as autobackup was not enabled. So how can we restore the controlfile?

    user8860934 wrote:
    Database was dropped an year back and we need to restore the database
    1)controlfile autobackup was not enabled
    2)backups are in tape
    3)no catalog db used
    4)DBID is known.
    we can request to load tapes that are holding backups from 1 week prior of db drop date
    we can not use "restore controlfile from autobackup" as autobackup was not enabled. So how can we restore the controlfile?Do you have full backup... did include current controlfile mentioned in the script?
    1)catalog those backupsets
    2)check the backup summary for controlfiles & datafiles, SPFILE(optional)
    3) if exist then you can restore using DBID or catalog start with commands.
    Thanks

  • Restore controlfile from backup location

    Hi All,
    I have a RMAN backup and want to recover my data from backup. RMAN backup has taken by someone but during restore to another DB server I am confused at controlfile point. I can see two controlfile in RMAN backup. Do I need to add both controlfile in restore command or any one controlfile would be okay? Please suggest.
    I run below command - rman > restore control file from '<backup location>';
    Thanks...
    Edited by: user12115 on Jun 15, 2012 5:23 AM

    I have a RMAN backup and want to recover my data from backup. RMAN backup has taken by someone but during restore to another DB server I am confused at controlfile point. I can see two controlfile in RMAN backup. Do I need to add both controlfile in restore command or any one controlfile would be okay? Please suggest.
    I run below command - rman > restore control file from '<backup location>';In you log file one of backup set contains of data files another backup set contains Controlfile + SPFILE(optional)
    Or else you can check from source database
    RMAN> list backup of controlfile;
    Note that backup piece according to date, and you can use that piece name to restore controlfile.

Maybe you are looking for