RMAN backup script

OS windows 2000 server
database 9i
I am planning following script for backup of database.
run{
allocate channel ch1 type disk;
backup
format 'E:\oracle\backup\/%d_%s'
database plus archivelog delete input;
release channel ch1;
Want to overwrite the backup on every sunday on disk.
1.What changes should I make in script so that RMAN should not create new file
and overwrite older one.

Thanks.
Now I can schedule backup job through above script.
With this script
run{
allocate channel ch1 type disk;
backup
format 'E:\oracle\backup\/%d_%s'
database plus archivelog delete input;
release channel ch1;
and CONFIGURE RETENTION POLICY TO REDUNDANCY 1;
I want to delete obsolete backup
run{
allocate channel ch1 type disk;
backup
format 'E:\oracle\backup\/%d_%s'
database plus archivelog delete input;
delete obsolete;
release channel ch1;
It is not working as delete obsolete command asks for confirmation (YES/NO)?
How to do it ?

Similar Messages

  • RMAN Backup Script not running in cron tab

    Hi,
    I am having rman backup script which is being executed successfully through shell.
    but when scheduled in cron the script is being called but RMAN commands are not getting executed.
    i have scheduled cron using oracle user.
    Attached below the rman script for taking LEVEL 1 backup
    #! /bin/ksh
    DATE=`date +%Y-%m-%d`
    export ORACLE_SID=ACIDC
    export ORACLE_BASE='/home/app/oracle/product/10.2.0'
    PATH=$PATH:${ORACLE_HOME}/bin
    export PATH
    export ULIMIT=unlimited
    export ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data
    export LD_LIBRARY_PATH=$ORACLE_HOME/lib:$ORACLE_HOME/network/lib
    export LIBPATH=$LD_LIBRARY_PATH:/usr/lib
    export TNS_ADMIN=$ORACLE_HOME/network/admin
    cd $ORACLE_HOME/bin
    rman TARGET= / << EOF > /oraclebkp/rmanlogs/ACIDC/$DATE.log
    backup incremental level 1 database;
    report obsolete;
    delete noprompt obsolete;
    exit;
    EOF
    exit 0
    Attached cron script
    SHELL=/bin/sh
    PATH=:/usr/ucb:/bin:/usr/bin
    10 17 * * 2 /oraclebkp/rmanscripts/rmandclvl1.sh 2>&1 >/oraclebkp/cronlogs/delobs.log
    Files delobs.log
    and oraclebkp/rmanlogs/ACIDC/$DATE.log are being created but with 0 bytes .
    Thanks in Advance
    HariPriya,

    rman TARGET= / << EOF > /oraclebkp/rmanlogs/ACIDC/$DATE.log Change this line to and try..
    $ORACLE_HOME/bin/rman TARGET= / << EOF > /oraclebkp/rmanlogs/ACIDC/$DATE.log

  • Need Advice on RMAN backup script

    Hi;
    Can any one advice if any error or guide to make RMAN backup proper :
    Backup Policy are:
    1.     0 level backup
    2.     current log file is arvhived before backing up
    3.     backup whole database (datafiles)
    4.     backup separate control file
    5.     backup is done on disk
    6.     control file auto backup ON
    7.     only 7 days archive log are need to be preserve ; old need to be deleted
    ### one time paramters seting
    RMAN> CONFIGURE DEFAULT DEVICE TYPE TO DISK;
    RMAN> CONFIGURE DEVICE TYPE DISK PARALLELISM 2;
    RMAN> CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO 'O:\rman\backup\Auto_Ctrl_weekly_%F';
    RMAN> CONFIGURE CONTROLFILE AUTOBACKUP ON;
    ### Command for weekly 0 level backup
    run {
    allocate channel c1 type disk;
    sql 'alter system archive log current';
    backup incremental level 0 tag = weekly_database format 'o:\rman\backup\full_weekly_%d_%s_%p_%t'(database);
    release channel c1;
    configure controlfile autobackup format for device type disk to 'o:\rman\backup\auto_ctrl_weekly_%f';
    allocate channel c1 type disk;
    backup tag = weekly_arch archivelog until time 'sysdate-7' format 'o:\rman\backup\archive_weekly_%d_%s_%p_%t';
    delete archivelog until time 'sysdate-7';
    release channel c1;
    Regards
    Smith

    Dear Pierre F.;
    Actually, I just added in my backup plan to have daily backup through RMAN, instead of COLD backup.
    I have planned to take cold backup once a week. here is the side of data:
    *** datafile 410
    *** size of database : 86 GM
    *** relog files size : 250MB
    *** daily archive logs are : 250MB * 4(number of files) = 1GM aprox.
    yes, time constraint is there; just because of the size of database. and we r going for 24/7
    Is this script going to run only one per week ?
    Ans: no I this was level 0 backup; i will take level 1 incremental backup with same script daily too.
    Do you have any other RMAN script ?
    ANS: no, I will modify same script for incremental.
    after local copy of backup all backup files (RMAN) will be copy over network to backup server or we can install LTO tape device to copy directly from database server.
    kindly advise me I am new in RMAN.
    regards;
    SMITH

  • RMAN Backup Script Error

    Hi ,
    I am getting the following error when i am executing manbackup shell script.
    Message file RMAN<lang>.msb not found
    Verify that ORACLE_HOME is set properly
    RMAN Script
    DATE=`date +%Y%m%d.%H%M`
    #su - oracle
    #<<EOF
    export ORACLE_HOME=/home/app/oracle/product/10.2.0/db_1
    echo $ORACLE_HOME
    export PATH=$PATH:$ORACLE_HOME/bin
    #export PATH=$ORACLE_HOME/bin:$PATH
    export ORACLE_SID=ACILOC
    echo $ORACLE_SID
    rman cmdfile=/oraclebkp/rmanbackupscripts/rmanlevel0bkp.bck log=/oraclebkp/rmanbackupscripts/rmanACILOClev0$DATE.log
    export ORACLE_SID=ACIDC
    echo $ORACLE_SID
    rman cmdfile=/oraclebkp/rmanbackupscripts/rmanlevel0bkp.bck log=/oraclebkp/rmanbackupscripts/rmanACIDClev0$DATE.log
    #EOF
    level0bkp.bck
    connect target `/'
    run
    backup incremental level 0 database;
    but I am able to take RMAN backups by connecting as RMAN TARGET /
    Thanks in advance
    Priya

    connect target `/'Dont give / in quotations just connect as
    connect target /
    backup incremental level 0 database;
    }Thanks
    Close the threads as answered if helpful/correct.
    user11342455
    Handle: user11342455
    Status Level: Newbie
    Registered: Feb 18, 2010
    Total Posts: 22
    Total Questions:  10 (8 unresolved)
    Edited by: CKPT on Jan 5, 2011 12:17 PM

  • Rman backup script suggestion

    Hi,
    I have script bellow. I want to run in one script on linux as shell script: how can i do that. i have very limited knowledge about it:
    setenv TNS_ADMIN "/location/network/admin"
    setenv ORACLE_HOME "/location/db1"
    setenv TWO_TASK "DB1"
    setenv ORACLE_SID "DB1"
    rman run {
    # Shutdown database for backups and put into MOUNT mode
    shutdown immediate
    startup mount
    # Allocate channel. Important: This must be done after
    # database has been mounted!!!
    allocate channel t1 DEVICE TYPE DISK FORMAT '/backuplocation/DB1RMAN/%U' ;
    # Perform full database backup
    backup Database format '/backuplocation/DB1RMAN/%d_FULL_%U.bck';
    # Open database after backup complete
    sql 'alter database open';
    sql 'ALTER DATABASE BACKUP CONTROLFILE TO TRACE';
    release channel t1;
    }

    user12020966 wrote:
    Hi,
    I have script bellow. I want to run in one script on linux as shell script: how can i do that. i have very limited knowledge about it:
    setenv TNS_ADMIN "/location/network/admin"
    setenv ORACLE_HOME "/location/db1"
    setenv TWO_TASK "DB1"
    setenv ORACLE_SID "DB1"
    rman run {
    # Shutdown database for backups and put into MOUNT mode
    shutdown immediate
    startup mountWhy the shutdown? are you running in norachivelog mode?
    # Allocate channel. Important: This must be done after
    # database has been mounted!!!
    allocate channel t1 DEVICE TYPE DISK FORMAT '/backuplocation/DB1RMAN/%U' ;Above not needed if you set it as part of the rman config:
    oracle> rman target /
    rman> CONFIGURE DEFAULT DEVICE TYPE TO DISK FORMAT '/backuplocation/DB1RMAN/%U';
    # Perform full database backup
    backup Database format '/backuplocation/DB1RMAN/%d_FULL_%U.bck';Your use of "format" is redundant with your channel allocation.
    # Open database after backup complete
    sql 'alter database open';
    sql 'ALTER DATABASE BACKUP CONTROLFILE TO TRACE';No need to shell out to sql. those commands are accepted directly by rman.
    RMAN> startup mount;
    connected to target database (not started)
    Oracle instance started
    database mounted
    Total System Global Area     285212672 bytes
    Fixed Size                     1267068 bytes
    Variable Size                146803332 bytes
    Database Buffers             134217728 bytes
    Redo Buffers                   2924544 bytes
    RMAN> alter database open;
    database opened
    RMAN>
    release channel t1;
    }I'd strongly suggest you go to amazon.com and look up the books on rman backup and recovery by Hart and Freeman. You are making waaay too much work for yourself.

  • Oracle 9i Rman backup script !!

    hi,
    We are taking rman backup level 0. While making this backup the backup size is very big i.e. let's suppose if DB size is some 100GB then backup size would be somewhere around 60-70 GB. I need to know , does anybody having any script which compresses the backup sets after they get generated during the backup i.e. lets suppose 10 backup sets get generated, what I need to know is when RMAN is generating lets say 2 backup can we compress 1st backupset and so on like when 3rd backup set is getting generated we compress the 2nd backupset and so on till 10th backup set.
    Let me know if anybody needs more information on this...I know it's a typical requirement :o))

    hello Hamir,
    what operating system are you working on
    after the backup you could call a routine in unix to gzip file_name
    or in windows to use winzip.
    however in 9i to restore the database you would then need to unzip the files first.
    what possibility do you have to upgrade to 10g, this has the ability to automatically compress the backup set from within RMAN.
    rgds
    alan

  • RMAN Backup script for RAC Database..please suggest

    Hi All,
    I am currently working on backup policy for RAC Database for my client.The client requirement is to backup while database is shutdown(mount state).I have made below script and could any one please suggest what further things should I need to add with below rman script.
    echo "Shutdown Database";date
    srvctl stop database -d PROD
    srvctl status database -d PROD
    echo "Database shutdown on";date
    echo "Mount Database ";date
    srvctl start instance -d PROD -i "PROD1" -o mount
    srvctl status database -d PROD
    echo "Start Full Database Backup on";date
    $ORACLE_HOME/bin/rman target / nocatalog <<EOF
    configure controlfile autobackup on;
    configure controlfile autobackup format for device type disk to '/BACKUP/PRODBKP/%F';
    run{
    allocate channel c1 device type disk connect 'sys/******@node1-vip:1521/PROD';
    allocate channel c2 device type disk connect 'sys/*****@node2-vip:1521/PROD';
    backup format '/BACKUP/PRODBKP/PROD_df_%t_%s_%p.bak'(database);
    backup format '/BACKUP/PRODBKP/archive_%t_%s_%p.bak' archivelog all;
    copy current controlfile to '/BACKUP/PRODBKP/PROD.ctl';
    delete noprompt obsolete;
    release channel c1;
    release channel c2;
    exit
    EOF
    echo "RMAN Backup Finished on";date
    echo "Shutdown Database";date
    srvctl stop database -d PROD
    echo "Start Database";date
    srvctl start database -d PROD
    srvctl status database -d PROD
    Please share your experiences.
    Regards

    Hi,
    Some tweaks for your script.
    echo "Shutdown Database";date
    srvctl stop database -d PROD
    srvctl status database -d PROD
    echo "Database shutdown on";date
    echo "Mount Database ";date
    srvctl start instance -d PROD -i "PROD1" -o mount1. If you database does not shutdown properly , does your script stops the execution of next step?
    2. configure controlfile autobackup on;
    configure controlfile autobackup format for device type disk to '/BACKUP/PRODBKP/%F';(Why you need to configure this every time) ?
    It's persistent at db level one time setting (until some other script changes the settings by other dba - else remove that - set the configuration at db level once for all)
    - Pavan Kumar N
    3.

  • Generate RMAN backup Script using unix shell script

    Hello,
    Could somebody give me a unix shell script that would generate RMAN script based on some user defined parameters in a config file.
    e.g.
    rman.conf
    CHANNELS=4
    USE_CATALOG=Y
    DEVICE='sbt_tabe'
    etc.,
    many thanks,
    kam

    You can actually encapsulate the RMAN commands inside the shell script.
    However if you really want to create a seperate RMAN script file, you can use the unix shell's "echo" command to write set variables to a file.
    Thus, for example,
    echo "rman target / catalog rman/rmanpassword@crcat" > RMAN_Script.rmn
    echo "backup database plus archivelog" >> RMAN_Script.rmn
    echo "backup archivelog all" >> RMAN_Script.rmn
    creates RMAN_Script.rmn with 3 commands.

  • RMAN Backup Script Help

    Hi,
    We currently have an RMAN script that runs nightly to backup the database, including the archivelogs and purge. We are using flashback and would like to keep the archivelog available for 3 days.
    I changed this:
    backup check logical as compressed backupset archivelog all format '${RMAN_DIR}/%d_ARC_%Y%M%D_%s_%p'
    delete input;
    To this:
    backup check logical as compressed backupset archivelog until time 'sysdate-3' format '${RMAN_DIR}/%d_ARC_%Y%M%D_%s_%p'
    delete input;
    I changed "all" to "until time 'sysdate-3'" and want to confirm this before I do anything. Thanks.

    Kamran's video would clear you everything.
    I just want to add few quick steps from my side.
    Step1.Make sure RMAN is connected to the right target database and the recovery catalog.
    Then run the CREATE SCRIPT command, as shown in this example:
    CREATE SCRIPT full_bkup
    allocate channel ch1 type disk format '/backups/rman/%n%M%D%Y%s%U.bak' maxpiecesize 4G;
    sql 'alter system archive log current';
    sql 'alter system switch logfile';
    backup incremental level 0 tag=rman_10 filesperset=5 database include current controlfile;
    sql 'alter system archive log current';
    sql 'alter system switch logfile';
    release channel ch1;
    Step2.Create a shell script rman_bkup_10g.ksh as below and initiate execution of the above script from this shell script.
    rman target sys/sys-pwd@tgt-db-conn-str catalog rman/rman-pwd@rec-cat-conn-str
    run {execute script *full_bkup*;}
    exit
    Step3.Schedule the shell script rman_bkup_10g.ksh in crontab as below(The example shows,the shell script gets executed everyday at 05:30)
    30 05 * * * /path/to/script/rman_bkup_10g.ksh >> /path/to/log/rmanbkup.log
    You may please tailor the scripts as per your need.
    Edited by: bharathDBA on Aug 8, 2011 3:27 AM
    Edited by: bharathDBA on Aug 8, 2011 3:52 AM
    Edited by: bharathDBA on Aug 8, 2011 3:54 AM

  • Rman backup scripts

    Hi, I am inquiring as to how to create a job to run an rman script without using the Enterprise manager to schedule and create the job.
    Thanks
    James

    You are going to want to at least set the following RMAN parameters. You may need to set other depending on your environment.
    RETENTION POLICY
    CONTROLFILE AUTOBACKUP ON
    CONTROLFILE AUTOBACKUP FORMAT
    PARALLELISM
    CHANEL DEVICE TYP FORMAT
    SNAPSHOT CONTROLFILE NAME
    Below is an example of how I have these set on a test system. This from a 10g database
    RMAN> show all;
    RMAN configuration parameters are:
    CONFIGURE RETENTION POLICY TO REDUNDANCY 2;
    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 '/backup/ecmtst/%F';
    CONFIGURE DEVICE TYPE DISK PARALLELISM 3 BACKUP TYPE TO BACKUPSET;
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '/backup/ecmtst/%U';
    CONFIGURE MAXSETSIZE TO UNLIMITED; # default
    CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
    CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
    CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/backup/ecmtst/snapcf_ecmtst1.f';
    RMAN>

  • RMAN backup Scripts: Please Check and Advice

    Dear All
    We are now upgrading our database from 9iR2 to 10gR2.
    Before this process we want a full database backup with RMAN with the following scrips. I also included our current database configuration.
    So, dear all gurus please check this process if any thing goes wrong and give some valuable advice for better performance and other issue.
    ===========================================================
    /data01          400GB
    /data02      400GB
    /data03          400GB
    /idx04          400GB
    Current Tablespace Used Size= 1700GB
    Total Tablespace=31
    Total File=295
    Max File Size= 15GB
    Avg File Size= 9GB
    CPU_COUNT=4
    Memory=32GB
    sqlplus /nolog
    conn /as sysdba
    --configured database in archivelog mode.  Then
    create user rman identified by pass default tablespace INDX tempprary tablespace temp;grant connect,resource,RECOVERY_CATALOG_OWNER to RMAN;
    RMAN target rman/rman@dwh nocatalog
    RMAN>configure channel device type disk maxpiecesize=64GB;
    RMAN>configure channel device type disk maxsetsize=195GB;
    RMAN>configure channel device type disk parallelism=4;
    RMAN>run { 
    allocate channel Channel1 type disk format '/data01/oracle/rman_backup/DWH_df_%s_%p_%c';
    allocate channel Channel2 type disk format '/data02/oracle/rman_backup/DWH_df_%s_%p_%c';
    allocate channel Channel3 type disk format '/data03/oracle/rman_backup/DWH_df_%s_%p_%c';
    allocate channel Channel4 type disk format '/idx01/oracle/rman_backup/DWH_df_%s_%p_%c' ;
    backup as compressed backupset database plus archivelog;
    backup current controlfile format '/idx01/oracle/rman_backup/DWH_cf_%U.f';
    backup spfiel format '/idx01/oracle/rman_backup/DWH_spf_%U.f';
    release channel Channel1;
    release channel Channel2;
    release channel Channel3;
    release channel Channel4;
    ===========================================================
    Thanks & Regards
    Quazi Abdur Rab

    Try this ...
    RUN {
    RECOVER COPY OF DATABASE WITH TAG 'incr_backup' UNTIL TIME 'SYSDATE - 7';
    BACKUP INCREMENTAL LEVEL 1 FOR RECOVER OF COPY WITH TAG 'incr_backup' DATABASE;
    The RECOVER COPY... line will not do anything until the script has been running for more than 7 days. The BACKUP INCREMENTAL line will perform a complete backup (level 0) the first day it is run, with all subsequent backups being level 1 incremental backups. After 7 days, the RECOVER COPY... line will start to take effect, merging all incremental backups older than 7 days into the level 0 backup, effectively moving the level 0 backup forward. The effect of this is that you will permanently have a 7 day recovery window with a 7 day old level 0 backup and 6 level 1 incremental backups. Notice that the tag must be used to identify which incremental backups apply to which image copies

  • Script for RMAN backup

    kindly send the script for RMAN bacup

    Hi,
    About RMAN backup
    http://dbataj.blogspot.com/2007/01/about-rman-backups.html
    About RMAN architechture
    http://dbataj.blogspot.com/2007/01/recovery-manager-architecture.html
    About RECOVERY CATALOG
    http://dbataj.blogspot.com/2006/12/recovery-catalog.html
    RMAN backup script
    http://dbataj.blogspot.com/2007/01/hotfullrmanbkpscirpt.html
    above is my own work on RMAN you have to edit according you needs.
    regards
    Taj

  • Can RMAN backup and export datapump executed at the same time?

    Hello,
    I have several databases that I backup using RMAN and export datapump everynight starting at 6PM and end at Midnight. The backup maintenance window doesn't give me enough time for each database to run at different time. I am using crontab to schedule my backups. Since I have so many databases that need to be backed up between 6PM - Midnight, some of the export and RMAN backup scripts will execute almost at the same time. My question is can my export data pump and RMAN backup scripts run at the same time?
    Thank you in advance.
    John

    Needs must. If you don't run expdp parallel then it doesn't use that much. If it was really killing the system then look into setting up a Resource plan that knocks that user down but this is a big step.
    I woud better look into using Rman
    system incrementals, and block change tracking, to minimize your RMAN time.
    Regards
    If your shop needs to do both simultaneously then go for it.
    Chris.
    PS : One of my shops has maybe 20-30 rmans and pumps all kicking off some simultaneous, some not, from 0000 to 0130. No complaints from users and no problems either. Go for it.
    Edited by: Chris Slattery on Nov 25, 2012 11:19 PM

  • Create standby DB with RMAN backup in Oracle 9.2.0.6

    I am tring to create a standby DB in different host with different directory using RMAN. The commandv with which I tried to create the standby database is the follow:
    (in the primary server side)
    RUN
    ALLOCATE AUXILIARY CHANNEL DUP1 TYPE DISK;
    DUPLICATE TARGET DATABASE FOR STANDBY
    NOFILENAMECHECK
    DORECOVER;
    but RMAN give me this error:
    Starting restore at 18-FEB-08
    channel DUP1: starting datafile backupset restore
    channel DUP1: restoring controlfile
    output filename=/opferi/oradata/oradata01/data01/cntrl01.dbf
    released channel: DUP1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 02/18/2008 17:57:20
    RMAN-03015: error occurred in stored script Memory Script
    ORA-19505: failed to identify file "/opferi/oracle/product/9.2.0/dbs/l4j9127p_1_1"
    ORA-27037: unable to obtain file status
    SVR4 Error: 2: No such file or directory
    Additional information: 3
    The standby database is in a different host with the same directory structure. I started (with nomount option) with the same init file that the primary database.
    I read solution like the backupset must be copied manually to the standby host, but for me is not a solution.
    The RMAN backup script is the follow (like
    RUN {
    CROSSCHECK BACKUPSET;
    DELETE NOPROMPT OBSOLETE;
    DELETE NOPROMPT EXPIRED BACKUPSET;
    crosscheck archivelog all;
    ALLOCATE CHANNEL ch00 TYPE disk;
    BACKUP
    $BACKUP_TYPE
    FORMAT '/rman/opferi2/df_sipd_%d_%u_%s_%p'
    DATABASE INCLUDE CURRENT CONTROLFILE FOR STANDBY;
    sql 'alter system archive log current';
    backup format '/rman/opferi2/archive_log_%d_t%t_s%s_p%p' (archivelog all);
    RELEASE CHANNEL ch00;
    when $BACKUP_TYPE=0
    Can anyone help my with this problem?? Thaks
    Cristian.
    PS. Sorry my bad english because I am from Latin America

    Requirements are:
    1 the backup should be accessible to both target and auxiliary database in the same location.
    2 On Unix this can be arranged through NFS, provided you set the read and write buffer to 32k.
    Obviously the backup can not be located in $ORACLE_HOME/dbs, as you can not mount a NFS directory over $ORACLE_HOME/dbs without loosing functionality.
    Hth
    Sybrand Bakker
    Senior Oracle DBA

  • RMAN BACKUP hangs up on archive logs

    Hi,
    in 9i on Linux, My rman backup script is :
    RMAN> run {
    2> allocate channel t1 type disk;
    3> backup incremental level=0 format '/mnt/rman/MYDB/full_%d_%t_%s_%p' database;
    4> sql 'alter system switch logfile';
    5> backup format '/mnt/rman/MYDB/al_%d_%t_%s_%p'
    6> archivelog all delete input;
    7> backup format '/mnt/rman/MYDB/ctl_%d_%t_%s_%p' current controlfile;
    8> }
    It works well until :
    backup format '/mnt/rman/MYDB/al_%d_%t_%s_%p' archivelog all delete input;
    Here it hangs up (may be there are many many archive log files). What do you propose ? How can we ask RMAN just backup archive logs since some recent dates ? How can we delete most of ancient archive logs ? Since many times RMAN backup was in error then archive logs were not deleted. Now impossible to finish RMAN backup. Many thanks for your help.

    Hi,
    I launched following since last night but it is always waiting :
    RMAN> crosscheck archivelog all;
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=110 devtype=DISK
    What can I do ? Any other way to say to RMAN that archived logs are not available ?
    Many thanks.

Maybe you are looking for

  • Mid 2010 MacBook Pro won't boot past blue screen

    I've been having problems booting up my MacBook. I can't get past the blue screen. It went from booting slow at the grey apple logo screen to not booting up at all. Is it a problem with my hard drive? I also have boot camp running as well, but I can

  • Adapter Module Error in PI 7.1

    Hi, I have built an adapter module which has been successfully deployed on PI 7.1 using JSPM, but in communication channel monitoring it is giving below error. Error: com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: Object no

  • How to get SQLite DB to go to beginning of DB on hit MAX ID

    Hi, I'm making a small mobile app that uses an SQlite database.  The idea is that the user clicks the 'next record' button and the next record (by incrementing the id 1) is brought up on the screen.  However, when the user reaches the last record and

  • Help! Frostwire deleted my music!

    Hi. So recently a friend told me about this program called frostwire where you can download free audio files from youtube, soundcloud, ect. The program transfered  the songs to my itunes library, but deleted all the existing songs I already had in my

  • Naming Components from the Application Root

    My Coldfusion Web Root is: C:\ColdFusion8\wwwroot My Application Root is: C:\ColdFusion8\wwwroot\mydomain.com I have a component in my application called datasource and it is located at: C:\ColdFusion8\wwwroot\mydomain.com\system\datasource.cfc I wan