Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RMAN

RMAN

From: Ravindra Basavaraja <ravindra_at_sentica.com>
Date: Thu, 09 Aug 2001 16:03:24 -0700
Message-ID: <F001.003667A2.20010809160028@fatcity.com>

I have a script to take the incremental backup

run {
allocate channel t1 type 'SBT_TAPE';
backup
  incremental level 1
  tag Dialy_Incremental_Backup_Level1
  filesperset 5
  format 'Data_%d_%s_%p_%t'
    (database);
  sql 'alter system archive log current'; backup
  filesperset 20
  format 'Arch_%d_%s_%p_%t'
   (archivelog all delete input);
}

This will delete the archive files after the backup.I want to retain the archive files
for some reason(temporarily).I don't want the rman to delete the archive log files.I am
not able to find out the right command to get that done.

What change should I do in the script so that the archive log file are not deleted.

Thanks
Ravindra

--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author: Ravindra Basavaraja
  INET: ravindra_at_sentica.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Thu Aug 09 2001 - 18:03:24 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US