implement a RMAN script in a cron job with a cold way of database

Hello

I want to run the Rman script in a cron job. But my question is: is it possible to make a backup of cold with the editing of the database and change at the end of the backup?

here my sample rman script

#! / bin/ksh

export ORACLE_SID = test

ORACLE_HOME=/U01/app/Oracle/product/11.2.0/dbhome_1; Export ORACLE_HOME

PATH = / usr/sbin: $PATH: $ORACLE_HOME/bin. export PATH

ORACLE_HOME/bin/rman target = / < < EOF

Run {}

SQL! connect / as sysdba;

SQL! stop immediately;

SQL! Startup mount;

allocate channels ch1 disc type

disc format ' / u01/app/oracle/backup/full_%d_T%T_s%s_p%p'(database).

backup database archivelog;

remove obsolete;

output channel ch1

SQL! alter database open

}

"exit";

EXPRESSIONS OF FOLKLORE

Thank you

Hello

No problem, when you use the rman target / it to connect with the RMAN and RMAN fast turns. You can change your order something like that

#! / bin/ksh

export ORACLE_SID = test

ORACLE_HOME=/U01/app/Oracle/product/11.2.0/dbhome_1; Export ORACLE_HOME

PATH = / usr/sbin: $PATH: $ORACLE_HOME/bin. export PATH

ORACLE_HOME/bin/rman target = /.<>

Run {}

stop immediately;

bootable media;

allocate channels ch1 disc type

format ' / u01/app/oracle/backup/full_%d_T%T_s%s_p%p';

backup database archivelog;

remove obsolete;

output channel ch1.

ALTER database open;

}

"exit";

EXPRESSIONS OF FOLKLORE

HTH

Tags: Database

Similar Questions

  • The EM console has the feature archive / move logs area/application on a recurring basis as a cron job?

    Our client has determined they want the server to backup/archive/move logs regularly and need to know if the EM console has built-in features to the app itself archive/move/backup of these files on a regular basis as would a cron job.  If so, what are the steps in the console 'EM to do?

    Any comments would be greatly appreciated.

    Thank you!

    Hello

    There are several ways to reach these

    (1) If you already have a script as a cron Job, which can be automated by practice below.

    OEM--> business--> Job--> library--> create OS command ' use of the library-->

    In parameter--> choose the command type as script--> and use your script. (If you change the interpreter for usage on the host instead of the default, it is recommended to provide the full path (example: % perlbin %/perl))))

    (2) for backup Archives, as--> above, you can create job of the RMAN SCript library

    Or

    backup archives page 2) go to the database ==> "Availability", "Backup and recovery", "Backup settings" (in the location of backup of configuration etc.) and 'Recovery catalog settings' (to register for production DB in the catalog DB).

    Then you can customize the following scheduled backup:

    Go to 'Schedule backups', 'tailor-made backup', follow the full hot backup schedule screen.

    Please follow the link for more information below

    http://docs.Oracle.com/CD/E24628_01/doc.121/e24473/jobs.htm#EMADM9238

    11.3 creating jobs

    Your first task in creating a job from the job activity page is to choose a job type, resulting in the following section, Select a Type of job. The more typical kinds of work are the OS command jobs, script and multitasking works, which are explained in the following sections:

    Concerning

    Krishnan

  • All cron jobs are executed by the root?

    OS: Sun OS 5.10

    I have planned an RMAN backup script that had only one line as
    rman target .............
    I logged on as user oracle os and run this script without any problems. But when I planned this job to run, it did not work.


    I got the error
    /u05/bkp_scripts/rman-level0_WM.sh: rman: not found
    The hull could not find rman binary on the WAY. Everything worked when I put explicitly ORACLE_HOME, ORACLE_SID, path in the shell script.
    This means a cron jobs scheduled per OS user oracle will always work unless you set set ORACLE_HOME, ORACLE_SID, path in shell script?

    Cron tasks is run by root user regardless of who he planned?

    Kamran certainly gave you the right answer.

    Your script runs outside the cron because it uses your environment of sessions

    Cron at least should ORACLE_BASE, ORACLE_SID, ORACLE_HOME, and probably the PATH starts to work.

    Use 'env' in the Linux/Unix command prompt to check your settings

    Build you an environment file and call it like this:

    #! / bin/bash
    #.................................................
    # Name: db_rman_full.sh
    # Purpose: Rman backup
    # Usage: db_rman_full
    #..................................................
    #

    If ["$1"]
    then DBNAME = $1
    on the other
    echo ' basename $0: syntax error: use.» db_rman_full .
    Output 1
    FI

    . /U01/app/Oracle/dba_tool/env/${dbname}.env

    ECHO ' from RMAN... »
    Target of $ORACLE_HOME/bin/rman / catalogue /@r<>

    ....

    Either way, it is a good place to ask this question. Oracle is simply an environment that runs on Unix.

  • Using the Scheduler to run the rman script directly stored in the recovery catalog

    Hi everyone, I usually automate my backups rman, using either cron or dbms_scheduler to call my stored in a sh file NIX rman scripts.  Everything works fine but anyone know how / if it is possible to call a stored in the recovery catalog rman script. Let's say I have create a script in the catalog:

    RMAN > create script showall

    Comment "just one example of demonstration."

    {

    VIEW ALL;

    }

    Can I use dbms_scheduler to call this script directly? If Yes, how and if not then how can we plan for this or a stored script stored in the rman catalog catalog.  Been looking all over the place, but everything seems to indicate leaving Oracle to call .sh or .bat file.

    Kind regards

    Dave

    Well, let us know the result.

    The link you supplied refers to 12 c Scheduler improvements it seems, it may not be applicable to lower versions of Oracle.

  • understanding the order of the commands in the RMAN script

    I just started working at a new job and prior s/n had left until I'm there. I'm looking at the RMAN script to back up the database of the single instance 11 GR 2 and I do not understand what is the need of two commands 'backup duplication "? Would it not be prudent to also have a command of "overlap of the archivelog backup all ' as well? In addition, what is the point of having the command "Restore database overview" in the daily backup script?


    run
    {
    cross-checking of backup;
    retrieve the copy of the database with the tag "ORA OEM_LVL1_ILANDB_PRIM$ ' until ' SYSDATE-1';
    backup incremental level 1 to retrieve the copy with the tag "ORA$ OEM_LVL1_ILANDB_PRIM" database more archivelog delete all entries;
    delete noprompt obsolete;
    Overview of database restore;
    cross-checking of backup;
    }

    Hello again;

    These jump out of me.

    CONFIGURE REDUNDANCY 1 RETENTION STRATEGY; (too low would set to minus 2 and would consider higher)
    CONFIGURE EXCLUDE THEM FOR TABLESPACE "WEBTASK_DATA"; (Consider removing unless you have good reasons for maintaining)
    CONFIGURE THE NONE ARCHIVELOG DELETION POLICY; (Review based on your configuration - for Data Guard may be different)

    STRATEGY OF RETENTION may be based on redundancy or a window of recovery. For redundancy, I like 2 or 3, for recovery window I like 7.

    Best regards

    mseberg

  • Help with newsletter PHP Mail script for mySQL / cron

    I'm just trying to set up a PHP script to send emails as a cron job.

    It's pretty much seems to work, but I can't do both.

    The first part is to send emails, and the second is to send a notification by e-mail to the owner of the site, confirming that the emails have been sent.

    The script looks like:

    ------------------

    <? PHP

    include_once "connect_to_mysql.php";

    $sql = mysql_query ("SELECT name user, E-mail"), Newsletter_Received from users WHERE Firstname = 'test' LIMIT 20;

    $numRows = mysql_num_rows ($sql);

    $mail_body = ";

    While ($row = {mysql_fetch_array ($sql))}

    $id = $row ['UserID'];

    $email = $row ['email'];

    $name = $row ["Firstname"];

    $mail_body = ' test - please ignore ';

    $subject = 'safari price Newsletter. "

    $headers = "from: ". " [email protected] \r\n";

    $headers. = "content-type: text/html\r\n";

    $to = "$email";

    $mail_result = mail ($ $subject, $mail_body, $headers);

    If {($mail_result)

    mysql_query ("UPDATE users SET Newsletter_Received = '1' WHERE Email = '$email' LIMIT 20");

    } else {}

    }

    }

    ? >

    <? PHP

    If ($numRows == 0) {}

    $subj = sent "Newsletter."

    $body = "news bulletin was sent to everyone.';

    $hdr = "from: ". " [email protected] \r\n";

    $hdr. = "content-type: text/html\r\n";

    mail ("[email protected]", $subj, $body, $hdr);

    }

    ? >

    --------------

    Essentially with the line

    include_once "connect_to_mysql.php";

    included, it sends the emails according to the SELECT query, but don't send email «Sent Newsletter»

    But if I take this line, of course, it does not send e-mails under the SELECT query, but it sends the email "Newsletter sent.

    Any suggestions on what might need to change for him to do both would be much appreciated!

    Thank you.

    Change this line-

    If ($numRows == 0) {}

    on this subject.

    If {($mail_result)

  • Cron job

    Hi guys,.

    I rose my whole environment up and running, I can manually create backups with ghettoVCBg2.pl and it works perfectly.

    The only thing I want to do now, is to do a cron job.

    I tested the function cron with the addition of a simple task in/etc/crontab:

    * / 1 * root wall test

    It works very well, every minute, I get the message 'test' in my console.

    I can also add this to/etc/crontab:

    * / 1 * root /home/vi-admin/test.sh

    I made the file test.sh, it is what is in the file:

    test wall

    still, I get the message 'test' in my console.

    Now the problem...

    When I edit/etc/crontab with this:

    * / 1 * root /home/vi-admin/ghettoVCBg2.pl--vmlist nag001 - dryrun 1

    Nothing runs, I als tried to put the nag001 commande./ghettoVCBg2.pl--vmlist - dryrun 1 into a file called test.sh... after that I have edited/etc/crontab with:

    * / 1 * root /home/vi-admin/test.sh

    Yet once, nothing does.

    When I look at "sudo nano/etc/crontab" I see:

    crond [12611]: module: pam_lsass (root) CMD (/ home/vi-admin/test/sh)

    crond [12611]: module: pam_lsass pam_sm_acct_mgmt doesn't have a login: root error code: 2

    crond [12611]: module: pam_lsass pam_sm_close_session error error code: 2

    BTW: I also tried to modify/etc/crontab with:

    * / 1 * /home/vi-admin/test.sh vi-admin

    and

    * / 1 * vi - admin /home/vi-admin/ghettoVCBg2.sh vmlist - nag001 - dryrun 1

    I have more knowledge here...

    TNX in advance

    Jim

    Apparently, I could repeat the problem and solve it

    Change backup.sh (script from cron for) in the following way

    #!/bin/bash
    #
    LD_LIBRARY_PATH=/opt/vmware/vma/lib64:/opt/vmware/vma/lib
    export LD_LIBRARY_PATH
    PATH=/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/java/jre-vmware/bin:/sbin:/usr/sbin:/home/vi-admin/bin
    export PATH
    cd /home/vi-admin/
    /home/vi-admin/ghettoVCBg2.pl --vmlist list --dryrun 1
    

    If running "sudo backup.sh" completes without error, you can insert call backup.sh in crontab

  • How to clear a Cached region of pl/sql a cron job?

    How can I clear a region cached pl/sql running in a cron job? The APEX_UTIL.functions seem to work only in an apex application.

    Request Express 4.2.3.00.08.

    Thank you

    Thanks for the reply of Nicole.

    Yes, but I was trying to avoid getting the date of the cache for all regions cached and then questioning the last run_date from crowd on each page. (Many pages with many parts per page) Seems like a lot of overhead and coding.

    Instead, I now update batch job a flag 'CLEAR_CACHE' to 'YES' on a table of the package log when employment ends. Then added the process to each page to check the flag. If the flag is 'YES' then purge all regions and set the flag to "NO".

    Rob

  • Error in the configuration of RMAN script for physical Standby creation

    Version of database - Oracle Database 11g Enterprise Edition Release 11.2.0.1.0

    I do creating waiting using physics 'RMAN duplicate script.

    The standby db is in nomount State.

    But when you connect to the primary database of standby DB to run the RMAN script on the backup server, I get the below error: -.

    [oracle@manu ~] $ rman target sys/oracle@orcl auxiliary sys/oracle@ORCL_STBY path = duplicate.trc

    Recovery Manager: release 11.2.0.1.0 - Production on Fri Jan 18 13:13:11 2013

    Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.

    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-00554: initialization of the package manager internal collection failed
    RMAN-04005: target database error:
    ORA-01031: insufficient privileges


    I checked a few password file is to say things as db and Eve tnsnames.ora and listener.ora primary in both primary and standby, everything seems perfect.

    Can someone help me find the real problem?

    All tips/ideas would be very appreciated

    Published by: 918868 on January 18, 2013 12:25 AM

    Published by: 918868 on January 18, 2013 12:27 AM

    Hello;

    I don't know I would use sqlplus to solve a problem of RMAN. At the end of the day, you still have to use RMAN to connect.

    You can debug by taking:

    rman target sys/oracle@orcl auxiliary sys/oracle@ORCL_STBY trace=duplicate.trc
    

    And then just try:

    rman target sys/oracle@orcl 
    

    Assuming this works, you can refine the RMAN connection problem.

    Connection string your RMAN:

    rman target sys/oracle@orcl auxiliary sys/oracle@ORCL_STBY trace=duplicate.trc
    

    Is different from the ones I use:

    rman target sys/password@PRIMARY auxiliary /
    
    OR
    
    rman target=sys/password@primary auxiliary=sys/password@standby
    

    In addition, you must have a static entry on the side of the day before, so you have something to connect to:

    Example of

    LISTENER =
        (DESCRIPTION_LIST =
          (DESCRIPTION =
            (ADDRESS = (PROTOCOL = TCP)(HOST = )(PORT = 1521))
          )
        )
    
    SID_LIST_LISTENER =
        (SID_LIST =
          (SID_DESC =
          (global_dbname = STANDBY_DGMGRL.hostname)
          (ORACLE_HOME = /u01/app/oracle/product/11.2.0.2)
          (sid_name = STANDBY)
          )
          (SID_DESC =
          (global_dbname = STANDBY.hostname)
          (ORACLE_HOME = /u01/app/oracle/product/11.2.0.2)
          (sid_name = STANDBY)
    )
    

    The listener must be restarted to see this entry.

    The tnsnames.ora will also the entries for two databases as both sides need to connect.

    Keys to success

    1. new Eve started NOMOUNT on new password file. (So the watch is a current master password renames and then the database started in NOMOUNT use it)
    2. hard coded listener on the new standby server.
    3 fix the tnsnames.ora files.
    4 fix the command duplicate.

    Best regards

    mseberg

  • RMAN SCRIPT TO CLEAR THE BACKUP ITEMS MORE THAN 2 DAYS...

    Hello

    I take a full backup of the DB using RMAN script. The script is as below:

    grc_backup
    {allocate channel ch1 type disc format ' / home/oragrc/GRCbkup/rman_bkp/data/%T_%c_%s_%f';}
    backup database;
    SQL ' ALTER SYSTEM
    ARCHIVE LOG CURRENT ';
    change archivelog than any overlap;
    ARCHIVELOG backup all the format ' / home/oragrc/GRCbkup/rman_bkp/Archive/%T_al_%U.bck';
    current backup controlfile as ' / home/oragrc/GRCbkup/rman_bkp/%T_cf_%U.bck';
    }


    This script is supposed to run on a daily basis via an OS script.

    The problem is on a daily basis after the backup that I have to delete the backups more than 2 days. For this I use an OS script that finds the backups more than 2 days to find the command and deletes it. This script also removes the archivelogs over 2 days.

    I just know that it is not advisable to delete RMAN backups and archived logs OS command when using RMAN.

    I figured out the following script, I have changed the script and instance names are different please find below

    CONFIGURE REDUNDANCY 2 RETENTION STRATEGY;
    Configure type disk parallelism 1 backup compressed backupset device type;

    run
    {
    allocate channel d1 type disk;
    backup filesperset 5 ' format / u06/backup/EBSDEV/EBSDEV_data_t%t_s%s_p%p' database;
    SQL 'alter system archive log current';
    format of backup filesperset 20 ' / u06/backup/EBSDV3/EBSDV3_arch_t%t_s%s_p%p' all entered archivelog delete;
    backup format ' / u06/backup/EBSDEV/EBSDEV_control%U' current controlfile;
    backup spfile format ' / u06/backup/EBSDEV/EBSDEV_spfile_%U';
    SQL 'alter controlfile backup trace database as "/tmp/control.trc" re-use";

    OVERLAP BACKUPSET;
    DELETE NOPROMPT OBSOLETE;
    DELETE THE EXPIRED NOPROMPT BACKUP;
    }
    list summary backupset;
    "exit";

    Can someone suggest me this AM I correct...

    Yes.

    Note: The OVERLAP should be OVERLAPPING BACKUP.

    Hemant K Collette

  • cron job first Sunday of each month

    Hello
    I have a job to run the 1st Sunday of each month

    33 7 1,73,4,5,6,7 * 0

    but his run every Sunday and every 1st to the 7th of each month

    a little confused, I thought that all checks must return true for cron job

    Hello

    Please see this:

    http://www.linuxquestions.org/questions/linux-software-2/scheduling-a-cron-job-to-run-on-the-first-sunday-of-the-month-524720/
    

    HTH
    KK

  • Required removal of archives RMAN script

    Hello

    I need a shell script that will delete archivelog with rman and the archivelog backup will have to specified location. DB 10gr 2 OS RHEL 5 686.

    ARCHIVELOG backup all to destination ' / oracle/oracle /. Arch_bkp /';
    delete archivelog until the ' sysdate-10';

    Kind regards

    Published by: person not May 24, 2012 01:40

    Maybe something like this:

    #! / bin/sh
    export ORACLE_SID =
    RMAN target / nocatalog log bkup_log.txt<>
    ARCHIVELOG backup all to destination ' / oracle/oracle /. Arch_bkp /';
    delete archivelog until the ' sysdate-10';
    output
    EXPRESSIONS OF FOLKLORE

  • Exit RMAN script linux problem...

    Hi all

    I use 11.1.6.0 on linux centos... Here is the rman script (the name is rmanbackup.sh).

    RMAN target / < <-EOF
    SQL 'alter system archive log current';
    Run {}
    backup current controlfile;
    }
    output
    EXPRESSIONS OF FOLKLORE
    echo "complete script for rman backup.
    mkdir/home/oracle/backup_dir
    CP/home/oracle/backup_dir/home/oracle/backup_dir1

    When I run this, rman output script without executing the last orders 3 operating system.
    any help in this regard.

    Mseberg said, please try to score you questions answers, here's the answer:

    Add * #! / bin/ksh * in your script. also cp-r no cp

    [oracle@wissem ~]$ cat rmanbackup.sh
    #!/bin/ksh
    rman target / <<- EOF
    sql 'alter system archive log current';
    run {
    backup current controlfile;
    }
    exit
    EOF
    echo "script complete for rman backup"
    mkdir /home/oracle/backup_dir
    cp -r /home/oracle/backup_dir /home/oracle/backup_dir1
    
    [oracle@wissem ~]$ ./rmanbackup.sh 
    
    Recovery Manager: Release 11.2.0.1.0 - Production on Sun Aug 28 17:00:11 2011
    
    Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.
    
    connected to target database: ORAWISSE (DBID=3964208472)
    
    RMAN>
    using target database control file instead of recovery catalog
    sql statement: alter system archive log current
    
    RMAN> 2> 3>
    Starting backup at 28-AUG-11
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=149 device type=DISK
    channel ORA_DISK_1: starting full datafile backup set
    channel ORA_DISK_1: specifying datafile(s) in backup set
    including current control file in backup set
    channel ORA_DISK_1: starting piece 1 at 28-AUG-11
    channel ORA_DISK_1: finished piece 1 at 28-AUG-11
    piece handle=/home/oracle/app/oracle/flash_recovery_area/ORAWISSE/backupset/2011_08_28/o1_mf_ncnnf_TAG20110828T170014_75np001q_.bkp tag=TAG20110828T170014 comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:02
    Finished backup at 28-AUG-11
    
    RMAN> 
    
    Recovery Manager complete.
    script complete for rman backup
    [oracle@wissem ~]$ ls -rtl /home/oracle/backup_dir
    total 0
    [oracle@wissem ~]$ ls -rtl /home/oracle/backup_dir1/
    total 4
    drwxr-xr-x 2 oracle oinstall 4096 Aug 28 17:00 backup_dir
    [oracle@wissem ~]$ ls -rtl /home/oracle/backup_dir1/backup_dir/
    total 0
    
    [oracle@wissem ~]$ 
    
  • RMAN &amp; Configuration of RMAN script

    Dear all,

    This is the first time I'm with RMAN. I just wanted to run the RMAN script depending on the configuration of RMAN in order to test, for what is, I need to do before running this script below:
    RMAN > run {}
    stop immediately;
    bootable media;
    backup database;
    ALTER database open;
    }
    This is my current configuration of RMAN
    RMAN > show all.
    Database with db_unique_name DP RMAN configuration parameters are:
    CONFIGURE REDUNDANCY 1 RETENTION STRATEGY; # by default
    CONFIGURE BACKUP OPTIMIZATION # by default
    SET UP DEFAULT DISK DEVICE TYPE; # by default
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO "%F" # by default
    SET UP THE DEVICE TYPE DISK PARALLELISM 1 BACKUP BACKUPSET TYPE; # by default
    CONFIGURE BACKUP OF DATA TO DISK FILE TYPE DEVICE TO 1; # by default
    CONFIGURE BACKUP ARCHIVELOG FOR DEVICE TYPE DISK TO 1; # by default
    CONFIGURE THE FORMAT OF DISC TYPE CHANNEL DEVICE "E:\RMAN\";
    CONFIGURE MAXSETSIZE TO UNLIMITED; # by default
    CONFIGURE ENCRYPTION OF DATABASE # by default
    CONFIGURE THE ENCRYPTION ALGORITHM "AES128"; # by default
    CONFIGURE COMPRESSION ALGORITHM 'BASIC' AND 'DEFAULT' LIBERATION OPTIMIZE FOR TRUE LOAD; # by default
    CONFIGURE THE NONE ARCHIVELOG DELETION POLICY; # by default
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO ' E:\APP\10004\PRODUCT\11.2.0\DBHOME_1\DATABASE\SNCFDP. ORA'; by default #
    kindly advice me and give me a very clear study for this above settings

    Concerning
    HAMEED


    Once I execute this script I got this following error message:

    + RMAN > run {+
    + 2 > shutdown immediate; +
    + 3 > mountain boot; +
    + 4 > backup database; +
    + 5 > alter database open; +
    {+ 6 >}; +

    database closed
    dismounted database
    Instance Oracle to close

    connected to the database target (not started)
    Oracle instance started
    mounted database

    Total System Global Area 770019328 bytes

    Bytes of size 1374780 fixed
    301991364 variable size bytes
    461373440 of database buffers bytes
    Redo buffers 5279744 bytes

    From backup may 18, 11
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID = 134 type device = DISK
    channel ORA_DISK_1: starting full datafile from backup set
    channel ORA_DISK_1: specifying datafile (s) in the backup set
    Enter a file name 00006 = E:\APP\10004\ORADATA\DP\HAMEED01 = datafile number. DBF
    Enter a file name 00007 = E:\APP\10004\ORADATA\DP\ABDUL01 = datafile number. DBF
    Enter a number of file datafile = 00008 name = E:\APP\10004\ORADATA\DP\TEST01. DBF
    Enter a number of file datafile = 00001 name = E:\APP\10004\ORADATA\DP\SYSTEM01. DBF
    Enter a file name 00002 = E:\APP\10004\ORADATA\DP\SYSAUX01 = datafile number. DBF
    Enter a file 00005 name = E:\APP\10004\ORADATA\DP\EXAMPLE01 = datafile number. DBF
    Enter a number of file datafile = 00003 name = E:\APP\10004\ORADATA\DP\UNDOTBS01. DBF
    Enter a number of file datafile = 00004 name = E:\APP\10004\ORADATA\DP\USERS01. DBF
    channel ORA_DISK_1: starting piece 1 to 18 May 11
    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03009: failure of the backup command on the channel ORA_DISK_1 to 2011-05-18 17:22:30
    ORA-19504: cannot create the file 'E:\RMAN\ '.
    ORA-27038: created file already exists
    OSD-04010: < create > option specified, the file already exists

    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-00558: error occurred during parsing of order entry

    Published by: hamza on May 18, 2011 04:59

    CONFIGURE THE FORMAT OF DISC TYPE CHANNEL DEVICE "E:\RMAN\";

    Let's not setting up your chain. You must therefore run as

    CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT 'E:\RMAN\full_%U.bk';
    

    Then try again.

  • Cold backup RMAN script

    DB version: 10.2.0.4

    Can't you find something wrong in the below mentioned the cold backup RMAN script? Improvements, corrections?
    {
    shutdown immediate;
    startup mount;
    backup database including current controlfile tag='full_bkp';
    startup;
    crosscheck backup;
    delete noprompt obsolete device type disk;
    resync catalog;
    }

    Should work, but you can include more 'archivelog' in the backup statement in the case where your database is running in archivelog mode. It's also a good idea to make a backup of the trace of the controlfile using "sql" controlfile alter backup database to TRACE";"

Maybe you are looking for