Autobackup

Hi ,
In my 10.1.0.2.0 DB I have scheduled RMAN backup and configured controlfile autoback ON. As I know when this backup process will run it will make an autobackup of controlfile and spfile in FRA( as I mentioned default). But what I see sometime in a single day the autobackups are 2 or 4 in numbers.
Can you please tell me how this autobackups are being generated more than once ? Other than RMAN backup process who can generate autobackup?
Regards.

Thank you Sir,
I have got it, it was due to the structural change in the DB.
Regards.

Similar Messages

  • Restore to new host from tape, can't find autobackups

    Thankfully this is just a test, but I'm having trouble restoring a cold backup from a production host to a test/dev host. I tried the following:
    rman target /
    RMAN> set dbid 1600196320;
    executing command: SET DBID
    RMAN> startup nomount;
    startup failed: ORA-01078: failure in processing system parameters
    LRM-00109: could not open parameter file '/app/oracle/product/10.2/dbs/initedi.ora'
    starting Oracle instance without parameter file for retrival of spfile
    Oracle instance started
    Total System Global Area 159383552 bytes
    Fixed Size 2069720 bytes
    Variable Size 67111720 bytes
    Database Buffers 83886080 bytes
    Redo Buffers 6316032 bytes
    RMAN> run
    2> {
    3> allocate channel t1 device type sbt;
    4> send 'NB_ORA_SERV=pobackup01, NB_ORA_POLICY=jdeoracle, NB_ORA_SCHED=hotfull';
    5> restore spfile to pfile '/dbexport/oracle/bckup/test_restore/edipfile_new.ora' from autobackup;
    6> shutdown abort;
    7> }
    using target database control file instead of recovery catalog
    allocated channel: t1
    channel t1: sid=36 devtype=SBT_TAPE
    channel t1: Veritas NetBackup for Oracle - Release 6.5 (2008052301)
    sent command to channel: t1
    Starting restore at 14-MAY-09
    channel t1: looking for autobackup on day: 20090514
    channel t1: looking for autobackup on day: 20090513
    channel t1: looking for autobackup on day: 20090512
    channel t1: looking for autobackup on day: 20090511
    channel t1: looking for autobackup on day: 20090510
    channel t1: looking for autobackup on day: 20090509
    channel t1: looking for autobackup on day: 20090508
    channel t1: no autobackup in 7 days found
    released channel: t1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 05/14/2009 10:27:37
    RMAN-06172: no autobackup found or specified handle is not a valid copy or piece
    Here is the log file from when the backup was taken on 5/10, that was the last backup of this db.
    RMAN> connect target *
    2>
    3> show all;
    4> run {
    5> shutdown immediate;
    6> startup mount;
    7> backup database;
    8> alter database open;
    9> }
    10>
    connected to target database: EDI (DBID=1600196320)
    using target database control file instead of recovery catalog
    RMAN configuration parameters are:
    CONFIGURE RETENTION POLICY TO REDUNDANCY 3;
    CONFIGURE BACKUP OPTIMIZATION OFF; # default
    CONFIGURE DEFAULT DEVICE TYPE TO 'SBT_TAPE';
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE SBT_TAPE TO '%F'; # default
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
    CONFIGURE DEVICE TYPE SBT_TAPE PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default
    CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE SBT_TAPE TO 1; # default
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE SBT_TAPE TO 1; # default
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE CHANNEL DEVICE TYPE 'SBT_TAPE' SEND 'NB_ORA_SERV=pobackup01, NB_ORA_POLICY=jdeoracle, NB_ORA_SCHED=hotfull';
    CONFIGURE MAXSETSIZE TO UNLIMITED; # default
    CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
    CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
    CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/sapp/oracle/product/10.2/dbs/snapcf_edi.f'; # default
    database closed
    database dismounted
    Oracle instance shut down
    connected to target database (not started)
    Oracle instance started
    database mounted
    Total System Global Area 356515840 bytes
    Fixed Size 2070976 bytes
    Variable Size 314574400 bytes
    Database Buffers 33554432 bytes
    Redo Buffers 6316032 bytes
    Starting backup at may-10-2009 08:00:19
    allocated channel: ORA_SBT_TAPE_1
    channel ORA_SBT_TAPE_1: sid=157 devtype=SBT_TAPE
    channel ORA_SBT_TAPE_1: Veritas NetBackup for Oracle - Release 6.5 (2008052301)
    channel ORA_SBT_TAPE_1: starting full datafile backupset
    channel ORA_SBT_TAPE_1: specifying datafile(s) in backupset
    input datafile fno=00007 name=/sdb4/oradata/edi/data01.dbf
    input datafile fno=00006 name=/sdb5/oradata/edi/indx01.dbf
    input datafile fno=00008 name=/sdb2/oradata/edi/undo01.dbf
    input datafile fno=00001 name=/sdb1/oradata/edi/system01.dbf
    input datafile fno=00004 name=/sdb2/oradata/edi/sysaux01.dbf
    input datafile fno=00002 name=/sdb4/oradata/edi/tools01.dbf
    input datafile fno=00005 name=/sdb4/oradata/edi/users01.dbf
    channel ORA_SBT_TAPE_1: starting piece 1 at may-10-2009 08:00:20
    channel ORA_SBT_TAPE_1: finished piece 1 at may-10-2009 08:08:55
    piece handle=2jkeljgl_1_1 tag=TAG20090510T080020 comment=API Version 2.0,MMS Version 5.0.0.0
    channel ORA_SBT_TAPE_1: backup set complete, elapsed time: 00:08:34
    Finished backup at may-10-2009 08:08:55
    Starting Control File and SPFILE Autobackup at may-10-2009 08:08:55
    piece handle=c-1600196320-20090510-00 comment=API Version 2.0,MMS Version 5.0.0.0
    Finished Control File and SPFILE Autobackup at may-10-2009 08:09:50
    database opened
    Recovery Manager complete.
    Do I need to pass in the source host name when configuring the channel? So instead of
    send 'NB_ORA_SERV=pobackup01, NB_ORA_POLICY=jdeoracle, NB_ORA_SCHED=hotfull';
    i would need,
    send 'NB_ORA_SERV=pobackup01, NB_ORA_CLIENT=newhost, NB_ORA_POLICY=jdeoracle, NB_ORA_SCHED=hotfull';
    ??

    Ok, problem solved. Here's the complete process for recovering a non-archivelog mode data base to a new host from a cold backup from veritas 6.5 tape library.
    I used the "until time 'SYSDATE-5'" option because the cold backup was taken 5 days ago, and while rman will look back up to 7 days, it was taking forever to search for the autobackup. This let it start searching on the day the backup was made. The original problem I was having was due to the fact that the backup was taken from one host and the restore was going to another and I wasn't sending the old host name as the NB_ORA_CLIENT parameter. So it was searching backups from the new host for the data.
    oracle_sandbox1> rman target /
    Recovery Manager: Release 10.2.0.2.0 - Production on Thu May 14 14:05:02 2009
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    connected to target database (not started)
    RMAN> set dbid 1600196320;
    executing command: SET DBID
    RMAN> startup nomount;
    startup failed: ORA-01078: failure in processing system parameters
    LRM-00109: could not open parameter file '/app/oracle/product/10.2/dbs/initedi.ora'
    starting Oracle instance without parameter file for retrival of spfile
    Oracle instance started
    Total System Global Area 159383552 bytes
    Fixed Size 2069720 bytes
    Variable Size 67111720 bytes
    Database Buffers 83886080 bytes
    Redo Buffers 6316032 bytes
    RMAN>run {
    2> allocate channel t1 device type 'SBT_TAPE';
    3> send 'NB_ORA_SERV=pobackup01, NB_ORA_CLIENT=sent1, NB_ORA_POLICY=jdeoracle, NB_ORA_SCHED=hotfull';
    4> restore spfile to pfile '/dbexport/oracle/bckup/test_restore/edipfile_new.ora' from autobackup until time 'SYSDATE-5';
    5> }
    using target database control file instead of recovery catalog
    allocated channel: t1
    channel t1: sid=36 devtype=SBT_TAPE
    channel t1: Veritas NetBackup for Oracle - Release 6.5 (2008052301)
    sent command to channel: t1
    Starting restore at 15-MAY-09
    channel t1: looking for autobackup on day: 20090510
    channel t1: autobackup found: c-1600196320-20090510-00
    channel t1: SPFILE restore from autobackup complete
    Finished restore at 15-MAY-09
    released channel: t1
    RMAN> shutdown abort;
    Oracle instance shut down
    \/\/\\/\/\//\//\/\/\/\/\ edit pfile from another session to remove references to old host
    RMAN> startup force nomount pfile='/dbexport/oracle/bckup/test_restore/edipfile_new.ora';
    Oracle instance started
    Total System Global Area 356515840 bytes
    Fixed Size 2070976 bytes
    Variable Size 314574400 bytes
    Database Buffers 33554432 bytes
    Redo Buffers 6316032 bytes
    RMAN> run {
    2> allocate channel t1 device type 'SBT_TAPE';
    3> send 'NB_ORA_SERV=pobackup01, NB_ORA_CLIENT=sent1, NB_ORA_POLICY=jdeoracle, NB_ORA_SCHED=hotfull';
    4> restore controlfile from autobackup until time 'SYSDATE-5';
    5> }
    allocated channel: t1
    channel t1: sid=156 devtype=SBT_TAPE
    channel t1: Veritas NetBackup for Oracle - Release 6.5 (2008052301)
    sent command to channel: t1
    Starting restore at 14-MAY-09
    channel t1: looking for autobackup on day: 20090510
    channel t1: autobackup found: c-1600196320-20090510-00
    channel t1: control file restore from autobackup complete
    output filename=/dbexport/oracle/bckup/test_restore/control01.ctl
    output filename=/dbexport/oracle/bckup/test_restore/control02.ctl
    Finished restore at 15-MAY-09
    released channel: t1
    RMAN> alter database mount;
    database mounted
    RMAN> @reco_2.rman
    RMAN> run
    2> {
    3> allocate channel t1 device type 'SBT_TAPE';
    4> send 'NB_ORA_SERV=pobackup01, NB_ORA_CLIENT=sent1, NB_ORA_POLICY=jdeoracle, NB_ORA_SCHED=hotfull';
    5> set newname for datafile 1 to '/dbexport/oracle/bckup/test_restore/system01.dbf';
    6> set newname for datafile 2 to '/dbexport/oracle/bckup/test_restore/tools01.dbf';
    7> set newname for datafile 4 to '/dbexport/oracle/bckup/test_restore/sysaux01.dbf';
    8> set newname for datafile 5 to '/dbexport/oracle/bckup/test_restore/users01.dbf';
    9> set newname for datafile 6 to '/dbexport/oracle/bckup/test_restore/indx01.dbf';
    10> set newname for datafile 7 to '/dbexport/oracle/bckup/test_restore/data01.dbf';
    11> set newname for datafile 8 to '/dbexport/oracle/bckup/test_restore/undo01.dbf';
    12> sql "ALTER DATABASE RENAME FILE ''/sdb1/oradata/edi/redo03.log'' TO ''/dbexport/oracle/bckup/test_restore/redo3.rdo'' ";
    13> sql "ALTER DATABASE RENAME FILE ''/sdb1/oradata/edi/redo02.log'' TO ''/dbexport/oracle/bckup/test_restore/redo2.rdo'' ";
    14> sql "ALTER DATABASE RENAME FILE ''/sdb1/oradata/edi/redo01.log'' TO ''/dbexport/oracle/bckup/test_restore/redo1.rdo'' ";
    15> sql "ALTER DATABASE RENAME FILE ''/sdb1/oradata/edi/redo05.log'' TO ''/dbexport/oracle/bckup/test_restore/redo5.rdo'' ";
    16> sql "ALTER DATABASE RENAME FILE ''/sdb1/oradata/edi/redo04.log'' TO ''/dbexport/oracle/bckup/test_restore/redo4.rdo'' ";
    17> restore database;
    18> switch datafile all;
    19> recover database noredo;
    20> }
    allocated channel: t1
    channel t1: sid=156 devtype=SBT_TAPE
    channel t1: Veritas NetBackup for Oracle - Release 6.5 (2008052301)
    sent command to channel: t1
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    sql statement: ALTER DATABASE RENAME FILE ''/sdb1/oradata/edi/redo03.log'' TO ''/dbexport/oracle/bckup/test_restore/redo3.rdo''
    sql statement: ALTER DATABASE RENAME FILE ''/sdb1/oradata/edi/redo02.log'' TO ''/dbexport/oracle/bckup/test_restore/redo2.rdo''
    sql statement: ALTER DATABASE RENAME FILE ''/sdb1/oradata/edi/redo01.log'' TO ''/dbexport/oracle/bckup/test_restore/redo1.rdo''
    sql statement: ALTER DATABASE RENAME FILE ''/sdb1/oradata/edi/redo05.log'' TO ''/dbexport/oracle/bckup/test_restore/redo5.rdo''
    sql statement: ALTER DATABASE RENAME FILE ''/sdb1/oradata/edi/redo04.log'' TO ''/dbexport/oracle/bckup/test_restore/redo4.rdo''
    Starting restore at 15-MAY-09
    channel t1: starting datafile backupset restore
    channel t1: specifying datafile(s) to restore from backup set
    restoring datafile 00001 to /dbexport/oracle/bckup/test_restore/system01.dbf
    restoring datafile 00002 to /dbexport/oracle/bckup/test_restore/tools01.dbf
    restoring datafile 00004 to /dbexport/oracle/bckup/test_restore/sysaux01.dbf
    restoring datafile 00005 to /dbexport/oracle/bckup/test_restore/users01.dbf
    restoring datafile 00006 to /dbexport/oracle/bckup/test_restore/indx01.dbf
    restoring datafile 00007 to /dbexport/oracle/bckup/test_restore/data01.dbf
    restoring datafile 00008 to /dbexport/oracle/bckup/test_restore/undo01.dbf
    channel t1: reading from backup piece 2jkeljgl_1_1
    channel t1: restored backup piece 1
    piece handle=2jkeljgl_1_1 tag=TAG20090510T080020
    channel t1: restore complete, elapsed time: 00:04:55
    Finished restore at 15-MAY-09
    datafile 1 switched to datafile copy
    input datafile copy recid=8 stamp=686913242 filename=/dbexport/oracle/bckup/test_restore/system01.dbf
    datafile 2 switched to datafile copy
    input datafile copy recid=9 stamp=686913242 filename=/dbexport/oracle/bckup/test_restore/tools01.dbf
    datafile 4 switched to datafile copy
    input datafile copy recid=10 stamp=686913242 filename=/dbexport/oracle/bckup/test_restore/sysaux01.dbf
    datafile 5 switched to datafile copy
    input datafile copy recid=11 stamp=686913242 filename=/dbexport/oracle/bckup/test_restore/users01.dbf
    datafile 6 switched to datafile copy
    input datafile copy recid=12 stamp=686913242 filename=/dbexport/oracle/bckup/test_restore/indx01.dbf
    datafile 7 switched to datafile copy
    input datafile copy recid=13 stamp=686913242 filename=/dbexport/oracle/bckup/test_restore/data01.dbf
    datafile 8 switched to datafile copy
    input datafile copy recid=14 stamp=686913242 filename=/dbexport/oracle/bckup/test_restore/undo01.dbf
    Starting recover at 15-MAY-09
    Finished recover at 15-MAY-09
    released channel: t1
    RMAN> **end-of-file**
    RMAN> alter database open resetlogs;
    database opened
    RMAN> exit
    Edited by: PktAces on May 18, 2009 8:04 AM

  • Control File and SPFILE Autobackup command struck

    O.S Version:
    Linux Version "Red Hat Enterprise Linux Server release 6.2 (Santiago)
    Linux version 2.6.32-220.13.1.el6.x86_64 ([email protected]) (gcc version 4.4.6 20110731 (Red Hat 4.4.6-3) (GCC) ) #1 SMP Thu Mar 29 11:46:40 EDT 2012
    2.6.18-308.16.1.el5  x86_64
    Tape Archiver : HP Data Protector
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    Problem :
    In one of our environment,  OEM grid 11g scheduled Level 0 backup struck at the Control File and SPFILE Autobackup.
    RMAN Script:
    run {
    2> backup format '<%d_%s:%t:%p:%f>.df' incremental level 0 cumulative database;
    3> sql 'alter system archive log current';
    4> backup format '<%d_%s:%t:%p>.al' archivelog all not backed up;
    5> }
    RMAN Configuration
    RMAN> show all;
    RMAN configuration parameters for database with db_unique_name TestDB are:
    CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 45 DAYS;
    CONFIGURE BACKUP OPTIMIZATION ON;
    CONFIGURE DEFAULT DEVICE TYPE TO 'SBT_TAPE';
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE 'SBT_TAPE' TO 'TestDB_%F';
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO 'TestDB_%F';
    CONFIGURE DEVICE TYPE 'SBT_TAPE' PARALLELISM 4 BACKUP TYPE TO BACKUPSET;
    CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET;
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE 'SBT_TAPE' TO 1;
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1;
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE 'SBT_TAPE' TO 1;
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1;
    CONFIGURE CHANNEL DEVICE TYPE 'SBT_TAPE' PARMS  'SBT_LIBRARY=/opt/omni/lib/libob2oracle8_64bit.so,ENV=(OB2BARTYPE=Oracle8,OB2APPNAME=TestDB,OB2BARLIST=Siv_ORA_TESTSrvr1_TestDB_DB,OB2BARHOSTNAME=TESTSrvr1)';
    CONFIGURE MAXSETSIZE TO UNLIMITED;
    CONFIGURE ENCRYPTION FOR DATABASE OFF;
    CONFIGURE ENCRYPTION ALGORITHM 'AES128';
    CONFIGURE COMPRESSION ALGORITHM 'BASIC' AS OF RELEASE 'DEFAULT' OPTIMIZE FOR LOAD TRUE ; # default
    CONFIGURE ARCHIVELOG DELETION POLICY TO NONE;
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '+DG_TestDB_UAT_DATA_01/TestDB/TEMPFILE/snapcf_TestDB.f';
    RMAN Log:
    1.    Backup started at 07-SEP-2013 07:09:46
         Finished backup at 07-SEP-2013 07:16:38
    Wherein the Control file backup started at 07-SEP-2013 07:16:38 failed at 09/07/2013 12:44:38.  It kept struck for  5 Hours.
    Starting backup at 07-SEP-2013 07:09:46
    allocated channel: ORA_SBT_TAPE_1
    channel ORA_SBT_TAPE_1: SID=250 instance=TestDB device type=SBT_TAPE
    channel ORA_SBT_TAPE_1: Data Protector A.06.20/370
    allocated channel: ORA_SBT_TAPE_2
    Finished backup at 07-SEP-2013 07:16:38
    Starting Control File and SPFILE Autobackup at 07-SEP-2013 07:16:38
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of Control File and SPFILE Autobackup command on ORA_SBT_TAPE_1 channel at 09/07/2013 12:44:38
    ORA-19506: failed to create sequential file, name="TestDB_c-2078060264-20130907-ff", parms=""
    ORA-27028: skgfqcre: sbtbackup returned error
    ORA-19511: Error received from media manager layer, error text:
       Vendor specific error: Cannot find requested element ERR(-2)
    ORACLE error from recovery catalog database: ORA-03113: end-of-file on communication channel
    Process ID: 2045
    Session ID: 89 Serial number: 36509
    RMAN> delete noprompt archivelog all backed up 1 times to sbt;
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of delete command at 09/07/2013 13:00:07
    RMAN-06004: ORACLE error from recovery catalog database: ORA-03114: not connected to ORACLE
    RMAN> **end-of-file**
    Why does the RMAN Backup struck at Controlfile , SPFile autobackup?

    Hello;
    I believe the issue is caused by your media management software. You should contact your media management vendor.
    Try the same operation to disk and I bet it works.
    Best Regards
    mseberg

  • I have 2 MacBooks at home that back-up to a Time Capsule.  I'd like to buy an external Thunderbolt drive at work to have as an additional back-up. Will Time-Machine support autobackups to 2 different devices?

    I have 2 MacBooks (1 Air and 1 Pro) at home that back-up to a Time Capsule.  I'd like to buy an external Thunderbolt drive at work to have as an additional back-up (so that were there to be a fire/water damage/etc) I would not lose both the computer and the backup.
    Will Time-Machine support autobackups to 2 different devices?
    I'd like for it to be able to backup to an external Thunderbolt drive attached to my thunderbolt display when I dock the MacBook Air to it.
    Does anyone know if this will occur automatically, or if I will have to manually select backup disk?
    thanks

    Yes, with Mountain Lion you can do this, but I will leave the explanation to Apple Support Communities contributor Pondini:
    34. "Rotating" Time Machine backup disks

  • What went wrong with the control autobackup

    I started a rman autobackup incremental level 1 at 2 am, and I noticed that at the same time, system generated an error in alert log point ing to a trc file in udump:
    /oracleapp/apps/admin/baanbk/udump/baanbk_ora_491598.trc
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    ORACLE_HOME = /oracleapp/apps/oracle/product/10.2.0/db_1
    System name: AIX
    Node name: baanbk
    Release: 3
    Version: 5
    Machine: #######
    Instance name: baanbk
    Redo thread mounted by this instance: 1
    Oracle process number: 30
    Unix process pid: 491598, image: oracle@baanbk (TNS V1-V3)
    *** 2007-02-15 02:00:31.775
    *** ACTION NAME:(0000055 STARTED111) 2007-02-15 02:00:31.731
    *** MODULE NAME:(backup archivelog) 2007-02-15 02:00:31.731
    *** SERVICE NAME:(SYS$USERS) 2007-02-15 02:00:31.731
    *** SESSION ID:(322.8883) 2007-02-15 02:00:31.731
    can anyone tell me how to trace the error? there is no mention anything in the content.

    There is no indication of any error in the part of the trace that you posted. If this alert log trace entry and associated trace file is created every time the rman backup is ran and there is no error number or formatted dump information in the trace file then the trace may just be a left-over from development debugging. Oracle development has been known to forget to turn off trace and debug information before releasing the code to production in the past. This may be another example.
    Otherwise you need to post the error messages in the trace.
    HTH -- Mark D Powell --

  • What's the difference between "controlfile autobackup" and "snapshot contro

    Hi All,
    What's the difference between "controlfile autobackup" and "snapshot controlfile" in RMAN configure ? Both are controlfile backups, what the difference between the controlfiles they backup ? Why there are two of these options ?
    thanks

    RMAN creates a control file snapshot to perform catalog resync operations. Control file autobackup will automatically create a backup of the control file whenever there are database structure changes.

  • No controlfile autobackups in 10gR2. Bug?

    I'm using 10.2.0.4 enterprise edition and have no flash recovery area set up. In rman I have controlfile autobackup = on but I am not getting any controlfile backups when I make structural changes to the database.
    Here's a snipped version of my RMAN config.
    <tt>
    RMAN> show all;
    RMAN configuration parameters are:
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
    </tt>
    Now I go to sqlplus to show that there is no FRA, and create a tablespace.
    <tt>
    SQL> show parameter recov
    NAME TYPE VALUE
    db_recovery_file_dest string
    db_recovery_file_dest_size big integer 0
    SQL> create tablespace dummy datafile '/export/home/oracle/dummy01.dbf' size 2m;
    Tablespace created.
    </tt>
    Now I check the dbs directory for backup controlfiles. None are created
    <tt>
    $ pwd
    /oracle2/app/oracle/product/10.2.0.4/dbs
    $ ls -l c-*
    c-*: No such file or directory
    So what am I doing wrong? This works fine in 10.1 and 9.2. Did something change in 10.2? Do I have to create a flash recovery area for controlfile autobackups to work in 10.2?

    Did you try to test it ?
    [oracle@lx01 ~]$ rman target /
    Recovery Manager: Release 10.2.0.4.0 - Production on Fri Mar 25 21:46:47 2011
    Copyright (c) 1982, 2007, Oracle.  All rights reserved.
    connected to target database: DB102 (DBID=831971560)
    RMAN> show all;
    using target database control file instead of recovery catalog
    RMAN configuration parameters are:
    CONFIGURE RETENTION POLICY TO REDUNDANCY 1; # default
    CONFIGURE BACKUP OPTIMIZATION OFF; # default
    CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/tmp/%F';
    CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE MAXSETSIZE TO UNLIMITED; # default
    CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
    CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
    CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/u01/app/oracle/product/10.2.0/EE/dbs/snapcf_DB102.f'; # default
    RMAN> exit
    Recovery Manager complete.
    [oracle@lx01 ~]$ sqlplus / as sysdba
    SQL*Plus: Release 10.2.0.4.0 - Production on Fri Mar 25 21:39:15 2011
    Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> host ls -al /tmp
    total 36
    drwxrwxrwt  6 root   root     4096 Mar 25 21:41 .
    drwxr-xr-x 30 root   root     4096 Mar 25 21:14 ..
    drwxrwxrwt  2 root   root     4096 Mar 25 21:16 .font-unix
    drwxrwxrwt  2 root   root     4096 Mar 25 21:14 .ICE-unix
    drwx------  2 root   root     4096 May 24  2010 keyring-RqLT3M
    drwx------  2 root   root     4096 Jan 20  2010 keyring-uxZ8jN
    srwxr-xr-x  1 root   root        0 May 24  2010 mapping-root
    -rw-r--r--  1 oracle oinstall    0 Mar  7 10:10 tes
    -rwsr-s--x  1 oracle oinstall    0 Mar  7 10:14 test
    SQL> create tablespace test datafile '/tmp/test.dbf' size 10m;
    Tablespace created.
    SQL> host ls -al /tmp
    total 17256
    drwxrwxrwt  6 root   root         4096 Mar 25 21:45 .
    drwxr-xr-x 30 root   root         4096 Mar 25 21:14 ..
    -rw-r-----  1 oracle oinstall  7110656 Mar 25 21:45 c-831971560-20110325-02
    drwxrwxrwt  2 root   root         4096 Mar 25 21:16 .font-unix
    drwxrwxrwt  2 root   root         4096 Mar 25 21:14 .ICE-unix
    drwx------  2 root   root         4096 May 24  2010 keyring-RqLT3M
    drwx------  2 root   root         4096 Jan 20  2010 keyring-uxZ8jN
    srwxr-xr-x  1 root   root            0 May 24  2010 mapping-root
    -rw-r--r--  1 oracle oinstall        0 Mar  7 10:10 tes
    -rwsr-s--x  1 oracle oinstall        0 Mar  7 10:14 test
    -rw-r-----  1 oracle oinstall 10493952 Mar 25 21:45 test.dbf
    SQL>and in instance alert log you have:
    [oracle@lx01 ~]$ tail -f /u01/app/oracle/admin/DB102/bdump/alert_DB102.log
    Starting background process QMNC
    Completed: alter database open
    QMNC started with pid=18, OS id=6198
    Fri Mar 25 21:45:29 2011
    create tablespace test datafile '/tmp/test.dbf' size 10m
    Fri Mar 25 21:45:30 2011
    Starting control autobackup
    Control autobackup written to DISK device
            handle '/tmp/c-831971560-20110325-02'
    Completed: create tablespace test datafile '/tmp/test.dbf' size 10mEdited by: P. Forstmann on 25 mars 2011 21:49

  • 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

  • Restore CTL file from AUTOBACKUP earlier than my backupset?

    Hi ALl,
    I'm new to RMAN and inheriting a backup procedure and have a question about an output when trying to do a restore.
    Oracle 11G 11.2.0.3 on WIndows 2008 R2
    This is the RMAN backup commands:
    CROSSCHECK ARCHIVELOG ALL;
    CROSSCHECK BACKUPSET;
    CROSSCHECK BACKUP;
    CROSSCHECK COPY;
    DELETE NOPROMPT EXPIRED ARCHIVELOG ALL;
    DELETE NOPROMPT EXPIRED BACKUPSET;
    DELETE NOPROMPT OBSOLETE;
    BACKUP CURRENT CONTROLFILE;
    BACKUP AS COMPRESSED BACKUPSET DATABASE PLUS ARCHIVELOG DELETE INPUT;
    EXIT;THen i copy the ORAFRA to another server and run the following commands (after shutdown)
    rman TARGET / NOCATALOG
    SET DBID=XXXXX;
    STARTUP NOMOUNT;
    RESTORE CONTROLFILE FROM AUTOBACKUP;
    ALTER DATABASE MOUNT;The quirky thing is, the output of the last one says the control file was restored, say on May 26th.
    In my backupsets, i have daily backups all the way until today, June 3rd.
    In the ORAFRA, i dont have AUTOBACKUPS past May 26th though my backup job has been running fine since then.
    Then i run this:
    RUN
    RESTORE DATABASE;
    RECOVER DATABASE NOREDO;
    }Thinking that i want to restore to the last full daily backup which is last night at 7pm (June 2nd).
    With the control file being restored to May 26th, will this be possible or am i missing something?
    Thanks in advance.

    Hi mseberg,
    Yes i wouldhave thought that the AUTOBACKUP folder would have folders for each of the past days, but it only has it until May 26 - so it's missing almost a week of folders.
    The restore/recovery finished but when i tried to open the database, it threw an error:
    Finished restore at 03-JUN-13
    Starting recover at 03-JUN-13
    using channel ORA_DISK_1
    Finished recover at 03-JUN-13
    RMAN> ALTER DATABASE OPEN RESETLOGS;
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of alter db command at 06/03/2013 13:56:35
    ORA-01194: file 1 needs more recovery to be consistent
    ORA-01110: data file 1: 'D:\ORACLE\DATABASE\ORADATA\MMSPRD7\DBF\SYSTEM01.DBF'I then did a RESTORE DATABASE and it gave this error:
    archived log file name=F:\ORAFRA\MMSPRD7\ARCHIVELOG\2013_05_27\O1_MF_1_2280_8T5P
    M463_.ARC thread=1 sequence=2280
    archived log file name=F:\ORAFRA\MMSPRD7\ARCHIVELOG\2013_05_27\O1_MF_1_2281_8T5P
    MQ37_.ARC thread=1 sequence=2281
    archived log file name=F:\ORAFRA\MMSPRD7\ARCHIVELOG\2013_05_27\O1_MF_1_2282_8T6C
    R67B_.ARC thread=1 sequence=2282
    archived log file name=F:\ORAFRA\MMSPRD7\ARCHIVELOG\2013_05_27\O1_MF_1_2283_8T6X
    JGJM_.ARC thread=1 sequence=2283
    unable to find archived log
    archived log thread=1 sequence=2284
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of recover command at 06/03/2013 13:59:06
    RMAN-06054: media recovery requesting unknown archived log for thread 1 with seq
    uence 2284 and starting SCN of 28712555Without knowing what to do next, i tried to open the database using ALTER DATABASE OPEN RESETLOGS...and it opened!
    But now i dont know what state my db is in and when did i restore it to??

  • Recovering controlfile from autobackup

    Hi to everyone,
    I am practisisng RMAN backup and recovery in oracle 10g xe . My database is in noarchivelog mode. And I want to recover from loss of controlfile. I am performing following steps:
    RMAN> STARTUP
    $ mv ~/oradata/XE/control.dbf cc.bak
    RMAN>SHUTDOWN ABORT
    RMAN>STARTUP NOMOUNT
    RMAN> RESTORE CONTROLFILE FROM AUTOBACKUP;
    RMAN> ALTER DATABASE MOUNT;
    RMAN> RESTORE DATABASE;
    RMAN>RECOVER DATABASE NOREDO;
    RMAN>ALTER DATABASE open RESETLOGS;
    and database recovered successfully. But I read oracle docs that says before restoring controlfile autobackup, we need to set dbid first. How can above steps that I perform also a success.
    Edited by: sonidba on Feb 25, 2011 7:46 PM

    RMAN> show all;
    RMAN configuration parameters are:
    CONFIGURE RETENTION POLICY TO REDUNDANCY 1; # default
    CONFIGURE BACKUP OPTIMIZATION ON;
    CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
    CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE MAXSETSIZE TO UNLIMITED; # default
    CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
    CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
    CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/dbs/snapcf_XE.f'; # default

  • ORA-19507 when restoring pfile from autobackup

    Hey,
    We're testing our disaster recovery process and recently installed netbackup 5.1 on a AIX 5.3 server. Our database is 10.2.0.4.
    We've imported the tapes, seemingly successfully. Now we are trying to restore the pfile from an autobackup of the spfile. RMAN finds the appropriate file in the netbackup catalog, but can't read it, it seems. The tape device is a standalone drive. I've tried loading the tape at various points in the process, to no avail. Any ideas? Here's the stack:
    RMAN> run
    2> {
    3> ALLOCATE CHANNEL c1 DEVICE TYPE sbt;
    4> RESTORE SPFILE TO PFILE '?/dbs/initchs2qual.ora' FROM AUTOBACKUP;
    5> SHUTDOWN ABORT;
    6> }
    allocated channel: c1
    channel c1: sid=37 devtype=SBT_TAPE
    channel c1: VERITAS NetBackup for Oracle - Release 5.1 (2004043014)
    Starting restore at 05-NOV-09
    channel c1: looking for autobackup on day: 20091105
    channel c1: looking for autobackup on day: 20091104
    channel c1: autobackup found: c-4162663984-20091104-00
    released channel: c1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 11/05/2009 14:27:28
    ORA-19870: error reading backup piece c-4162663984-20091104-00
    ORA-19507: failed to retrieve sequential file, handle="c-4162663984-20091104-00", parms=""
    ORA-27029: skgfrtrv: sbtrestore returned error
    ORA-19511: Error received from media manager layer, error text:
    Failed to open backup file for restore.
    Thanks,
    Bill

    oracle@CB-BCC-2$oerr ora 27029
    27029, 00000, "skgfrtrv: sbtrestore returned error"
    // *Cause:  sbtrestore returned an error.  This happens when retrieving a
    // backup file during a restore operation.
    // *Action: This error is returned from the media management software which is
    // linked with Oracle. There should be additional messages which
    // explain the cause of the error. This error usually requires
    // contacting the media management vendor.

  • Recover spfile using autobackup

    Is there a way to make this command:
    restore spfile to pfile '/tmp/pfile' from autobackup;
    Use only disk. When I run the command it searches all
    the disk and then the tape.
    RMAN> restore spfile to pfile '/tmp/pfile' from autobackup;
    Starting restore at 03-MAR-05
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=18 devtype=DISK
    allocated channel: ORA_DISK_2
    channel ORA_DISK_2: sid=19 devtype=DISK
    allocated channel: ORA_DISK_3
    channel ORA_DISK_3: sid=20 devtype=DISK
    allocated channel: ORA_DISK_4
    channel ORA_DISK_4: sid=21 devtype=DISK
    allocated channel: ORA_DISK_5
    channel ORA_DISK_5: sid=22 devtype=DISK
    allocated channel: ORA_DISK_6
    channel ORA_DISK_6: sid=23 devtype=DISK
    using channel ORA_SBT_TAPE_1
    using channel ORA_SBT_TAPE_2
    using channel ORA_SBT_TAPE_3
    using channel ORA_SBT_TAPE_4
    using channel ORA_SBT_TAPE_5
    using channel ORA_SBT_TAPE_6
    using channel ORA_SBT_TAPE_7
    using channel ORA_SBT_TAPE_8
    channel ORA_DISK_1: looking for autobackup on day: 20050303
    channel ORA_DISK_2: looking for autobackup on day: 20050303
    channel ORA_DISK_2: skipped, autobackup already found
    channel ORA_DISK_3: looking for autobackup on day: 20050303
    channel ORA_DISK_3: skipped, autobackup already found
    channel ORA_DISK_4: looking for autobackup on day: 20050303
    channel ORA_DISK_4: skipped, autobackup already found
    channel ORA_DISK_5: looking for autobackup on day: 20050303
    channel ORA_DISK_5: skipped, autobackup already found
    channel ORA_DISK_6: looking for autobackup on day: 20050303
    channel ORA_DISK_6: skipped, autobackup already found
    channel ORA_SBT_TAPE_1: looking for autobackup on day: 20050303

    did you try
    run { allocate channel c1 type disk; restore spfile to pfile '/tmp/xxx' from autobackup; release channel c1; }

  • Why can't I restore the controlfile from autobackup?

    Running 10GR2
    Something that I have always had a problem with is the restore controlfile from autobackup command. RMAN is configured to run autobackyps of the controlfiles.
    I have setup a restore test and moved the backups over to the test machine. I have restored the spfile and modified the necessary init parameters. When I startup nomount and try to restore the controlfile from autobackup RMAN says it cannot find an autobackup controlfile.
    I have always gotten around this by explicitly naming the controlfile to restore but am wondering what is possibly incorrect in my config such that RMAN doesn't know where to find the controlfile autbackups.
    Thanks

    Do you have such a configuration?
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
    You must not specify any other format,only '%F'.
    FRA structure should like <db_recovery_file_dest>/<SID>/AUTOBACKUP/<date>/<controlfile_backup>. Only when both is true, RMAN will find the autobackup, otherwise it searches in the OS dependent default location.
    Werner

  • No autobackup of control file for rman

    This is what I used for a backup of database. I do not have controlfile autobackup set, I back it up using rman commands. Backup is made to a third party media manager.
    I tried to restore and it cannot startup mount the database, it can only nomount the database. I am assumming this is because it cannot find the control file.
    Is it possible to recover the controlfile if autobackup not on ? I did make a backup current controlfile with the rman script below .. Is it possible to get back the database at all ..
    SQL> Connected to an idle instance.
    SQL> ORACLE instance started.
    Total System Global Area 1286066176 bytes
    Fixed Size 2221160 bytes
    Variable Size 805309336 bytes
    Database Buffers 469762048 bytes
    Redo Buffers 8773632 bytes
    ORA-00205: error in identifying control file, check alert log for more info
    This is the backup script.
    rman target xxx/xxx nocatalog << eof
    run {
    allocate channel t1 type 'sbt_tape' parms
    'ENV=(tdpo_optfile=xxxxxxxxxxxx)';
    backup as compressed backupset database plus archivelog delete input;
    release channel t1;
    quit
    eof
    rman target xxxx/xxxx nocatalog << eof
    run {
    allocate channel t1 type 'sbt_tape' parms
    'ENV=(tdpo_optfile=xxxxxxxxxxxxx)';
    backup current controlfile;
    release channel t1;
    quit
    eof
    CONFIGURE CONTROLFILE AUTOBACKUP OFF; # default
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default

    joecbc wrote:
    I did find this in my ORACLE_HOME .. I was able to do the resrore controlfile command as below .. Not certain how the file named control02.ctl got there, maybe from my backup I did yesterday .. anyway the database is restored, thanks.
    RMAN> restore controlfile from '$ORACLE_HOME/fast_recovery_area/RMANT/control02.ctl';
    Starting restore at 05-OCT-12
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=212 device type=DISK
    channel ORA_DISK_1: copied control file copy
    output file name=/data99/oradata/RMANT/control01.ctl
    output file name=/u11/app/oracle/fast_recovery_area/RMANT/control02.ctl
    Finished restore at 05-OCT-12You have mutiplexed controlfile in two different location:
    /data99/oradata/RMANT
    /u11/app/oracle/fast_recovery_area/RMANT
    This controlfile "control02.ctl" was your current controlfile, you have controlfile in two different location "/data99/oradata/RMANT" and "/u11/app/oracle/fast_recovery_area/RMANT"
    So, be aware you have lost only this file "/data99/oradata/RMANT/control01.ctl" and the "control02.ctl" file is not a backup of controlfile, but is your current controlfile.
    You restored control01.ctl from control02.ctl
    Check it using command above
    sqlplus / as sysdba
    Select  name, status from v$controlfile.
    or
    show parameter controlEdited by: Levi Pereira on Oct 5, 2012 1:05 PM

  • Default device type configuration of controlfile autobackup ?

    1. configure controlfile autobackup format for device type disk to 'E:\oracle\oradata\oid\bk\%F';
    2. backup current controlfile;
    rman first use default device type ORA_DISK_1 and backup the file at "E:\ORACLE\ORA92\DATABASE\0AEU5OQL_1_1" (windows 2000)
    then backup file at "E:\ORACLE\ORADATA\OID\BK\C-804947643-20030807-00"
    when i backup database , rman can backup the controlfile at "E:\ORACLE\ORADATA\OID\BK\"
    when i backup controlfile manully , why rman first backup it at the default device ??
    thanks:)

    One more cogent point for auto backup on will always get automized backup whenever you made any physical structural change in yours database ,whenver you make any physical structural changes in yours database it goes to be highlight in control file,auto backup on will take this new highlighted control file backup at the spot,needn't to take control file backup after any structural changes It will be backed up itself in yours FRA (Flash recovery area).
    Khurram

  • 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

Maybe you are looking for