RMAN-06067: RECOVER DATABASE required with a backup or created control file

Hi,
Oracle version :10.2.04
I recovered control files
RMAN> restore controlfile to '/oracle/ora10gr4/dbs/nis.ctl';
Starting restore at 21-AUG-12
using channel ORA_DISK_1
channel ORA_DISK_1: starting datafile backupset restore
channel ORA_DISK_1: restoring control file
output filename=/oracle/ora10gr4/dbs/nis.ctl
channel ORA_DISK_1: reading from backup piece /data_idx1/ORAMIG/OMIGTEST/cfc-260103938-20120821-03
channel ORA_DISK_1: restored backup piece 1
piece handle=/data_idx1/ORAMIG/OMIGTEST/cfc-260103938-20120821-03 tag=TAG20120821T152259
channel ORA_DISK_1: restore complete, elapsed time: 00:00:03
Finished restore at 21-AUG-12after this i got the below error when i tried to open DB.
SQL> alter database open resetlogs;
alter database open resetlogs
ERROR at line 1:
ORA-01152: file 1 was not restored from a sufficiently old backup
ORA-01110: data file 1:
'/data_idx1/ORAMIG/OMIGTEST/DATA_FILES/system_1_OMIGTEST.dbf'So i tried the following.
RMAN> restore datafile '/data_idx1/ORAMIG/OMIGTEST/DATA_FILES/system_1_OMIGTEST.dbf';
Starting restore at 21-AUG-12
using channel ORA_DISK_1
channel ORA_DISK_1: starting datafile backupset restore
channel ORA_DISK_1: specifying datafile(s) to restore from backup set
restoring datafile 00001 to /data_idx1/ORAMIG/OMIGTEST/DATA_FILES/system_1_OMIGTEST.dbf
channel ORA_DISK_1: reading from backup piece /data_idx1/ORAMIG/OMIGTEST29_1_791910787
channel ORA_DISK_1: restored backup piece 1
piece handle=/data_idx1/ORAMIG/OMIGTEST29_1_791910787 tag=TAG20120821T151306
channel ORA_DISK_1: restore complete, elapsed time: 00:00:15
Finished restore at 21-AUG-12
RMAN> recover  datafile '/data_idx1/ORAMIG/OMIGTEST/DATA_FILES/system_1_OMIGTEST.dbf';
Starting recover at 21-AUG-12
using channel ORA_DISK_1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of recover command at 08/21/2012 16:21:45
RMAN-06067: RECOVER DATABASE required with a backup or created control fileCan anyone pls help me with this error?
Thanks

Hi,
Try this command after restore control file.
RMAN>  restore database;
RMAN> recover database;
RMAN> alter database open resetlogs;Paste here result, if you are get error.
Regards
Mahir M. Quluzade
www.mahir-quluzade.com

Similar Messages

  • RMAN-06067: RECOVER DATABASE required with a backup or created controlfile

    Hi,
    DB:9.2.0.8
    OS: AIX 5.3
    I am restoring DB with until time(12/06/2012) for needed tablespaces.
    I restored the 12th date controlfile ,which is backed up with archivedlogs. I also have one more controlfile which backed up with full DB..
    Restore of tablespaces are completed..
    When recovery is going , failed with following error..
    allocated channel: c7
    channel c7: sid=22 devtype=SBT_TAPE
    channel c7: VERITAS NetBackup for Oracle - Release 5.1 (2006040520)
    allocated channel: c8
    channel c8: sid=21 devtype=SBT_TAPE
    channel c8: VERITAS NetBackup for Oracle - Release 5.1 (2006040520)
    executing command: SET until clause
    Starting recover at 23-06-2012 02:00:15
    released channel: c1
    released channel: c2
    released channel: c3
    released channel: c4
    released channel: c5
    released channel: c6
    released channel: c7
    released channel: c8
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of recover command at 06/23/2012 03:36:57
    RMAN-06067: RECOVER DATABASE required with a backup or created controlfile
    RMAN>
    Restore Script:
    connect target /
    connect catalog rmanc/recom@lgn_rmanc
    run {
    allocate channel c1 type 'SBT_TAPE';
    allocate channel c2 type 'SBT_TAPE';
    allocate channel c3 type 'SBT_TAPE';
    allocate channel c4 type 'SBT_TAPE';
    allocate channel c5 type 'SBT_TAPE';
    allocate channel c6 type 'SBT_TAPE';
    allocate channel c7 type 'SBT_TAPE';
    allocate channel c8 type 'SBT_TAPE';
    allocate channel c9 type 'SBT_TAPE';
    allocate channel c10 type 'SBT_TAPE';
    allocate channel c11 type 'SBT_TAPE';
    allocate channel c12 type 'SBT_TAPE';
    set until time '12-06-2012 00:01:26';
    restore tablespace SYSTEM,UNDO_GEN01,UNDO_GEN02,TAB_80K_GENCON,TAB_25M_GENCON;
    release channel c1;
    release channel c2;
    release channel c3;
    release channel c4;
    release channel c5;
    release channel c6;
    release channel c7;
    release channel c8;
    release channel c9;
    release channel c10;
    release channel c11;
    release channel c12;
    Recover Script:
    connect catalog rmanc/recom@lgn_rmanc
    connect target /
    run {
    allocate channel c1 type 'SBT_TAPE';
    allocate channel c2 type 'SBT_TAPE';
    allocate channel c3 type 'SBT_TAPE';
    allocate channel c4 type 'SBT_TAPE';
    allocate channel c5 type 'SBT_TAPE';
    allocate channel c6 type 'SBT_TAPE';
    allocate channel c7 type 'SBT_TAPE';
    allocate channel c8 type 'SBT_TAPE';
    set until time '12-06-2012 00:01:26';
    recover tablespace SYSTEM,UNDO_GEN01,UNDO_GEN02,TAB_80K_GENCON,TAB_25M_GENCON;
    release channel c1;
    release channel c2;
    release channel c3;
    release channel c4;
    release channel c5;
    release channel c6;
    release channel c7;
    release channel c8;
    Any suggestion in this is helpful to me..
    Thanks in advance,

    Hello;
    I read your post and here's the thoughts that came to mind : ( my largest concern is you might restore something that damages your current system )
    1. So you want to restore the whole DB back to 12/06/2012 to get some tablespaces from then right?
    2. Are you restoring to a different system?
    3. How did you start the database ( NOMOUNT, MOUNT )
    4. If you are restoring the whole DB back to 12/06/2012 how did you restore the control file?
    5. Your command shows :
    restore tablespace SYSTEM,UNDO_GEN01,UNDO_GEN02,TAB_80K_GENCON,TAB_25M_GENCON;
    COMMENT : Generally I use recover tablespace for point in time recovery and use an auxilary destination.
    Meaning I don't use restore at all, in fact using restore may cause an issue.
    SUMMARY : I don't see how this will work as is.
    It seems you want data from five tablespaces from about six months ago including the SYSTEM tablespace.
    This is an Incomplete Recovery. I believe I would rethink this completely.
    Give the time that has past I would consider restoring the whole database to a different server where cannot damage anything.
    Once this is done I would decide how to get the data I need.
    Or I would check for a daily export file and recover the tablespace data that way.
    So you have some good details on your question but it seems the plan is either missing something or you need to add a few more details.
    Example
    I'm recovering old tablespaces into a test system.
    Here's how I'm not damaging my current production system.
    I don't have an export from that date.
    So take a step back and either rethink or give a few more details on how this is safe.
    Best Regards
    mseberg

  • Database creation having a trace of the control file

    Hi,
    I want to move a database from one server let's say A to another server let's say B I have a copy of all the datafiles, redo logs, control files and init file of the database fron the server A. I have a trace of the control file.
    I copied all these files on the server B in the location /dispecer_date/oradata, except init which is in ORACLE_HOME/dbs
    I thought that the simplest method to recreate the database is from the backup of the control file writing in sql the command CREATE CONTROLFILE how is written in trace and replacing the word REUSE with the word SET in CREATE CONTROLFILE instruction.
    I obtained an error:
    ORA-01503: Create controlfile failed
    ORA-01160: file is not a data file
    ORA-01110: datafile: '/dispecer_date/oradata/system.dbf'
    Why? The db_block_size parameter is 4096.
    Thank you,
    Mihaela

    Here are the steps .....
    sql > shutdown immediate ;
    create identical dir structure on server b
    copy all datafile,controlfile,redologfiles and pfile to target server ,And put them in same dir as of source.
    now on taget server
    sql > startup mountpfile = path of the pfile
    sql > alter database opn
    or
    sql > alter database open resetlogs ;
    this will do the trick, I don;t think recreating the controlfile is a good option hare , becuse you likly to loose some data if you stick on that one.
    hare krishna
    Alok

  • Recover database until cancel using backup controlfile Fails with ORA-01547

    Hi
    First of all, I'm sorry for posting in this community as my issue doesn't have any thing to do with Rman, but I couldn't find any more relative Community to post in
    our System is Oracle EBS 11i and the OS on the production is AIX 5.2 / and the DR is 5.3 / DB version is 9i
    we have our Oracle ERP scheduled using crontab to take a database COLD backup daily using gtar -cvzf .
    yesterday I needed to clone the database only, so I used my usual method witch is
    1) on the source SQL> alter database backup controlfile to trace as '<dest>/makecntrlfil.sql'
    then you can delete the Commented header and change the first command from
    "CREATE CONTROLFILE REUSE DATABASE <SOURCE> NORESETLOGS ..."
    TO
    CREATE CONTROLFILE SET DATABASE <TARGET> RESETLOGS <NO>ARCHIVELOG
    2) de-compress the tgz files
    3) on the target edit the $ORACLE_HOME/dbs/init<source>.ora, $ORACLE_HOME/environment file
    4)run /ORACLE_HOME/appsutils/clone/bin/adcfgclone.prl
    5) delete old controlfiles
    6) on the database run the script you created on firs t step to create a new control fole
    7)recover database until cancel using backup controlfile
    8) alter database open resetlogs
    add new temp file system
    this way I used to do it
    but yesterday when trying to execute recover database it didn't work, and gave this error
    ORA-00279: change 6450277404 generated at 02/28/2013 02:47:56 needed for thread
    1
    ORA-00289: suggestion : /ERPDEV/DBASE/devdb/9.2.0/dbs/arch1_188462.dbf
    ORA-00280: change 6450277404 for thread 1 is in sequence #188462
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL} >> I gave cancel >> so >>
    ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
    ORA-01152: file 1 was not restored from a sufficiently old backup
    ORA-01110: data file 1: '/ERPDEV/DBASE/SYS/devdata/system01.dbf'
    nothing strange in the original alert log file in the time of taking the backup
    So can You please tell me what maybe wrong and why it used to work before and now it's not
    take in consideration that we are on archive log mode, but not using Rman or the archived Logs for backup and the sequence it needed ( 188462 ) is too old and already deleted on Production.

    the output of the sript
    Please Do not Forgot to run /usr/bin/runmwm as root Please Do not Forgot to run /usr/bin/runmwm as root Please Do not Forgot to run /usr/bin/runmwm as root Please Do not Forgot to run /usr/bin/runmwm as root ConcMgr will not work ConcMgr will not work ConcMgr will not work #####################################################
    172.16.10.10:1.0
    access control disabled, clients can connect from any host
    You are running adstpall.sh version 115.19
    Executing service control script:
    /ERPABP/APPL/abpcomn/admin/scripts/ABP_babtain-erp/adapcctl.sh stop script returned:
    adapcctl.sh version 115.54
    Apache Web Server Listener :httpd ( pid 765998 ) is running.
    Stopping Apache Web Server Listener (dedicated HTTP) ...
    Apache Web Server Listener (PLSQL) :httpd ( pid 2830390 ) is running.
    Stopping Apache Web Server Listener (dedicated PLSQL) ...
    adapcctl.sh: exiting with status 0
    .end std out.
    .end err out.
    Executing service control script:
    /ERPABP/APPL/abpcomn/admin/scripts/ABP_babtain-erp/adalnctl.sh stop script returned:
    adalnctl.sh version
    Shutting down listener process APPS_ABP.
    adalnctl.sh: exiting with status 0
    .end std out.
    .end err out.
    Executing service control script:
    /ERPABP/APPL/abpcomn/admin/scripts/ABP_babtain-erp/adtcfctl.sh stop script returned:
    You are running adtcfctl.sh version 115.14
    Shutting down TCF SocketServer for ABP on port -1.
    adtcfctl.sh: exiting with status 0
    .end std out.
    .end err out.
    Executing service control script:
    /ERPABP/APPL/abpcomn/admin/scripts/ABP_babtain-erp/adcmctl.sh stop script returned:
    You are running adcmctl.sh version 115.28
    Shutting down concurrent managers for ABP ...
    Submitted request 7481224 for CONCURRENT FND SHUTDOWN
    adcmctl.sh: exiting with status 0
    .end std out.
    .end err out.
    Executing service control script:
    /ERPABP/APPL/abpcomn/admin/scripts/ABP_babtain-erp/adfrmctl.sh stop script returned:
    You are running adfrmctl.sh version 115.37
    Stopping forms server for ABP on port 9003.
    adfrmctl.sh: exiting with status 0
    .end std out.
    .end err out.
    Executing service control script:
    /ERPABP/APPL/abpcomn/admin/scripts/ABP_babtain-erp/adrepctl.sh stop script returned:
    You are running adrepctl.sh version 115.32
    stopping Reports Server for ABP on port 7003.
    kill -9 827420
    Reports Server for ABP successfully stopped.
    adrepctl.sh: exiting with status 0
    .end std out.
    .end err out.
    Executing service control script:
    /ERPABP/APPL/abpcomn/admin/scripts/ABP_babtain-erp/adfmcctl.sh stop script returned:
    You are running adfmcctl.sh version 115.19
    Stopping forms load balancing client for ABP.
    adfmcctl.sh: exiting with status 0
    .end std out.
    .end err out.
    Executing service control script:
    /ERPABP/APPL/abpcomn/admin/scripts/ABP_babtain-erp/adfmsctl.sh stop script returned:
    You are running adfmsctl.sh version 115.15
    Stopping forms metrics server for ABP on port 9203.
    adfmsctl.sh: exiting with status 0
    .end std out.
    .end err out.
    Executing service control script:
    /ERPABP/APPL/abpcomn/admin/scripts/ABP_babtain-erp/jtffmctl.sh stop script returned:
    You are running jtffmctl.sh version 115.16
    Shutting down Fulfillment Server for ABP on port 9303 ...
    jtffmctl.sh: exiting with status 0
    .end std out.
    .end err out.
    All enabled services on this node are stopped.
    Check logfile /ERPABP/APPL/abpcomn/admin/log/ABP_babtain-erp/04010130.log for details
    Exiting with status 0
    You are running addlnctl.sh version 115.7
    Logfile: /ERPABP/DBASE/abpdb/9.2.0/appsutil/log/ABP_babtain-erp/addlnctl.txt
    Shutting down listener process ABP ...
    addlnctl.sh: exiting with status 0
    You are running addbctl.sh version 115.10
    Shutting down database ABP ...
    SQL*Plus: Release 9.2.0.8.0 - Production on Mon Apr 1 01:36:25 2013
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    Connected.
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    Disconnected from Oracle9i Enterprise Edition Release 9.2.0.8.0 - 64bit Production With the Partitioning, OLAP and Oracle Data Mining options JServer Release 9.2.0.8.0 - Production
    addbctl.sh: exiting with status 0
    You are running addbctl.sh version 115.10
    Starting the database ABP ...
    SQL*Plus: Release 9.2.0.8.0 - Production on Mon Apr 1 01:38:48 2013
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    Connected to an idle instance.
    ORACLE instance started.
    Total System Global Area 6829474752 bytes
    Fixed Size          742336 bytes
    Variable Size          1493172224 bytes
    Database Buffers     5324800000 bytes
    Redo Buffers          10760192 bytes
    Database mounted.
    Database opened.
    Disconnected from Oracle9i Enterprise Edition Release 9.2.0.8.0 - 64bit Production With the Partitioning, OLAP and Oracle Data Mining options JServer Release 9.2.0.8.0 - Production
    addbctl.sh: exiting with status 0
    You are running addbctl.sh version 115.10
    Shutting down database ABP ...
    SQL*Plus: Release 9.2.0.8.0 - Production on Mon Apr 1 01:39:08 2013
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    Connected.
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    Disconnected from Oracle9i Enterprise Edition Release 9.2.0.8.0 - 64bit Production With the Partitioning, OLAP and Oracle Data Mining options JServer Release 9.2.0.8.0 - Production
    addbctl.sh: exiting with status 0
    root 2883784 2097278 0 01:39:54 - 0:00 grep abpappl
    root 1425530 2097278 1 01:39:54 - 0:00 grep abpora
    Taring /ERPABP/DBASE/SYS/abpdata
    Mon Apr 1 01:39:54 SAUST 2013
    Mon Apr 1 03:00:16 SAUST 2013
    Taring /ERPDEV/DBASE/SYS/abpdata
    Mon Apr 1 03:00:16 SAUST 2013
    Mon Apr 1 03:10:18 SAUST 2013
    Taring /ERPABP/DBASE/DATA/abpdata
    Mon Apr 1 03:10:18 SAUST 2013
    Mon Apr 1 04:51:04 SAUST 2013
    Taring /ERPDEV/APPL/DATA/abpdata
    Mon Apr 1 04:51:04 SAUST 2013
    Mon Apr 1 05:02:58 SAUST 2013
    You are running addbctl.sh version 115.10
    Starting the database ABP ...
    SQL*Plus: Release 9.2.0.8.0 - Production on Mon Apr 1 05:04:46 2013
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    Connected to an idle instance.
    ORACLE instance started.
    Total System Global Area 6829474752 bytes
    Fixed Size          742336 bytes
    Variable Size          1493172224 bytes
    Database Buffers     5324800000 bytes
    Redo Buffers          10760192 bytes
    Database mounted.
    Database opened.
    Disconnected from Oracle9i Enterprise Edition Release 9.2.0.8.0 - 64bit Production With the Partitioning, OLAP and Oracle Data Mining options JServer Release 9.2.0.8.0 - Production
    addbctl.sh: exiting with status 0
    You are running addlnctl.sh version 115.7
    Logfile: /ERPABP/DBASE/abpdb/9.2.0/appsutil/log/ABP_babtain-erp/addlnctl.txt
    Starting listener process ABP ...
    addlnctl.sh: exiting with status 0
    Please Do not Forgot to run /usr/bin/runmwm as root Please Do not Forgot to run /usr/bin/runmwm as root Please Do not Forgot to run /usr/bin/runmwm as root Please Do not Forgot to run /usr/bin/runmwm as root ConcMgr will not work ConcMgr will not work ConcMgr will not work #####################################################
    172.16.10.10:1.0
    access control disabled, clients can connect from any host
    You are running adstrtal.sh version 115.16
    Executing service control script:
    /ERPABP/APPL/abpcomn/admin/scripts/ABP_babtain-erp/adapcctl.sh start script returned:
    adapcctl.sh version 115.54
    Apache Web Server Listener is not running.
    Starting Apache Web Server Listener (dedicated HTTP) ...
    Apache Web Server Listener (PLSQL) is not running.
    Starting Apache Web Server Listener (dedicated PLSQL) ...
    adapcctl.sh: exiting with status 0
    .end std out.
    .end err out.
    Executing service control script:
    /ERPABP/APPL/abpcomn/admin/scripts/ABP_babtain-erp/adalnctl.sh start script returned:
    adalnctl.sh version
    Checking for FNDFS executable.
    Starting listener process APPS_ABP.
    adalnctl.sh: exiting with status 0
    .end std out.
    .end err out.
    Executing service control script:
    /ERPABP/APPL/abpcomn/admin/scripts/ABP_babtain-erp/adtcfctl.sh start script returned:
    You are running adtcfctl.sh version 115.14
    TCF SocketServer for ABP on port -1 is already started.
    adtcfctl.sh: exiting with status 2
    .end std out.
    .end err out.
    Executing service control script:
    /ERPABP/APPL/abpcomn/admin/scripts/ABP_babtain-erp/adcmctl.sh start script returned:
    You are running adcmctl.sh version 115.28
    Starting concurrent manager for ABP ...
    Starting ABP_0401@ABP Internal Concurrent Manager Default printer is noprint
    adcmctl.sh: exiting with status 0
    .end std out.
    .end err out.
    Executing service control script:
    /ERPABP/APPL/abpcomn/admin/scripts/ABP_babtain-erp/adfrmctl.sh start script returned:
    You are running adfrmctl.sh version 115.37
    Starting forms server for ABP on port 9003.
    adfrmctl.sh: exiting with status 0
    .end std out.
    .end err out.
    Executing service control script:
    /ERPABP/APPL/abpcomn/admin/scripts/ABP_babtain-erp/adrepctl.sh start script returned:
    You are running adrepctl.sh version 115.32
    starting Reports Server for ABP on port 7003.
    adrepctl.sh: exiting with status 0
    .end std out.
    .end err out.
    Executing service control script:
    /ERPABP/APPL/abpcomn/admin/scripts/ABP_babtain-erp/adfmcctl.sh start script returned:
    You are running adfmcctl.sh version 115.19
    Starting forms load balancing client for ABP.
    adfmcctl.sh: exiting with status 0
    .end std out.
    .end err out.
    Executing service control script:
    /ERPABP/APPL/abpcomn/admin/scripts/ABP_babtain-erp/adfmsctl.sh start script returned:
    You are running adfmsctl.sh version 115.15
    starting forms metrics server for ABP.
    adfmsctl.sh: exiting with status 0
    .end std out.
    .end err out.
    Executing service control script:
    /ERPABP/APPL/abpcomn/admin/scripts/ABP_babtain-erp/jtffmctl.sh start script returned:
    You are running jtffmctl.sh version 115.16
    Validating Fulfillment patch level via /ERPABP/APPL/abpcomn/java Fulfillment patch level validated.
    Starting Fulfillment Server for ABP on port 9303 ...
    jtffmctl.sh: exiting with status 0
    .end std out.
    .end err out.
    All enabled services for this node are started.
    Check logfile /ERPABP/APPL/abpcomn/admin/log/ABP_babtain-erp/04010505.log for details
    Exiting with status 0
    MWA Telnet Server Release: 1.0.8.4 [December 12th 2002] Mon Apr 1 05:06:01 SAUST 2013
    9653.50     /store/abp/data/data_abpdata_010413.tgz
    1089.50     /store/abp/data/datadev_abpdata_010413.tgz
    0.04     /store/abp/data/mkctrl.sql
    13309.38     /store/abp/data/sys_abpdata_010413.tgz
    1000.25     /store/abp/data/sysdev_abpdata_010413.tgz
    Mon Apr 1 05:06:01 SAUST 2013
    #######################################################################################################################

  • Contact your help desk with this information: cannot create connection file "CitrixID"

    Has anyone overcome an issue with logging in to a Citrix server and getting the following message: Contact your help desk with this information: cannot create connection file “CitrixID”? I can log on, but once logged in, the apps available to me will not launch.  All worked fine before I upgraded to OS X Mavericks. I do a lot of foreign travel and Citrix kept me connected to the office. Unfortunately, our IT team aren't really "Mac Guys" so they are just as perplexed as I am. I have deleted and deleted Citrix Receiver several times as posts on other sites recommended, but to no avail.

    There are some discussions on the citrix forum that may help if you haven't already seen them. Here are two and there are likely more:
    http://discussions.citrix.com/topic/325359-reciever-117-cannot-write-connection- file-usersnamelibraryapplication-supportcitrix-receivermodules/
    http://discussions.citrix.com/topic/302900-reciever-1143-cannot-write-connection -file-userschristinalibraryapplication-supportcitrix-receivermodules-error-numbe r-30/

  • RMAN via OEM: Skipping days with incremental backups

    Hello,
    I've searched the forums and browsed much of the documentation on OTN but have not found the answer to my question. I am using RMAN (through Oracle Enterprise Manager) to schedule backups. I want to get full database backups on Fridays and incrementals Monday through Thursday. I would like to have the backups running at 11 PM each night. I have scheduled the full database backups to occur every Friday. The problem is I cannot schedule the incrementals to skip Fridays, Saturdays and Sundays. I don't want incrementals on Friday since the full database backup will be running. No transactions are occurring on Saturday or Sunday so there is no need to backup on those days either.
    Thank you for any help,
    Paul Lohr

    You have had issues with FileID 74 earlier
    [RMAN] problem with registering database
    DATAFILE RECOVER STATUS
    and now with FileID 75 ?
    Bring in Oracle Support. Log an SR. Ask for ACS onsite. Don't use forums.oracle.com for such issues.
    Hemant K Chitale
    Edited by: Hemant K Chitale on Feb 11, 2011 10:49 AM

  • RECOVER IMAGE COPY WITH INCRMENTAL BACKUP

    dear all
    i want to know what this comand do
    recover copy of datafile 4 with tag ' ';
    is this when take backup copy to datafile and i have incremental backup
    when corruption occurs i write this command
    instead of restore and recovery only this command is make the restore and applay incremental backup ???
    MANY THANKS

    there are some recovery scenarios.
    1- If you lost all datafiles
    SQL> startup mount;
    RMAN> restore database;
    RMAN> recover database;
    SQL> alter database open;
    2- if you lost a tablespace
    SQL> alter tablespace users offline;
    RMAN> restore tablespace users;
    RMAN> recover tablespace users;
    SQL> alter tablespace users online;
    if you can not offline tablespace then
    $ sqlplus “/ as sysdba”
    SQL> shutdown abort;
    SQL> startup mount;
    $ rman target / catalog_user/ catalog_user_password@catalogdb
    RMAN> restore tablespace users;
    RMAN> recover tablespace users;
    SQL> alter database open;
    3- if you lost a datafile
    SQL> alter database datafile '/oracle/oradata/users.dbf' offline;
    RMAN> restore datafile '/oracle/oradata/users.dbf'
    RMAN> recover datafile '/oracle/oradata/users.dbf'
    SQL> alter database datafile '/oracle/oradata/users.dbf' online;
    if you cannot offline datafile then
    $ sqlplus “/ as sysdba”
    SQL> shutdown abort;
    SQL> startup mount;
    $ rman target / catalog_user/ catalog_user_password@catalogdb
    RMAN> restore datafile '/oracle/oradata/users.dbf';
    RMAN> recover datafile '/oracle/oradata/users.dbf';
    SQL> alter database open;
    4- if you lost your controlfile
    $ sqlplus “/ as sysdba”
    SQL> shutdown abort;
    SQL> startup nomount;
    $ rman target / catalog_user/ catalog_user_password@catalogdb
    RMAN> set dbid = 3970640872;
    RMAN> restore controlfile;
    SQL> alter database mount;
    SQL> alter database open;
    you will receive an error ORA-01589 when you open database
    ORA-01589: must use RESETLOGS or NORESETLOGS option for database open
    In this situation you must do;
    SQL> shutdown abort;
    SQL> startup mount;
    $ rman target / catalog_user/ catalog_user_password@catalogdb
    RMAN> recover database;
    SQL> alter database open resetlogs;
    RMAN> reset database;
    if you open database with resetlogs, SCN number will be zero. In this situation all previous backups will be invalid. You must full backup.
    5- May be a special situation. You need to incomplete recovery.
    A. Time-Based incomplete recovery;
    $ sqlplus "/ as sysdba"
    SQL> shutdown abort;
    SQL> startup mount;
    $ rman target / catalog_user/ catalog_user_password@catalogdb
    RMAN> restore database until time "to_date('06/05/11 12:0:00','DD/MM/YY HH24:MI:SS')";
    RMAN> recover database until time "to_date('06/05/11 12:0:00','DD/MM/YY HH24:MI:SS')";
    SQL> alter database open resetlogs;
    B. SCN-Based incomplete recovery;
    $ sqlplus "/ as sysdba"
    SQL> shutdown abort;
    SQL> startup mount;
    $ rman target / catalog_user/ catalog_user_password@catalogdb
    RMAN> restore database until scn 1000;
    RMAN> recover database until scn 1000;
    SQL> alter database open resetlogs;
    C. archive log sequence based incomplete recovery;
    $ sqlplus "/ as sysdba"
    SQL> shutdown abort;
    SQL> startup mount;
    $ rman target / catalog_user/ catalog_user_password@catalogdb
    RMAN> restore database until sequence 9923;
    RMAN> recover database until sequence 9923;
    SQL> alter database open resetlogs;
    6- if you need some archive logs in your backup
    $ rman target / catalog_user/ catalog_user_password@catalogdb
    RMAN> restore ARCHIVELOG FROM TIME 'SYSDATE-1' UNTIL TIME 'SYSDATE';
    Or
    RMAN> restore ARCHIVELOG FROM TIME "to_date('07/11/05 00:00:01','MM/DD/YY HH24:MI:SS')
    UNTIL TIME 'SYSDATE';
    7- if your data block is corrupted you will receive an error below.
    Hata:
    ORA-01578: ORACLE data block corrupted (file # 8, block # 13)
    ORA-01110: data file 8: '/oracle/oradata/users.dbf'
    for recover data block;
    $ rman target / catalog_user/ catalog_user_password@catalogdb
    RMAN>blockrecover datafile 8 block 13;
    For Block-Level Media Recovery - Concept & Example (Doc ID 144911.1)
    8- if you have a image copy backup and your datafile number 2 has problems then you can switch datafile number2 to image copy.
    RMAN>sql ‘alter database datafile 2 offline’;
    RMAN>switch datafile 2 to copy;
    RMAN>recover datafile 2;
    RMAN>sql ‘alter database datafile 2 online’;

  • RMAN backups running slow with Catalog , Running fine using control file.

    I am facing a weird scenario
    RMAN backups are running fine with Control file but are failing using Catalog
    There are other databases configured on the same catalog and they are running fine leaves us to suspect this is issue with Database.
    Can you please suggest what need to be checked in such scenario
    DB: 11.2.0.2
    OS: Aix 6.1
    Catalog : 11.2.0.2

    Hi,
    Basically its not only with backups, simple list incarnation also taking a lot of timeDo sql tracing on your catalog session and target db session while running the 'list incarnation' command for your problem dbs and a normal dbs.
    Regards,
    Tycho

  • Problems creating control file in RMAN duplicate database

    There is so much detail involved in this operation that I don't know what might be useful, so I'll start simple. I'm attempting to clone a database on the same host using RMAN "duplicate database". I finally got all the setup done, the OS authentication hurdles hurdled, etc. and entered the command:
    duplicate target database to COPYCH2M until time "to_date('March 15 2012 12:00:00', 'Mon DD YYYY HH24:MI:SS')";
    The first time I got:
    ORA-19504: failed to create file "/u01/app/oracle/oradata/COPYCH2M/control01.ctl"
    ORA-27040: file create error, unable to create file
    Linux-x86_64 Error: 2: No such file or directory
    There was nothing in the Oracle instructions about manually creating the directory, but I did so, thinking that might be the problem. And it created the control files! But then I got the following:
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 05/21/2012 15:59:25
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-06136: ORACLE error from auxiliary database: ORA-00201: control file version 11.2.0.0.0 incompatible with ORACLE version 11.1.0.1.0
    ORA-00202: control file: '/u01/app/oracle/oradata/COPYCH2M/control01.ctl'
    Sounds straightforward, if frustrating, right? Apparently you can't duplicate a database that's not in the exact same version. But:
    1) The backuppiece we got the control file from was from last November.
    2) The version of Oracle has not been updated since that time.
    How can a file created by this version be incompatible with this version? Where is it even getting 11.1?
    Thanks, I'm hoping this is easy but I can post more info if needed.

    >
    There was nothing in the Oracle instructions about manually creating the directory, but I did so, thinking that might be the problem. And it created the control files! But then I got the following:
    >
    The database is limited as to what it can create. Since you defined where you wanted the controlfiles to go (pfile/spfile), it's up to you to make sure the directory is valid and exists. :)
    >
    How can a file created by this version be incompatible with this version? Where is it even getting 11.1?
    >
    As for your controlfiles, make sure the compatible parameter is set the same on both the source and the target unless you are using the default (11.1.0.1 for you, and you aren't)
    Keep going, you'll get there. RMAN duplicate is a great feature.
    Good luck.

  • Only a cold datafile backup. No control files, redo files, archived redo

    Hi everyone,
    I made a stupid mistake and am in a bad condition with only a cold database backup without control files, redo files and archived redo files. My oracle database is oracle 9i. Is there any way to get my data back?
    Thanks,
    Yanping

    Hi,
    Have you a backup trace of a Control File ??
    You can try perform this:
    eg:
    oracle@linux:/u01> cp -a /backup/*.dbf /u01/oradata/DB01
    oracle@linux:~> sqlplus
    SQL*Plus: Release 9.2.0.4.0 - Production on Mon Sep 18 21:35:04 2006
    Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.
    Enter user-name: / as sysdba
    Connected to an idle instance.
    SQL> startup nomount
    ORACLE instance started.
    Total System Global Area   93394180 bytes
    Fixed Size                   451844 bytes
    Variable Size              67108864 bytes
    Database Buffers           25165824 bytes
    Redo Buffers                 667648 bytes
    SQL>CREATE CONTROLFILE REUSE DATABASE "DB01" RESETLOGS  ARCHIVELOG
        MAXLOGFILES 3
        MAXLOGMEMBERS 2
        MAXDATAFILES 10
        MAXINSTANCES 1
        MAXLOGHISTORY 226
    LOGFILE
      GROUP 1 '/u01/oradata/DB01/redo01.log'  SIZE 500K,
      GROUP 2 '/u01/oradata/DB01/redo02.log'  SIZE 500K,
      GROUP 3 '/u01/oradata/DB01/redo03.log'  SIZE 500K
    DATAFILE
      '/u01/oradata/DB01/system01.dbf',
      '/u01/oradata/DB01/undotbs01.dbf',
      '/u01/oradata/DB01/indx01.dbf',
      '/u01/oradata/DB01/tools01.dbf',
      '/u01/oradata/DB01/users01.dbf'
    CHARACTER SET WE8ISO8859P1;
    Control file created.
    SQL> alter database open resetlogs;
    Database altered.
    SQL> ALTER TABLESPACE TEMP ADD TEMPFILE '/u01/oradata/BDRPS/temp01.dbf' SIZE 5242880 REUSE AUTOEXTEND OFF;
    Tablespace altered.
    SQL> select * from v$controlfile;
    STATUS  NAME
            /u01/oradata/DB01/control01.ctl
            /u01/oradata/DB01/control02.ctl
            /u01/oradata/DB01/control03.ctl
    SQL> select * from v$logfile;
        GROUP# STATUS  TYPE    MEMBER
             3         ONLINE  /u01/oradata/DB01/redo03.log
             2         ONLINE  /u01/oradata/DB01/redo02.log
             1         ONLINE  /u01/oradata/DB01/redo01.logCheers
    Message was edited by:
    Legatti

  • Problems creating control file (duplicated database)

    Hello,
    We're duplicated database but some datafiles weren't added on controlfile creation script, so I need to recreate controlfiles again with missed data files.
    I launched controlfile creation script but I get the following error:
    Oracle Server Manager Release 3.1.7.0.0 - Production
    Copyright (c) 1997, 1999, Oracle Corporation. All Rights Reserved.
    Oracle8i Enterprise Edition Release 8.1.7.4.0 - 64bit Production
    With the Partitioning option
    JServer Release 8.1.7.4.0 - 64bit Production
    SVRMGR> connect internal
    Connected.
    SVRMGR> @inicio.sql
    CREATE CONTROLFILE REUSE SET DATABASE "SPT" RESETLOGS NOARCHIVELOG
    ORA-01503: CREATE CONTROLFILE failed
    ORA-01161: database name SPC in file header does not match given name of SPT
    ORA-01110: data file 205: '/oracle/SPT/sapdata8/user2d_1/user2d.data1'
    SVRMGR>
    Problems are just with missed datafiles.
    Should I REUSE or just SET database?
    Thanks in advance for your help.
    Regards,
    Carles

    >
    There was nothing in the Oracle instructions about manually creating the directory, but I did so, thinking that might be the problem. And it created the control files! But then I got the following:
    >
    The database is limited as to what it can create. Since you defined where you wanted the controlfiles to go (pfile/spfile), it's up to you to make sure the directory is valid and exists. :)
    >
    How can a file created by this version be incompatible with this version? Where is it even getting 11.1?
    >
    As for your controlfiles, make sure the compatible parameter is set the same on both the source and the target unless you are using the default (11.1.0.1 for you, and you aren't)
    Keep going, you'll get there. RMAN duplicate is a great feature.
    Good luck.

  • Search multiple folders for files with same name and create single file

     I have a project where I need to search multiple folders for a file name and when found append data from each file to a single input file.
     Example
    root folder to start search
    \\servera\sales
    \\servera\it\salesa\cmmstr.txt
    \\servera\it\salesb\cmmstr.txt
    \\servera\it\salesc\cmmstr.txt
     I need to create a a single cmmstr.txt on the root folder. I would like it to be able to run this with parms to pass in folders to search and file names to search and single file name to create. I'm going to have a least 10 differnt files to
    search for and create output file for. The folders to search
    will somewhat be static.
     Thanks.

    I tested this out on my own seat and I think it should work for you. I wrote it as a function, all you have to do is pass the root folders you want to search and the file your looking for. The function will then search that directory and all sub directories
    for that file name. you will also have to provide it a file to append to, if the file dosen't exists the function will create it. If you run into an issues let me know and the links Mike
    Laughlin posted are a great resource.
    Function Search-Files{
    Param([String[]]$Locations, $SearchFor, $AppendTo)
    Begin
    If(-Not (Test-Path $AppendTo)){New-Item $AppendTo -ItemType File -Force}
    Process
    ForEach($Location in $Locations)
    $Files = Get-ChildItem -Path $Location -Filter $SearchFor -Recurse
    ForEach($File in $Files)
    Get-Content -Path $FIles.FullName | Out-File $AppendTo -Append
    End{}
    Search-Files -Locations "\\Server1\c$\Temp", "\\Server1\c$\Test1" -SearchFor "Install.cmd" -AppendTo "C:\Temp\Search.log"

  • Recover databases synchronized with CDC

    Hi,
    I need to define a mechanism with RMAN to backup two databases where information is copied from one to another by using Oracle Data Integrator CDC.
    How can I backup and recover both databases and it still sync?
    Thanks
    Homero

    HI Doug,
    I think I figured out what causes the error here.
    You are using a parallel medium for backup and restore.
    When you start the recovery e.g. via db_activate recover <MEDIUM NAME> you get a reply from the dbm server as soon as the first data stream has been completely  read.
    And since (obviously) not all of the parallel data streams (could be files, could be pipes) can be finished at the exact same point in time, there will always be pages left to be read when the first stream is done.
    That's exactly what the -8020 message tells you here.
    It says "Hey, the first data stream is done and there is still more to be read".
    But - you already started the other streams since they are part of the parallel medium.
    So there is no need at all to manually add them with recover_replace.
    Instead all you've to do is to wait until the rest of the data is processed.
    To tell the dbm server this the command [recover_ignore|http://maxdb.sap.com/doc/7_6/30/f7c7e35be311d4aa1500a0c9430730/content.htm] is used.
    Even more comfortable would be to use the AUTOIGNORE flag when starting the recovery.
    Finally, the best option would be not to perform the recovery via DBMCLI at all.
    Use the GUI tools. They have all the knowledge build in. They are simple and easy to use and give you all the options that you have with DBMCLI.
    regards,
    Lars

  • Recovering System datafile with no backup.

    Hello Everyone,
    I am simulating a scenario where in i lost a system datafile and i dint take any back up. The database i sin archive mode.Now i wanted to recover the database.I have googled everywhere and tried different things,but i am not able to recover it. can anybody please provide me a step by step process to recover the system datafile. DO we have to recreate the database?
    Thanks,
    ranz_bad

    ranz_dba wrote:
    Hello Everyone,
    I am simulating a scenario where in i lost a system datafile and i dint take any back up. The database i sin archive mode.Now i wanted to recover the database.I have googled everywhere and tried different things,but i am not able to recover it. can anybody please provide me a step by step process to recover the system datafile. DO we have to recreate the database? ranz_bad,
    :Please make sure that you read the docs before attempting to create issues as most of the issues are very well documented in the docs. For the recovery of the System tablespace, you need to have a backup and if you have only one datafile in the system tablespace or first dataflie of the System tablespace is lost, you can't get it through the create datafile clause.
    http://download.oracle.com/docs/cd/E11882_01/server.112/e10592/statements_1004.htm#i2079942
    HTH
    Aman....

  • Help Required with HD Backup

    Hi,
    A Friend of mine has a PC with windows on 2x Samsung 320gb HD's in Raid 0, one of the drives started to fail, so he put in his 1tb backup drive that he made a hd image using boot it dos software. He has now purchased 2x Corsair M4 128gb SSD's and made a volume Raid 0, when trying to backup from the 1tb drive the software says that a min hd of approx 320gb is required even though the total used on windows in only approx 140gb. and the new SSD volume is approx 240gb
    The software is by terrabyte.
    also when we did a hd tach with 1x ssd and 2x ssd the performance was similar, not mutch gain. I am not familiar with SSD or HD image backups so please advise. or is there any other software recomendations.
    Thanks

    Well most software imaging requires the same size as the source.  What in the
    world is the objective of a RAID 0 boot disk.  As has been said here while it
    may help load a program faster, it will not run the program faster
    Also HDtach is not a good benchmark for SSD's
    Bill Gehrke

Maybe you are looking for

  • Help! Desktop icons gone, no right click ... and Nautilus crashes!

    I have a fully upgraded Gnome-based system, and all of a sudden my desktop icons disappeared, clicking on the desktop does nothing, and every time I use Nautilus it crashes with the error (from bug report): Distribution: Unknown Gnome Release: 2.24.3

  • How do I fix -50 error message when syncing phoneon Windows 7?

    How do I fix -50 error message when syncing phone on Windows 7?

  • Is it better to daisy chain an apogee duet and external hdd or...

    ...setup an audio interface and external hdd to two separate bus ports? I ask because I going to be purchasing gear to set up my first home recording studio and I am torn between the MacBook Pro 15" and 17". The 17" comes with an Express Card slot (w

  • ASO Formula Correction

    Hi, Trying to convert a BSO formula to an ASO but getting an error like Error(1260052) - Syntax error in input MDX query on line 4 at token 'CASE' Membername1. could you please correct this formula. Thanks, UB BSO formula: "Membername1" (IF (@ISMBR (

  • Serialize ---- Proxy to Idoc scenario

    Hi Folks,             I m using Proxy to Idoc scenario and am trigerring proxy messages one after other from my function module on the outbound side. However sometimes idoc2 gets posted before idoc1. My requirement is that idoc2 to be processed only