*HOW TO DELETE THE ARCHIVE LOGS ON THE STANDBY*

HOW TO DELETE THE ARCHIVE LOGS ON THE STANDBY
I have set the RMAN CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED ON STANDBY; on my physical standby server.
My archivelog files are not deleted on standby.
I have set the CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default on the Primary server.
I've checked the archivelogs with the FRA and they are not beign deleted on the STANDBY. Do I have to do something for the configuation to take effect? Like run a RMAN backup?
I've done a lot ofresearch and i'm getting mixed answers. Please help. Thanks in advanced.
J

Setting the Policy will not delete the Archive logs on the Standby. ( I found a thread where the Data Guard product manager says "The deletion policy on both sides will do what you want" ). However I still
like to clean them off with RMAN.
I would use RMAN to delete them so that it can use that Policy are you are protected in case of Gap, transport issue etc.
There are many ways to do this. You can simply run RMAN and have it clean out the Archive.
Example :
#!/bin/bash
# Name: db_rman_arch_standby.sh
# Purpose: Database rman backup
# Usage : db_rman_arch_standby <DBNAME>
if [ "$1" ]
then DBNAME=$1
else
echo "basename $0 : Syntax error : use . db_rman_full <DBNAME> "
exit 1
fi
. /u01/app/oracle/dba_tool/env/${DBNAME}.env
echo ${DBNAME}
MAILHEADER="Archive_cleanup_on_STANDBY_${DBNAME}"
echo "Starting RMAN..."
$ORACLE_HOME/bin/rman target / catalog <user>/<password>@<catalog> << EOF
delete noprompt ARCHIVELOG UNTIL TIME 'SYSDATE-8';
exit
EOF
echo `date`
echo
echo 'End of archive cleanup on STANDBY'
mailx -s ${MAILHEADER} $MAILTO < /tmp/rmandbarchstandby.out
# End of ScriptThis uses ( calls an ENV) so the crontab has an environment.
Example ( STANDBY.env )
ORACLE_BASE=/u01/app/oracle
ULIMIT=unlimited
ORACLE_SID=STANDBY
ORACLE_HOME=$ORACLE_BASE/product/11.2.0.2
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=linux=80x25 wrong wrong wrong wrong wrong
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
export MAILTO=?? your email hereNote use the env command in Unix to get you settings.
There are probably ten other/better ways to do this, but this works.
other options ( you decide )
Configure RMAN to purge archivelogs after applied on standby [ID 728053.1]
http://www.oracle.com/technetwork/database/features/availability/rman-dataguard-10g-wp-1-129486.pdf
Maintenance Of Archivelogs On Standby Databases [ID 464668.1]
Tip I don't care myself but in some of the other forums people seem to mind if you use all caps in the subject. They say it shouting. My take is if somebody is shouting at me I'm probably going to just move away.
Best Regards
mseberg
Edited by: mseberg on May 8, 2012 11:53 AM
Edited by: mseberg on May 8, 2012 11:56 AM

Similar Messages

  • How to delete old archived logs

    hai i am running oracle 9i in archive log mode
    my disk is about 90% full
    pls tell me how to delete archive logs that are very older

    Hi Rajeskm,
    First of all, archives should not be deleted, depending your backup policie, you can need them in a recovery. But if you want delete them, do:
    find <log_archive_dest>/ -name *.rdo (or extention used by you) mtime +<days ago> -exec rm{}\
    Explanation:
    Find -- The first, and most obvious, use is find's ability to locate old, big, or unused files, or files that you forgot where they are.
    mtime -- The mtime--modify time--is the time when the actual contents of a file was last modified. This is the time displayed in a long directoring listing (ls -l).
    rm -- Deletes a file without confirmation (by default).
    Regards,
    Jonathan Ferreira - Brazil
    http://www.ebs11i.com.br

  • How to delete archive logs on the standby database....in 9i

    Hello,
    We are planning to setup a data guard (Maximum performance configuration ) between two Oracle 9i databases on two different servers.
    The archive logs on the primary servers are deleted via a RMAN job bases on a policy , just wondering how I should delete the archive logs that are shipped to the standby.
    Is putting a cron job on the standby to delete archive logs that are say 2 days old the proper approach or is there a built in data guard option that would some how allow archive logs that are no longer needed or are two days old deleted automatically.
    thanks,
    C.

    We are planning to setup a data guard (Maximum performance configuration ) between two Oracle 9i databases on two different servers.
    The archive logs on the primary servers are deleted via a RMAN job bases on a policy , just wondering how I should delete the archive logs that are shipped to the standby.
    Is putting a cron job on the standby to delete archive logs that are say 2 days old the proper approach or is there a built in data guard option that would some how allow archive logs that are no longer needed or are two days old deleted automatically.From 10g there is option to purge on deletion policy when archives were applied. Check this note.
    *Configure RMAN to purge archivelogs after applied on standby [ID 728053.1]*
    Still it is on 9i, So you need to schedule RMAN job or Shell script file to delete archives.
    Before deleting archives
    1) you need to check is all the archives are applied or not
    2) then you can remove all the archives completed before 'sysdate-2';
    RMAN> delete archvielog all completed before 'sysdate-2';
    As per your requirement.

  • How to pre calculate archive logging?

    Hello,
    We try to initialize a BI workflow load which fills the table BPMWITSTP. The extractor uses insert and update statements. The table looks like this:
    MANDT             CLNT     3     0     Mandant
    SWW_WIID     NUMC     12     0     Workitem-ID
    SWFRMETS     DEC     21     7     Workflow: timestamp methode-einde
    Our Q&A machine runs ora 10.2.0.2.0 on Solaris. Our hardware hosting party created a ZFS unix mount for the archlog with a fixed size of 25GB. the log files are written into this directory and eventually are written on tier 4 storage (tapes) when the directory is almost full.
    When I start the extractor, the table gets filled so is the archlog. After about 30min the ZFS mount is full and oracles crashes  caused by the limited space of the mount (no archlog could be written  because the tape backup run was too slow).
    I do understand the problem with the archlog (no space available) but what i dont understand is how the extractor generates 25gb of logging with simple inserts into this tiny table? We dont have the problem with other extractors which generates a lot more data (setup table for 2LIS eg)
    I might be able to get our hosting party to increase the ZFS mount size but first I have to know how much archlogging will be created.
    Is there even a way to pre calculate the size of the logging created by an insert statement?
    Kind regards,
    Edited by: Matthias Gamsjager on Nov 24, 2009 9:43 AM
    Edited by: Matthias Gamsjager on Nov 24, 2009 9:51 AM
    Edited by: Matthias Gamsjager on Nov 24, 2009 9:52 AM

    Hi,
    1st: 25 Gbyte for archiving isn't much.
    On a productive system it should be several hundreds of Gbytes .
    How big are your online redo logs? Check recommendations by SAP
    2nd:
    if we have a system were  your INSERT process is mostly contributing to your workload we could roughly estimate the amount needed redo logs (be aware that a lot of other things can cause archiving to log files, so I would recommend to check
    what else is going on).
    What is going into the Archived logs is the redo infomation of your INSERT statement:
    "INSERT (MANDT, SWW_WIID,SWFRMETS      )  INTO BPMWITSTP  values ( .... )"
    What you should check also is this excessive amount of INSERTS going into the table.
    The query below shows you the amount of Archived log space in GBYTE  for a time intervall.
    You could correlate that from  the number of inserts done to inserts expected and have a rough estimate
    (add to this 30% GBYTES more as a safety buffer).
    select to_char(min(completion_time),'HH24:MI:SS DD.MM.YYYY')
    comptimeMin,
           to_char(max(completion_time),'HH24:MI:SS DD.MM.YYYY')
    comptimeMax,
    count(recid) ArchNo,
    round(( max(completion_time) - min(completion_time) ) * 24 * 60 ,2)
    log_switch_comp_timelag,
    round((( max(completion_time) - min(completion_time) ) * 24 * 60),2) / 
    count(recid) log_switch_minutes,
    round(sum(blocks * block_size) /1024/1024/1024 ,2) GBRedo
    from
    V$ARCHIVED_LOG
    where completion_time between
    to_date('24.11.2009 00:00:09','DD.MM.YYYY HH24:MI:SS' ) and
    to_date('24.11.2009 23:59:59','DD.MM.YYYY HH24:MI:SS' )
    bye
    yk

  • How to find out who deleted the archive logs

    Hi All,
    Recently some archive logs were deleted from one of our servers. Is there any way to find out which user has deleted the archive logs through OS or through database ?
    OS Version :-
    SunOS Generic_Virtual sun4u sparc SUNW,SPARC-Enterprise
    Database Version:-
    SQL*Plus: Release 9.2.0.8.0 - Production on Mon Apr 9 01:12:15 2012

    888132 wrote:
    Hi All,
    Recently some archive logs were deleted from one of our servers. Is there any way to find out which user has deleted the archive logs through OS or through database ?
    OS Version :-
    SunOS Generic_Virtual sun4u sparc SUNW,SPARC-Enterprise
    Database Version:-
    SQL*Plus: Release 9.2.0.8.0 - Production on Mon Apr 9 01:12:15 2012As explained by others, from oracle database there is no record if they are deleted from OS.
    But you can probably find the history of OS command been run with history command :). You can get the date and time.
    Following link can help
    http://stackoverflow.com/questions/99755/how-do-i-get-the-command-buffer-in-solaris-10
    http://www.cyberciti.biz/faq/unix-linux-bash-history-display-date-time/
    http://www.linuxquestions.org/questions/solaris-opensolaris-20/in-solaris-command-line-how-to-get-the-previous-commands-573814/
    But i suggest you to post in Sun OS forum to get more details as its nothing to do with Database(in this scenario)

  • How to delete the archive logs.

    Hi,
    I need to delete the archive logs in standby database which has been generated after created the restore point.
    SEQUENCE# APPLIED
    17 YES
    18 YES
    1 NO
    2 NO
    19 YES
    18 YES
    21 YES
    22 YES
    20 YES
    23 YES
    24 YES
    sequence 1,2 has been generated after created the restore point,how can i remove sequence# 1 and 2 from the v$archived_log;
    ways i have tried
    1.dropped the restore point during that time only the flashback logs has been deleted not the archive log
    2.manually tried from rman ,but i was not working.
    please help me out....
    ***points are waiting for you guys****

    Hi,
    I need to delete the archive logs in standby database which has been generated after created the restore point.
    SEQUENCE# APPLIED
    17 YES
    18 YES
    1 NO
    2 NO
    19 YES
    18 YES
    21 YES
    22 YES
    20 YES
    23 YES
    24 YES
    sequence 1,2 has been generated after created the restore point,how can i remove sequence# 1 and 2 from the v$archived_log;
    ways i have tried
    1.dropped the restore point during that time only the flashback logs has been deleted not the archive log
    2.manually tried from rman ,but i was not working.
    please help me out....
    ***points are waiting for you guys****

  • I accidently delete the archived log, how to recover?

    There was old archived log file in a directory, I delete the directory, so when I backup whole archived log with RMAN, I often got error like this,
    RMAN-06059: expected archived log not found, lost of archived log compromises recoverabiligy
    ora-196525: error identifying file G:\oracle\oradata\archive\arc00081.001
    I am using oracle 9.2 on windows XP
    Edited by: user8117130 on Jun 14, 2009 9:35 PM

    HI..
    I delete the directory, so when I backup other archived log with RMAN, I often got error like this From metalink:-
    Error:     RMAN-06059 (RMAN-6059)Text:     expected archived log not found, lost of archived log compromises
         recoverability
    Cause:     The archived log was not found. The repository thinks it does
         exist. If the archived log has in fact been lost and there is no
         backup, then the database is no longer recoverable across the
         point in time covered by the archived log. This may occur because
         the archived log was removed by an outside utility without
         updating the repository.
    Action:     If the archived log has been removed with an outside utility and
         the archivelog has already been backed up, then you can
         synchronize the repository by running CROSSCHECK ARCHIVELOG ALL.
         If the archivelog has not been previously backed up, then you
         should take a full backup of the database and archivelogs to
         preserve recoverability. Previous backups are not fully
         recoverable.
    >
    Anand

  • How to disable the archive logs in SAP IDES(Windows) using SQL Server

    can any body tell us How to disable the archive logs in SAP IDES(Windows 2003) using SQL Server 2000.SP4.?

    Hi,
    Unfortunately, SQL Server does not have the option to turn off transaction logging. You can set the recovery mode to SIMPLE, instead of FULL. This will result in the transaction log being truncated on checkpoint.
    http://support.microsoft.com/kb/873235 - check this microsoft article
    This will help in reduction of the size of the transcation log.
    - Regards, Dibya

  • HT3986 Does anyone know how to enable the "Delete" key for logging on the Windows 7 partition on the latest iMac, via the latest Apple wireless keyboard? Many Thanks

    Hi All
    Does anyone know how to enable the "Delete" key for logging on the Windows 7 partition on the latest iMac, via the latest Apple wireless keyboard - the standard wired apple keyboard works fine via this key but not the new wireless keyboard?
    Many Thanks

    Holy crap, this fixes the issue.  At least temporarily it has.  I should add that my issue was single finger forward/back swipe stopped working on the magic mouse in Firefox since Mavericks came along.  I have been fighting this since I upgraded to Mavericks a few months ago.  Thank you, tbirdvet.  You have no idea how much easier you just made using my iMac again.
    Message was edited by: wadems

  • Pecification does not match any archive log in the recovery catalog

    MAN> list archivelog all;
    pecification does not match any archive log in the recovery catalog
    RMAN> list backup of archivelog all
    BS Key Size Device Type Elapsed Time Completion Time
    671197 5.17M DISK 00:00:03 29-MAY-11
    BP Key: 671200 Status: AVAILABLE Compressed: YES Tag: TAG20110529T180030
    Piece Name: F:\OSSTDBY_BACKUP\ARCH\OSONDEMA_ARC_20110529_FVMDIGPU_S25087_P1
    List of Archived Logs in backup set 671197
    Thrd Seq Low SCN Low Time Next SCN Next Time
    1 44836 503663671 29-MAY-11 503675934 29-MAY-11
    2 22517 503663669 29-MAY-11 503675932 29-MAY-11
    BS Key Size Device Type Elapsed Time Completion Time
    671232 5.12M DISK 00:00:02 29-MAY-11
    BP Key: 671235 Status: AVAILABLE Compressed: YES Tag: TAG20110529T200050
    Piece Name: F:\OSSTDBY_BACKUP\ARCH\OSONDEMA_ARC_20110529_G1MDINRJ_S25089_P1
    List of Archived Logs in backup set 671232
    Thrd Seq Low SCN Low Time Next SCN Next Time
    1 44837 503675934 29-MAY-11 503688661 29-MAY-11
    2 22518 503675932 29-MAY-11 503688659 29-MAY-11
    BS Key Size Device Type Elapsed Time Completion Time
    671267 5.14M DISK 00:00:03 29-MAY-11
    BP Key: 671270 Status: AVAILABLE Compressed: YES Tag: TAG20110529T220036
    Piece Name: F:\OSSTDBY_BACKUP\ARCH\OSONDEMA_ARC_20110529_G3MDIUS4_S25091_P1
    List of Archived Logs in backup set 671267
    Thrd Seq Low SCN Low Time Next SCN Next Time
    1 44838 503688661 29-MAY-11 503701009 29-MAY-11
    2 22519 503688659 29-MAY-11 503701007 29-MAY-11
    BS Key Size Device Type Elapsed Time Completion Time
    671302 16.55M DISK 00:00:05 30-MAY-11
    BP Key: 671305 Status: AVAILABLE Compressed: YES Tag: TAG20110530T000048
    Piece Name: F:\OSSTDBY_BACKUP\ARCH\OSONDEMA_ARC_20110530_G5MDJ5TG_S25093_P1
    List of Archived Logs in backup set 671302
    Thrd Seq Low SCN Low Time Next SCN Next Time
    1 44839 503701009 29-MAY-11 503716961 30-MAY-11
    2 22520 503701007 29-MAY-11 503716959 30-MAY-11
    BS Key Size Device Type Elapsed Time Completion Time
    671337 5.13M DISK 00:00:02 30-MAY-11
    BP Key: 671340 Status: AVAILABLE Compressed: YES Tag: TAG20110530T020121
    Piece Name: F:\OSSTDBY_BACKUP\ARCH\OSONDEMA_ARC_20110530_G7MDJCVI_S25095_P1
    List of Archived Logs in backup set 671337
    Thrd Seq Low SCN Low Time Next SCN Next Time
    1 44840 503716961 30-MAY-11 503729544 30-MAY-11
    2 22521 503716959 30-MAY-11 503729542 30-MAY-11
    BS Key Size Device Type Elapsed Time Completion Time
    671372 5.25M DISK 00:00:03 30-MAY-11
    BP Key: 671375 Status: AVAILABLE Compressed: YES Tag: TAG20110530T040055
    Piece Name: F:\OSSTDBY_BACKUP\ARCH\OSONDEMA_ARC_20110530_G9MDJJVN_S25097_P1
    the archives are in the location of
    F:\OSSTDBY_BACKUP\ARCH\OSONDEMA_ARC_20110529_G1MDINRJ_S25089_P1
    when it is not specified in catalog how can i delete archives from f location i.e
    F:\OSSTDBY_BACKUP\ARCH\OSONDEMA_ARC_20110529_G1MDINRJ_S25089_P1
    please let me know from rman how can i delete archives from f location...........................
    do i need to register with catalog?
    i have used Delete archivelog all completed before 'SYSDATE-10';
    but no use
    out put is
    MAN> Delete archivelog all completed before 'SYSDATE-10';
    eleased channel: ORA_DISK_1
    llocated channel: ORA_DISK_1
    hannel ORA_DISK_1: sid=311 devtype=DISK
    pecification does not match any archive log in the recovery catalog
    MAN> crosscheck backup archivelog all;
    please send me the query which i can delete ......................thanks
    cheers
    mahesh

    EdStevens wrote:
    856483 wrote:
    <snip>
    can i have you mobile contact phone number if possible?
    I have seen some pretty astonishing requests on this board, but this one really raises (or lowers) the bar. Just what is it your boss is paying you to do?
    Some listserves have lots of people giving their number. I find it odd that people would, but not astonishing for someone to ask. Outside the norm here, but how would someone know ahead of time? It's a bravely connected new world.

  • Duplexing the Archive Log - is there a potential performance hit

    Good Afternoon Oracle People -
    I apologize if this question is silly or out of place.
    Basically, we are looking at options for implementing a (cheap) DR solution for our Oracle Database.
    Bottom line objective is to have a second copy of our production system (not running, offline) with a usable archive log to recover from at a remote site with a similar set of disk technologies etc. 
    The sites are linked by 100MBPs link - so any access to secondary site is relatively fast.
    What I was thinking of doing is creating an iSCSI target on the destination SAN and adding this as a disk into the production database.  Then, I was going to go in and define a duplex archive log destination to this iSCSI target.
    My fear is that if the archiver waits for the write to the destination, I would imagine that this would slow down database access.  Is this a valid concern?  Or does Oracle treat the Duplex as a replicated (slower) copy?
    Again, sorry if this question is stupid - i have tried the google machine but couldn't find anything, and it isn't all that clear from the documentation. 
    Kind Regards,
    Aleksei

    Or does Oracle treat the Duplex as a replicated (slower) copy?
    Oracle treats it in a way you tell Oracle to treat it – please take a look at LOG_ARCHIVE_DEST_n parameters such as MANDATORY and OPTIONAL, MAX_FAILURE, etc
    There are two major things to consider:
    ->Is the throughput of the destination enough to handle max archive log generation?
    You need to take a look at the size of archive logs and how frequently they are
    generated during peak load.
    ->What happens when the destination is not available?
    HTH,
    Iordan Iotzov

  • Why the flashback log'size smaller than the archived log ?

    hi, all . why the flashback log'size smaller than the archived log ?

    Lonion wrote:
    hi, all . why the flashback log'size smaller than the archived log ?Both are different.
    Flash logs size depends on parameter DB_FLASHBACK_RETENTION_TARGET , how much you want to keep.
    Archive log files is dumped file of Online redo log files, It can be either size of Online redo log file size or less depending on online redo size when switch occurred.
    Some more information:-
    Flashback log files can be created only under the Flash Recovery Area (that must be configured before enabling the Flashback Database functionality). RVWR creates flashback log files into a directory named “FLASHBACK” under FRA. The size of every generated flashback log file is again under Oracle’s control. According to current Oracle environment – during normal database activity flashback log files have size of 8200192 bytes. It is very close value to the current redo log buffer size. The size of a generated flashback log file can differs during shutdown and startup database activities. Flashback log file sizes can differ during high intensive write activity as well.
    Source:- http://dba-blog.blogspot.in/2006/05/flashback-database-feature.html
    Edited by: CKPT on Jun 14, 2012 7:34 PM

  • RMAN-20242: specification does not match any archive log in the recovery ca

    Hi,
    I'm working with an 9i Oracle RAC (yes, I know this version is out of support...). I'm launching my backup from node 1 with this script
    run {
    sql 'alter system switch logfile'
    sql 'alter system archive log current'
    allocate channel TSM1 type 'sbt_tape' connect *
    parms='ENV=(TDPO_OPTFILE=/home/adsmadm/rman_INF01T01/opt/tdpo.opt)'
    allocate channel TSM2 type 'sbt_tape' connect *
    parms='ENV=(TDPO_OPTFILE=/home/adsmadm/rman_INF01T01/opt/tdpo.opt)'
    backup
    format 'brman_arch_%s_%p'
    (archivelog like '/logs/bbdd/oracle/INF01T01/archiver/%' channel TSM1 delete input )
    (archivelog like '/logs/bbdd/oracle/INF01T03/archiver/%' channel TSM2 delete input )
    release channel TSM2
    release channel TSM1
    And fail with this error:
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of backup command at 08/13/2012 22:36:43
    RMAN-06004: ORACLE error from recovery catalog database: RMAN-20242: specification does not match any archive log in the recovery catalog
    I've take a look to the archives directories and both nodes have archives:
    ora10g:/opt/ora10g > ls -lrt /logs/bbdd/oracle/INF01T01/archiver
    total 97896
    -rw-r----- 1 ora10g dba 2048 Aug 13 22:36 T0001S00000061440648489222.ARC
    -rw-rw---- 1 ora10g dba 38132224 Aug 13 22:36 T0001S00000061430648489222.ARC
    -rw-r----- 1 ora10g dba 11984896 Aug 13 22:36 T0002S00000044040648489222.ARC
    ora10g:/opt/ora10g > ls -lrt /logs/bbdd/oracle/INF01T03/archiver
    total 392984
    -rw-r----- 1 ora10g dba 49364992 Mar 24 2009 T0002S00000007020648489222.ARC
    -rw-r----- 1 ora10g dba 49364992 Mar 25 2009 T0002S00000007030648489222.ARC
    -rw-rw---- 1 ora10g dba 19314688 Mar 25 2009 T0002S00000007040648489222.ARC
    -rw-rw---- 1 ora10g dba 4733952 Mar 25 2009 T0002S00000007050648489222.ARC
    -rw-rw---- 1 ora10g dba 4608 Apr 09 2009 T0002S00000007440648489222.ARC
    -rw-rw---- 1 ora10g dba 2541056 Sep 26 2009 T0002S00000015420648489222.ARC
    -rw-rw---- 1 ora10g dba 49373184 Sep 28 2009 T0002S00000015430648489222.ARC
    -rw-rw---- 1 ora10g dba 3410432 Feb 11 2010 T0002S00000018680648489222.ARC
    -rw-rw---- 1 ora10g dba 599552 Feb 12 2010 T0002S00000018710648489222.ARC
    -rw-rw---- 1 ora10g dba 6574080 Mar 03 2010 T0002S00000019200648489222.ARC
    -rw-rw---- 1 ora10g dba 1663488 Mar 08 2010 T0002S00000019340648489222.ARC
    -rw-rw---- 1 ora10g dba 431104 Apr 07 2010 T0002S00000020160648489222.ARC
    -rw-rw---- 1 ora10g dba 13811712 Apr 19 2010 T0002S00000020460648489222.ARC
    I've tried to made a crosscheck but, only found node1 archives:
    RMAN> change archivelog all crosscheck;
    validation succeeded for archived log
    archive log filename=/logs/bbdd/oracle/INF01T01/archiver/T0001S00000061430648489222.ARC recid=10685 stamp=791246196
    validation succeeded for archived log
    archive log filename=/logs/bbdd/oracle/INF01T01/archiver/T0001S00000061440648489222.ARC recid=10686 stamp=791246196
    validation succeeded for archived log
    archive log filename=/logs/bbdd/oracle/INF01T01/archiver/T0002S00000044040648489222.ARC recid=10687 stamp=791246197
    Crosschecked 3 objects
    Any idea about the way to solve it?
    Thanks in advance!
    dbajug

    Hi,
    Connect to target through rman
    crosscheck archivelog all;
    Then re run the backup. This will work if those two locations provided are archive log destinations.
    In case the issue still persists then
    Connect to target through rman
    catalog start with '/logs/bbdd/oracle/INF01T01/archiver/';
    catalog start with '/logs/bbdd/oracle/INF01T03/archiver/';
    Then re run the backup.
    Thanks,
    Vivek
    Edited by: 952807 on Aug 16, 2012 5:21 PM

  • RMAN-20242: specification does not match any archive log in the catalog

    Dear Experts ,
    My rman script is as follows :
    4> run
    5> {
    6> allocate channel dev1 type disk format 'Z:\Rbackup\DMP\db_t%t_s%s_p%p';
    7> allocate channel dev2 type disk format 'Z:\Rbackup\DMP\db_t%t_s%s_p%p';
    8> backup database FILESPERSET 20 ;
    9> backup archivelog until time 'sysdate-1' delete all input ;
    10> release channel dev1 ;
    11> release channel dev2 ;
    12> }
    The above script is run every day at 2 PM .
    Today accidently I ran this script twice . The second run wiped out the dmp created first . In effect I lost all the archive logs of sysdate-2 to sysdate-1 . After this I took a full backup .
    Now though I have a full back , I have lost 1 days archive logs .
    Please tell me what are the consequences of this ?
    Regards
    Renjith Madhavan

    Dear ckpt .. the rman-20242 error was in a different scenario ... (sorry for the heading ) ... The one i am talking abt now didnt give any error .. back up was successful ....
    My question is what happens if I lost one days archive log though i have taken a full backup .... nothing will happen
    but if you restore any old database, which before "archives deleted" later you cannot apply. because those are not exist...
    but you have full backup then nothing to worry..
    I know this depends on the business requirements .. but could you suggest from your experience a few consequences (generic)if already backed up and those archives not exist in OS.... there is no worries on business requirements..because it is already in RMAN repositry

  • "specification does not match any archived log in the recovery catalog"

    I would like to know about this message.
    I Validated my backup and archivelogs yesterday.
    Today when I tried to do - CROSSCHECK ARCHIVELOG ALL;
    I gave me the following error -
    RMAN> crosscheck archivelog all;
    released channel: ORA_SBT_TAPE_1
    released channel: ORA_DISK_1
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=291 device type=DISK
    specification does not match any archived log in the recovery catalog
    when I tried to list all the archivelogs then also I am getting this message -
    RMAN> list archivelog all;
    specification does not match any archived log in the recovery catalog
    I have retention policy of 15 Days.
    Waiting for your inputs.

    Thanks Werner..This means that it is just a message.
    One more question related to Archive Log backups -
    traditionally DBAs used to take backup of an Archivelog by spupplying "alter system archive log current" before taking the backup. somewhat like -
    run
    allocate channel t1 device type 'sbt_tape' PARMS="ENV=(TDPO_OPTFILE=/oracle/TESTDB/tdpo.opt)";
    sql 'alter system archive log current';
    backup archivelog all delete input;
    release channel t1;
    But, since RMAN automatically archives CURRENT redo log at the start of the archivelog backup, do we REALLY need to pass sql 'alter system archive log current'; before starting the archivelog backup in the script?
    RMAN> backup archivelog all;
    Starting backup at 11-MAR-10
    current log archived ===========> RMAN automatically archived the CURRENT redo log
    released channel: ORA_DISK_1
    allocated channel: ORA_SBT_TAPE_1
    related question to this is - Since it generates one archived log everytime it takes the archived log backup, this backup may get hung if the archived destination is 100% full. Is there any way we can take the archive log backup without generating an extra archived log before the start of the backup?
    Thanks,
    Roopesh

Maybe you are looking for

  • ORA-14189: this physical attribute may not be specified for an index subpar

    Hi, I have many partition table and their subpartition and also I create index partition ans index subpartition. I moved partition table another new tablespace and then when I rebuild partition indexes I am getting below error. ORA-14189: this physic

  • Alter tablespace add datafile taking too much time

    Hi All, DB Version :10.2.0.1 OS Version: Windows Server 2003 32 Bit When i am trying to add datafile into tablespace it takes lot of time approx 8 hours.but earlier it take approx 40 to 60 mins When i check Alert log file i got the message: ORA-604 s

  • Syncing "on my mac" mailboxes

    Can I sync "on my mac" mailboxes to my iphone without using mobile me? Thank you

  • After Downloading itunes 8.2.1, I get the application could be opened error

    Guys, After downloading itunes 8.2.1 I get the following message when I try and open open itunes... "The itunes application could not be opened. An unknown error occurred (13008)" I WOULD SUGGEST NOT TO DOWNLOAD THIS UPDATE UNTIL APPLE HAVE FIXED IT!

  • Integer Validation Simple Type

    Hi to all we have requirement that the value entered should be with in the range 0 to 9999 For this in webdynpro for java i tried to create a simple type of integer  with minimum inclusive as 0 and maximum inclusive as 9999 but if we give say 99999 i