RMAN Schedule dbconsole

Hi all,
I'm using oracle10g dbconsole for backup database in incremetal mode, but I want to do full backup database on weekend. The problem is I'm using bakcup facilitie from oracle dbconsole. I only can shedule backup for 1 day and repeat, but I can't exclude weekends for incrementally backup. Is there any form to schedule in "week day" format like crontab ??
Thanks a lot.
Edited by: user12070788 on 13-nov-2009 0:14

Hello,
RMAN is a powerfull tool and, EM DBconsole wizard is helpfull to configure your backup.
But sincerely and, it's just an advice from my own experience, it's so much better to make
simple RMAN backup script.
Then, you could execute your RMAN backup as you want (by crontab for instance).
You'll find bellow a link to a short documentation to start with RMAN, there're many samples of backup scripts:
--> http://download.oracle.com/docs/cd/B19306_01/backup.102/b14193.pdf
Hope it can help you.
Best regards,
Jean-Valentin
Edited by: Lubiez Jean-Valentin on Nov 14, 2009 6:10 AM

Similar Messages

  • Rman schedule

    Hi all,
    I'm working with an Enterprise edition 10.2.0.3 RAC version.
    I'm having an strange result after prepare my rman schedule. Here you can see my crontab:
    [oracle@eul0600515 ~]$ crontab -l
    # Oracle RMAN
    00 21 * * * /oracle/atlas/A9/bck_online.sh
    00 14 * * * /oracle/atlas/A9/bck_online_arch.sh
    From RMAN I have this different parameters:
    RMAN> show all;
    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 DISK; # default
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/oracle/backup/A9/control_auto_%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 CHANNEL 1 DEVICE TYPE DISK FORMAT '/oracle/backup/A9/archivelog_%d_%T_%u_s%s_p%p';
    CONFIGURE MAXSETSIZE TO UNLIMITED; # default
    CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
    CONFIGURE ENCRYPTION ALGORITHM 'AES256';
    CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/var/app/oracle/product/10.2.0/db_1/dbs/snapcf_A91.f'; # default
    I don't know the reason but, each day at midnight (2'00h), "something" is executing an archivelogs backup, as I can see on my destiny directory:
    -rw-r----- 1 oracle oinstall 259658240 Jun 14 02:13 archivelog_A9_20100614_cvlg63q6_s5535_p1
    How can I find the origin of this archives backup? Some have any idea about it?
    Regards,
    dbajug

    Hi Asif,
    I've take a look to all users crontab and I don't find nothing related with RMAN.
    Here you've the result of queries you've proposed, I see a full backup each day at 2'00h but at dba_scheduler_jobs nothing related with this call.
    SQL> r
    1* select owner, job_name, start_date from dba_scheduler_jobs
    OWNER JOB_NAME START_DATE
    SYS A9_STATS 29/07/09 00:00:00,000000 EUROPE/MADRID
    SYS SQLSCRIPT_8876935 18/07/08 15:01:13,772593 EUROPE/PARIS
    SYS SQLSCRIPT_5003043 21/07/08 13:59:35,617033 EUROPE/PARIS
    SYS AUTO_SPACE_ADVISOR_JOB
    SYS GATHER_STATS_JOB
    SYS FGR$AUTOPURGE_JOB 18/07/08 13:19:02,088659 EUROPE/PARIS
    SYS PURGE_LOG 17/07/08 03:00:00,900000 EUROPE/PARIS
    A9 WE_HIST
    A9 WD_HIST
    GREMIO WE_HIST
    GREMIO WD_HIST
    11 filas seleccionadas.
    SQL> select
    2 SESSION_KEY, INPUT_TYPE, STATUS,
    3 to_char(START_TIME,'mm/dd/yy hh24:mi') start_time,
    4 to_char(END_TIME,'mm/dd/yy hh24:mi') end_time,
    5 round((end_time-start_time)*1440,2) "Minutes"
    6 from V$RMAN_BACKUP_JOB_DETAILS
    7 order by session_key desc;
    SESSION_KEY INPUT_TYPE STATUS START_TIME END_TIME Minutes
    10536 DB FULL FAILED 06/14/10 02:00 06/14/10 02:13 13,5
    10529 DB FULL COMPLETED 06/13/10 21:00 06/13/10 22:13 73,18
    10524 ARCHIVELOG COMPLETED 06/13/10 14:00 06/13/10 14:00 ,72
    10519 DB FULL FAILED 06/13/10 02:00 06/13/10 02:13 12,88
    10512 DB FULL COMPLETED 06/12/10 21:00 06/12/10 22:13 73,23
    10507 ARCHIVELOG COMPLETED 06/12/10 14:00 06/12/10 14:01 ,88
    10502 DB FULL FAILED 06/12/10 02:00 06/12/10 02:12 12,68
    10495 DB FULL COMPLETED 06/11/10 21:00 06/11/10 22:22 82,53
    10490 ARCHIVELOG COMPLETED 06/11/10 14:00 06/11/10 14:03 3,62
    10485 DB FULL FAILED 06/11/10 02:00 06/11/10 02:14 14,5
    10478 DB FULL COMPLETED 06/10/10 21:00 06/10/10 22:11 71,17
    10473 ARCHIVELOG COMPLETED 06/10/10 14:00 06/10/10 14:03 3,1
    10468 DB FULL FAILED 06/10/10 02:00 06/10/10 02:14 14,05
    Some weeks ago, I launched the full backup with my crontab at 2'00h but, I've changed it to 21'00h.
    Regards,
    dbajug

  • Scheduling rman backup dbconsole

    Hi all,
    I'm using oracle10g dbconsole for backup database in incremetal mode, but I want to do full backup database on weekend. The problem is I'm using bakcup facilitie from oracle dbconsole. I only can shedule backup for 1 day and repeat, but I can't exclude weekends for incrementally backup. Is there any form to schedule in "week day" format like crontab ??
    Thanks a lot.

    As Deepak said you can plan a backup strategy defining one or more Full (as part of a backup strategy) and several incremental (depending from your stratgey and requirements) directly from dbconsole.
    Check custom backup and in the planning page choose Every Week.
    then will appear the day list and you can choose when you want to execute your job.

  • CRON JOb RMAN SCHEDULING

    Dear All
    I have an rman script that I am currently running manually as follows:
    run {
    allocate channel L25 type 'SBT_TAPE' format '<Direb_%u_%s_%p';
    backup
    (database include current controlfile);
    backup (archivelog all delete input);
    I would like to schedule this job to run every Sunday at 00:00. I understand that I can do this through a CRON job (I am using Solaris 8) however I am not sure how to do it. I was hoping somebody might be able to show me how to do this.
    Thanks in advance
    John

    If you want help more directly you can post your case here:
    Forums Home � Oracle Technology Network (OTN) � Technologies � Linux
    Generic Linux
    Joel P�rez

  • How to edit RMAN schedule script on OEM?

    I created a schedule backup script on RMAN using OEM. But I didin't include the log error clause in the script. But now I can't find in OEM where can I change the script. I found only where the script is showed.
    Someone could help me?

    You need to create new backup schedule with corrected script and remove the old one.

  • Oracle Database 11.2.0.1.0 CPU hit 100% on Windows 2008 R2 64 bit Hyper-V

    Oracle Environment Detail:
    Oracle Database Enterprise Edition :11.2.0.1.0 (NON RAC, No failsafe)
    O/S:     Windows 2008 R2 64 bit (6.1)
    Specifics: Virtual Server using Hyper-V
    Memory: 9 GB RAM
    Processor: E5540
    Specific about the issue:
    I have two database instance created on this server with ‘memory_target=3600M’ each.
    I am getting into an issue where I find NO activity on database except regular schedule job running using DBMS_SCHEDULER –
    •     Database FULL export DAILY schedule time 7 & 7:30 PM accordingly for both instance (takes about 15-20 mins each)
    •     Database FULL RMAN DAILY schedule time 9 & 10 PM accordingly for both instance (takes about 35-40 mins each)
    This was set up on Feb 25th 2011. Since then we have encounter CPU hit 100% TWICE in this system at around 8:30 PM (SAME TIME). Both database instance exports keep running and never finish. While RMAN schedule job has NO problem. Mostly everything runs every smoothly without any issue.
    Replicate the issue:
    I am unable to replicate this issue and do not know the cause of the issue.
    Work Around:
    Oracle services shutdown/Server reboot.
    Would anyone know about this issue? Have any information could help? This system will become production soon and want to make sure we have solution for this.
    Thanks in advance!

    I am finding that CPU hit 100% is very specific to Oracle 11.2.0.1.0 Export Utility (exp) used to take FULL database export. I understand Original Export is desupported from general use as of 11g but available for specific need.
    Have anyone faced this issue with 11.2.0.1.0 Export Utility (exp)? Please help.
    I have a need to use export utility which gives us migration options.
    Thanks!

  • Scheduler with RMAN script

    hi,
    i have the following RMAN script:
    /*daily.sh*/
    run {
    allocate channel ch1 device type disk format '/rman/%d_%T_%p_%U' maxpiecesize 1G;
    backup
    incremental level 1 cumulative
    database
    plus archivelog delete input;
    backup current controlfile;
    backup spfile;
    release channel ch1;
    and also have the following scheduler script:
    BEGIN
    DBMS_SCHEDULER.CREATE_JOB(
    job_name=>'BDOFFICE.INC_BACKUP',
    job_type => 'EXECUTABLE',
    job_action =>'/office/u01/daily.sh',
    start_date=>'28-NOV-06 02.18.00 PM',
    repeat_interval=>'TRUNC(SYSDATE+1)+14/24',
    /* after 1 days at 1:00 PM */
    comments => 'daily backup');
    END;
    how can i integrate these so that scheduler run the script automatically.
    plz give me the steps with example.
    thanks
    Message was edited by:
    bijitesh

    You can use the dbconsole to schedule your backup script. It is quite easy and you can have it show you the sql used to create the job.

  • How to schedule a expdp job on dbconsole 10g

    Hi all,
    is there any way to create a schedule expdp job to execute automatically all days on enterprise mananger 10g (dbconsole) ???
    Thanks
    Wander (Brazil)

    Hi,
    on dbconsol i get to schedule a job only to execute immediately or posteriorly, just one time, but I want that it run all day in a specific time.
    Wander(Brazil)

  • Schedule rman using cron job

    I have scheduled a cron job to take rman backup of database everyday at 4PM. But I see that the empty backup.log file is getting generated while the script is not running. If I run the backup.sh script manually then the backup is running fine. The following are the scripts and the crontab details,
    backup.sh script is as follows,
    cd /u01/app/oracle/rmanbkp
    rman target / <<EOF
    run
    allocate channel ch1 type disk format '/u01/app/oracle/rmanbkp/%d_%T_%s.bak';
    backup database;
    delete noprompt obsolete;
    exit;
    EOF
    while the output of 'crontab -l' is
    00 16 * * * /home/imsoracle/backup.sh > backup.log
    Backup is not happening, what is wrong in my settings. Please advise.

    Dear $ami Malik,
    There is another option that you can use for RMAN scripting as shown below;
    0 2 * * 2 export ORACLE_HOME=/oracle/product/10.2.0/db_1/ ;
    /oracle/product/10.2.0/db_1/bin/rman cmdfile /db/optima/archive/OPTPROD/RMAN/backup_full.sh
    log /db/optima/archive/OPTPROD/RMAN/backup_full.log
    vals2:/home/oracle#cat /db/optima/archive/OPTPROD/RMAN/backup_full.sh
    connect target sys/password@optprod
    backup database format '/db/optima/archive/OPTPROD/backupset/DB_FULL_%d_%t_%s_%p';
    backup archivelog all delete all input format '/db/optima/archive/OPTPROD/backupset/ARC_%d_%t_%s';
    exit;So you can construct such backup strategy with the cmdfile and log options of the recovery manager.
    Hope That Helps.
    Ogan

  • Schedule rman script in Windows 2003

    Oracle 10.2. I wrote a rman script and tried to schedule auto run in Windows 2003 server. I got this errors:
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00554: initialization of internal recovery manager package failed
    RMAN-04005: error from target database:
    ORA-12560: TNS:protocol adapter error
    The batch file name: rman_backup.bat
    content: rman target / cmdfile rman_backup.rcv log rman_backup.log
    Here is how I set it up:
    go to Control Panel>Scheduled Tasks>Add Scheduled Task, find rman_backup.bat, choose the run time and finish it. When asking for user name and password, I supply the user which is in oracle dba group.
    But when it run, it just produced the above error and won't run.
    Please advise
    S.
    in SQLnet.log
    fatal NI connect error 12560, connecting to:
    (DESCRIPTION=(ADDRESS=(PROTOCOL=BEQ)(PROGRAM=oracle)(ARGV0=oracleORCL)(ARGS='(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))'))(CONNECT_DATA=(SID=ORCL)(CID=(PROGRAM=D:\oracle\product\10.2.0\db_1\bin\rman.exe)(HOST=W3TY5Z203)(USER=WELC))))
    VERSION INFORMATION:
         TNS for 32-bit Windows: Version 10.2.0.4.0 - Production
         Oracle Bequeath NT Protocol Adapter for 32-bit Windows: Version 10.2.0.4.0 - Production
    Time: 30-MAR-2010 11:27:00
    Tracing not turned on.
    Tns error struct:
    ns main err code: 12560
    TNS-12560: TNS:protocol adapter error
    ns secondary err code: 0
    nt main err code: 530
    TNS-00530: Protocol adapter error
    nt secondary err code: 2
    nt OS err code: 0

    here is example of script we are using to backup database from windows scheduler:
    set oracle_home=d:\oracle\ora920
    set path=d:\perl\bin;d:\oracle\ora920\bin;c:\winnt;c:\WINDOWS\system32;
    set PERL5LIB=''
    set NLS_LANG=AMERICAN_AMERICA.WE8MSWIN1252
    set TNS_ADMIN=d:\oracle\ora920\network\admin
    d:
    cd \scripts
    set oracle_sid=car
    rman target sys/car_$z3br4 catalog rman/oemrp_pwd@oemrp @rman_level0_car.rman > rman_level0_car.log
    perl email_log.pl "RMAN Level 0 Log" d:\scripts\rman_level0_car.log CARthis script backing up 9i database. 10g and 11g database we backing up via EM grid control.
    You can change this script to backup 10g or 11g databses as well.

  • Schedule a crontab in rman catalog

    Hi,
    I am trying to schedule a crontab in rman catalog side but it wasn't work.
    I prepared a scripts and I dont know why it was not worked.
    Please can anyone tell me how can I schedule my crontab in rman.
    The scripts is this,
    00 01 * * 0 ksh /u01/app/oracle/product/10.2.0/bin/ora_rman.sh >/dev/null 2>&1
    vi ora_rman.sh
    ORACLE_SID=p001
    ORACLE_BASE=/orahome/p001
    ORACLE_HOME=$ORACLE_BASE/10.0.2
    PATH=$ORACLE_HOME/bin:$PATH
    $ORACLE_HOME/bin/rman catalog rman/rman target sys/sys$pwd@p001 /u01/app/oracle/product/10.2.0/bin/ora_rman.sh <<EOF
    run {
    backup incremental level 0 as compressed backupset database plus archivelog;
    delete noprompt archivelog all completed before 'sysdate-7';
    00 19 * * * ksh /u01/app/oracle/product/10.2.0/bin/ora01_rman.sh >/dev/null 2>&1
    vi ora01_rman.sh
    ORACLE_SID=p001
    ORACLE_BASE=/orahome/p001
    ORACLE_HOME=$ORACLE_BASE/10.0.2
    PATH=$ORACLE_HOME/bin:$PATH
    $ORACLE_HOME/bin/rman catalog rman/rman target sys/sys$pwd@p001 u01/app/oracle/product/10.2.0/bin/ora01_rman.sh <<EOF
    run {
    backup incremental level 1 as compressed backupset database plus archivelog;
    delete noprompt archivelog all completed before 'sysdate-7';
    waiting for your replies,
    Thanks & Regards

    Here's my working stuff:
    I use an .env file. Here's the crontab entry, script and env file.
    00 16 * * 0-6 /u01/app/oracle/dba_tool/PRIMARY/db_rman_full.sh > /tmp/PRIMARY_rmanfull.out
    #!/bin/bash
    # Name: db_rman_full.sh
    # Purpose: Database rman backup
    # Usage : db_rman_full <DBNAME>
    . /u01/app/oracle/dba_tool/env/PRIMARY.env
    echo "Starting RMAN..."
    $ORACLE_HOME/bin/rman target / catalog <catalog_user>/@<catalog_db> << EOF
    run { allocate channel d1 type disk;
    backup full as compressed backupset
    database plus archivelog;}
    crosscheck backup;
    delete noprompt ARCHIVELOG UNTIL TIME 'SYSDATE-5';
    DELETE noprompt BACKUP COMPLETED BEFORE 'SYSDATE-2' DEVICE TYPE DISK;
    exit
    EOF
    echo `date`
    echo
    echo 'RMAN Full on PRIMARY Complete'
    env
    ORACLE_BASE=/u01/app/oracle
    ULIMIT=unlimited
    ORACLE_SID=PRIMARY
    ORACLE_HOME=$ORACLE_BASE/product/11.2.0
    ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data
    LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib
    LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
    LIBPATH=$LD_LIBRARY_PATH:/usr/lib
    TNS_ADMIN=$ORACLE_HOME/network/admin
    PATH=$ORACLE_HOME/bin:$ORACLE_BASE/dba_tool/bin:/bin:/usr/bin:/usr/ccs/bin:/etc:/usr/sbin:/usr/ucb:$HOME/bin:/usr/bin/X11:/sbin:/usr/lbin:/GNU/bin/make:/u01/app/oracle/dba_tool/bin:/home/oracle/utils/SCRIPTS:/usr/local/bin:.
    export TERM=vt100
    export ORACLE_BASE ORACLE_SID ORACLE_TERM ULIMIT
    export ORACLE_HOME
    export LIBPATH LD_LIBRARY_PATH ORA_NLS33
    export TNS_ADMIN
    export PATH
    ----If you find this helpful please mark it so----

  • Scheduling jobs through dbconsole

    Just trying to clear my concepts about automating jobs, my understanding is we can automate jobs through crontjobs (on unix) /taskscheduler (on windows)
    The other option is DBMS_SCHEDULER.
    any jobs like RMAN backups or sql scripts running should show up in below query(they are not running through Scheduled Tasks (its window box)
    but i see few jobs & RMAN backups running on one db but i can't see them in this query, what i am missing?
    SQL> SELECT owner, job_name, enabled FROM dba_scheduler_jobs;
    OWNER JOB_NAME ENABL
    SYS AUTO_SPACE_ADVISOR_JOB TRUE
    SYS GATHER_STATS_JOB FALSE
    SYS FGR$AUTOPURGE_JOB FALSE
    SYS PURGE_LOG TRUE
    ORACLE_OCM MGMT_STATS_CONFIG_JOB TRUE
    ORACLE_OCM MGMT_CONFIG_JOB TRUE
    6 rows selected.
    Edited by: DBA2011 on Jun 21, 2012 9:09 AM

    DBA2011 wrote:
    Just trying to clear my concepts about automating jobs, my understanding is we can automate jobs through crontjobs (on unix) /taskscheduler (on windows)
    The other option is DBMS_SCHEDULER.
    any jobs like RMAN backups or sql scripts running should show up in below query(they are not running through Scheduled Tasks (its window box)
    but i see few jobs & RMAN backups running on one db but i can't see them in this query, what i am missing?
    SQL> SELECT owner, job_name, enabled FROM dba_scheduler_jobs;
    OWNER JOB_NAME ENABL
    SYS AUTO_SPACE_ADVISOR_JOB TRUE
    SYS GATHER_STATS_JOB FALSE
    SYS FGR$AUTOPURGE_JOB FALSE
    SYS PURGE_LOG TRUE
    ORACLE_OCM MGMT_STATS_CONFIG_JOB TRUE
    ORACLE_OCM MGMT_CONFIG_JOB TRUE
    6 rows selected.
    Edited by: DBA2011 on Jun 21, 2012 9:09 AMdepends on how the job was scheduled. You should also check DBA_JOBS.
    And of course, there is no guarantee the job you expect to see actually exists in database B just becaue it existsin database A .....

  • Scheduling Rman backup in windows

    Hi all,
    I need to configure backup in Rman using the task scheduler in windows. I have placed 2 scripts 1 is batch file and 2nd is sql file with the below contents. When i ran the batch file the process is only getting logged into RMAN prompt but not executing the sql statements, how can i schedule it?
    Version: 9i
    OS: Windows server 2003
    Bat file
    rman target=sys/oracle@orcl1
    @'d:\oracle\rman\backup.sql'
    sql file
    run
    backup archivelog all;
    delete noprompt obsolete;
    }

    user10724679 wrote:
    Hi all,
    I need to configure backup in Rman using the task scheduler in windows. I have placed 2 scripts 1 is batch file and 2nd is sql file with the below contents. When i ran the batch file the process is only getting logged into RMAN prompt but not executing the sql statements, how can i schedule it?
    Version: 9i
    OS: Windows server 2003
    Bat file
    rman target=sys/oracle@orcl1
    @'d:\oracle\rman\backup.sql'
    sql file
    run
    backup archivelog all;
    delete noprompt obsolete;
    }Change it like below and it will work
    Bat file
    rman target=sys/oracle@orcl1 @'d:\oracle\rman\backup.sql'

  • Using scheduler to directly execute rman script stored in recovery catalog

    Hi everyone, I usually automate my rman backups using either cron or dbms_scheduler to call my rman scripts stored in a NIX sh file.  Everything works fine but does anyone know how/if it's possible to call an rman script stored in the recovery catalog. Lets say I create a script in the catalog:
    RMAN> create script showall
    comment 'just an example for demonstration'
    SHOW ALL;
    Can I use dbms_scheduler to call that script directly? If so how and if not then how can I schedule this or any catalog stored script stored in the rman catalog.  Searched all over the place but everything seems to point to having to leave Oracle to call either a .sh or .bat file.
    Regards,
    Dave

    Hi Greg, think you are definately on the right track mate.  Based on what you put I found this at:
    http://www.oracle-base.com/articles/12c/scheduler-enhancements-12cr1.php
    It has the entire rman script in the pl/sql block but going to see if I can modify what's on that page and use what you put so instead of executing the entire script it will run something like:
    BEGIN
    DBMS_SCHEDULER.CREATE_JOB(
    job_name => 'RMAN_SHOW_ALL',
    job_type => 'EXECUTABLE',
    job_action => 'RMAN TARGET / CATALOG rman/password@ your_cat run {execute script showall;}'
    END;
    Or something similar with times etc for execution if possible as the mechanics are the same. Believe though that using the job_action parameter will be the answer and allow me to automate my daily etc backups at night.
    Will let you know once it's done and mark as correct answer.
    Dave

  • Rman Recovery using backup created using dbconsole

    Thanks for taking my questions. First, I see there is another person asking about rman recovery but I am hoping mine is not identical.
    BACKGROUND
    Archiving and flashback is on.
    Database is 11g.
    Full on-line database backup is done using dbconsole (oem) and includes control, spfile and archive logs.
    RECOVERY
    I am testing my recovery to a new serve.
    I installed oracle
    Restored a backupset from one backup to the new servers flashbackup area.
    Recovered the spfile ok
    Recovered the control file ok
    Found last seq number ok
    Restore database ok
    RECOVER DATABASE UNTIL SEQUENCE - NOT OK
    Error=DATAFILE 1 MUST BE RESTORED FROM BACKUP OLDER THAN SCN
    QUESTIONS
    Where did I go wrong?
    Could it be my rman backup didn't backup all necessary archive logs?
    How do I fix this and can I fix it using dbconsole?
    Also, is it still possible to fix the test server without loading any new files?
    Thanks!
    Kathie

    Hello,
    To answer your questions, it looks like your backup is out of sync with SCN for datafiles with your Oracle 11g database.
    What you need to do is first check the low SCN and current SCN for your database to that in your RMAN backup files.
    You can check backups in RMAN command line with
    RMAN> list backup;
    using target database control file instead of recovery catalog
    List of Backup Sets
    ===================
    BS Key Size Device Type Elapsed Time Completion Time
    1 349.08M DISK 00:01:14 24-JAN-08
    BP Key: 1 Status: AVAILABLE Compressed: NO Tag: TAG20080124T180119
    Piece Name: C:\ORACLE\FLASHBACK\ORCL\BACKUPSET\2008_01_24\O1_MF_ANNNN_TA
    G20080124T180119_3SLJQOFO_.BKP
    List of Archived Logs in backup set 1
    Thrd Seq Low SCN Low Time Next SCN Next Time
    1 1 1030802 04-JAN-08 1053767 05-JAN-08
    1 2 1053767 05-JAN-08 1104812 06-JAN-08
    Then open another prompt window and SQL*PLUS session as sysdba privileged account:
    SQL> select name, current_scn from v$database;
    NAME CURRENT_SCN
    ORCL 4089528
    You need to make sure that you are trying to restore database with RMAN with a backup for the SCN numbers that are older than the current database SCN in database or Oracle will complain.
    Enterprise Manager dbconsole will work but nothing beats the power of a command line.
    Use the automated repair options for the Oracle 11g Database Repair advisors.
    1. Connect to RMAN
    rman target=/
    RMAN> list failure;
    RMAN> repair failure preview;
    RMAN> repair failure;
    For more details, Arup Nanda has a good overview of RMAN with Oracle 11g:
    http://www.oracle.com/technology/pub/articles/oracle-database-11g-top-features/11g-rman.html
    Hope this helps you out.
    -Ben
    Cheers,
    Ben Prusinski
    http://oracle-magician.blogspot.com/

Maybe you are looking for

  • How to get photos off my iphone 4s that does not turn on

    i have nearly 2,000 photos on my iphone 4s, but my iphone just stopped working, wont turn on, i just really want the photos off thats all ive tried holding both buttons for ages and still nothing, can someone help me pls

  • SQL*Loader and "Variable length field was truncated"

    Hi, I'm experiencing this problem using SQL*Loader: Release 8.1.7.0.0 Here is my control file (it's actually split into separate control and data files, but the result is the same) LOAD DATA INFILE * APPEND INTO TABLE test FIELDS TERMINATED BY ',' OP

  • Easy question for someone...I hope

    I have an Edirol FA-66 interface. It's connected through fire wire to GB, GB recognizes this yet no levels come through a basic track...any thoughts?

  • Exception in JPA (NoClassDefFoundError: org/hibernate/AnnotationException)

    Hi, I´m having a serious problem when using JPA. I´m using Weblogic Server 10 and developing in Weblogic Workshop Studio. When I start the WLS in Workshop, all works fine, but when I use the "publish" over my WLS Server in Workshop because I change a

  • Dimmer control for LED lights with HTTP Requests

    Hello, I'm al little bit know with LabVIEW, but I have a problem that I can't get fixed. For a project we control the led lights in a house with http requests (we use the http get request): this exists of a http address, the number of the light, the