Return-Path: <root@fatcity.cts.com>
Received: from ensim.rackshack.net (root@localhost)
 by orafaq.net (8.11.6/8.11.6) with ESMTP id h1PLkoP10564
 for <oracle-l@orafaq.net>; Tue, 25 Feb 2003 15:46:50 -0600
X-ClientAddr: 209.68.248.164
Received: from newsfeed.cts.com (newsfeed.cts.com [209.68.248.164])
 by ensim.rackshack.net (8.11.6/8.11.6) with ESMTP id h1PLkoh10558
 for <oracle-l@orafaq.net>; Tue, 25 Feb 2003 15:46:50 -0600
Received: from fatcity.UUCP (uucp@localhost)
 by newsfeed.cts.com (8.9.3/8.9.3) with UUCP id JAA45450;
 Tue, 25 Feb 2003 09:11:40 -0800 (PST)
Received: by fatcity.com (26-Feb-2001/v1.0g-b72/bab) via UUCP id 00558C09; Tue, 25 Feb 2003 08:59:22 -0800
Message-ID: <F001.00558C09.20030225085922@fatcity.com>
Date: Tue, 25 Feb 2003 08:59:22 -0800
To: Multiple recipients of list ORACLE-L <ORACLE-L@fatcity.com>
X-Comment: Oracle RDBMS Community Forum
X-Sender: "Ruth Gramolini" <rgramolini@tax.state.vt.us>
Sender: root@fatcity.com
Reply-To: ORACLE-L@fatcity.com
Errors-To: ML-ERRORS@fatcity.com
From: "Ruth Gramolini" <rgramolini@tax.state.vt.us>
Subject: Re: delete archivelog... backed up 1 times to tape
Organization: Fat City Network Services, San Diego, California
X-ListServer: v1.0g, build 72; ListGuru (c) 1996-2001 Bruce A. Bergman
Precedence: bulk
Mime-Version: 1.0
Content-Type: multipart/alternative;	boundary="----=_NextPart_000_0472_01C2DCC4.D2B4F310"
------=_NextPart_000_0472_01C2DCC4.D2B4F310
Content-Type: text/plain;
 charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

The archivelogs have to have been backed up by rman for rman to delete =
them.  Thisscript is the one we use. =20

  execute script alloc_name1_disk;
  backup
    format '/dbback/al_%sdbname_%p'
    (archivelog all
     delete input);
  execute script rel_pa1_disk;
}
 =20
HTH,=20
Ruth   =20
  ----- Original Message -----=20
  From: Ed Bittel=20
  To: Multiple recipients of list ORACLE-L=20
  Sent: Thursday, February 20, 2003 9:23 AM
  Subject: RMAN: delete archivelog... backed up 1 times to tape


  I am trying to use the DELETE ARCHIVELOG command that is available in
  version 9.2.0.1. The complete syntax I wish to use is this command:=20
         RMAN>    delete archivelog until time 'trunc(sysdate)-2' backed =
up 1
  times to tape;=20

  I have tried this as part of a backup script and as a standalone =
command
  after allocating a maintenance channel, but it doesn't work.  =
Furthermore,
  this command DOES NOT return records:=20

         RMAN> list archivelog all backed up 1 times to tape;=20

  But this command DOES return records:=20

        RMAN> list archivelog all backed up 0 times to tape;=20

  I know I have backups of archivelogs on tape because they are reported =
when
  I issue this command:=20

        RMAN> list backup of archivelog from time 'sysdate-3' device =
type sbt;


  Does anyone know what is going on here?=20


  Thanks,=20

  Ed=20

  /************************
   RDBMS Version: 9.2.0.1
   OS: Sun Solaris 8
   Product: RMAN (9.2.0.1)
  *************************/
  --=20
  Please see the official ORACLE-L FAQ: http://www.orafaq.net
  --=20
  Author: Ed Bittel
    INET: grep_oracle@hotmail.com

  Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
  San Diego, California        -- Mailing list and web hosting services
  ---------------------------------------------------------------------
  To REMOVE yourself from this mailing list, send an E-Mail message
  to: ListGuru@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).


------=_NextPart_000_0472_01C2DCC4.D2B4F310
Content-Type: text/html;
 charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2716.2200" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT size=3D2>The archivelogs have to have been backed up by rman =
for rman=20
to delete them.&nbsp; Thisscript is the one we use.&nbsp; </FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>&nbsp; execute script alloc_name1_disk;<BR>&nbsp;=20
backup<BR>&nbsp;&nbsp;&nbsp; format=20
'/dbback/al_%sdbname_%p'<BR>&nbsp;&nbsp;&nbsp; (archivelog=20
all<BR>&nbsp;&nbsp;&nbsp;&nbsp; delete input);<BR>&nbsp; execute script=20
rel_pa1_disk;<BR>}<BR>&nbsp;&nbsp;</FONT></DIV>
<DIV><FONT size=3D2>HTH,&nbsp;</FONT></DIV>
<DIV><FONT size=3D2>Ruth&nbsp;&nbsp;&nbsp; </FONT></DIV>
<BLOCKQUOTE=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV=20
  style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
  <A title=3Dgrep_oracle@hotmail.com =
href=3D"mailto:grep_oracle@hotmail.com">Ed=20
  Bittel</A> </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A =
title=3DORACLE-L@fatcity.com=20
  href=3D"mailto:ORACLE-L@fatcity.com">Multiple recipients of list =
ORACLE-L</A>=20
  </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Thursday, February 20, =
2003 9:23=20
  AM</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> RMAN: delete =
archivelog...=20
  backed up 1 times to tape</DIV>
  <DIV><BR></DIV>I am trying to use the DELETE ARCHIVELOG command that =
is=20
  available in<BR>version 9.2.0.1. The complete syntax I wish to use is =
this=20
  command: <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
RMAN&gt;&nbsp;&nbsp;&nbsp;=20
  delete archivelog until time 'trunc(sysdate)-2' backed up 1<BR>times =
to tape;=20
  <BR><BR>I have tried this as part of a backup script and as a =
standalone=20
  command<BR>after allocating a maintenance channel, but it doesn't =
work.&nbsp;=20
  Furthermore,<BR>this command DOES NOT return records:=20
  <BR><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; RMAN&gt; list archivelog =
all=20
  backed up 1 times to tape; <BR><BR>But this command DOES return =
records:=20
  <BR><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; RMAN&gt; list archivelog all =
backed up=20
  0 times to tape; <BR><BR>I know I have backups of archivelogs on tape =
because=20
  they are reported when<BR>I issue this command:=20
  <BR><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; RMAN&gt; list backup of =
archivelog from=20
  time 'sysdate-3' device type sbt;<BR><BR><BR>Does anyone know what is =
going on=20
  here? <BR><BR><BR>Thanks, <BR><BR>Ed=20
  <BR><BR>/************************<BR>&nbsp;RDBMS Version: =
9.2.0.1<BR>&nbsp;OS:=20
  Sun Solaris 8<BR>&nbsp;Product: RMAN=20
  (9.2.0.1)<BR>*************************/<BR>-- <BR>Please see the =
official=20
  ORACLE-L FAQ: <A =
href=3D"http://www.orafaq.net">http://www.orafaq.net</A><BR>--=20
  <BR>Author: Ed Bittel<BR>&nbsp; INET: <A=20
  =
href=3D"mailto:grep_oracle@hotmail.com">grep_oracle@hotmail.com</A><BR><B=
R>Fat=20
  City Network Services&nbsp;&nbsp;&nbsp; -- 858-538-5051 <A=20
  href=3D"http://www.fatcity.com">http://www.fatcity.com</A><BR>San =
Diego,=20
  California&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- Mailing list =
and web=20
  hosting=20
  =
services<BR>-------------------------------------------------------------=
--------<BR>To=20
  REMOVE yourself from this mailing list, send an E-Mail message<BR>to: =
<A=20
  href=3D"mailto:ListGuru@fatcity.com">ListGuru@fatcity.com</A> (note =
EXACT=20
  spelling of 'ListGuru') and in<BR>the message BODY, include a line =
containing:=20
  UNSUB ORACLE-L<BR>(or the name of mailing list you want to be removed=20
  from).&nbsp; You may<BR>also send the HELP command for other =
information (like=20
  subscribing).<BR></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_0472_01C2DCC4.D2B4F310--

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Ruth Gramolini
  INET: rgramolini@tax.state.vt.us

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru@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).

