Veritas-bu

[Veritas-bu] Netbackup expiry of rman backups with infinite retentionperiod

2006-03-23 09:50:35
Subject: [Veritas-bu] Netbackup expiry of rman backups with infinite retentionperiod
From: Peter.Hitchman AT thomson DOT com (Peter.Hitchman AT thomson DOT com)
Date: Thu, 23 Mar 2006 14:50:35 -0000
This is a multi-part message in MIME format.

------_=_NextPart_001_01C64E89.243CC3B3
Content-Type: text/plain;
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi,
Thanks, but I have done the rman "change ... delete ..." bit. What =
concerns me is that NB is not removing the backup images from tape.
=20
Regards
=20
Pete

-----Original Message-----
From: andrew.x.smith AT jpmchase DOT com [mailto:andrew.x.smith AT jpmchase DOT 
com]
Sent: 23 March 2006 14:39
To: Hitchman, Peter (TS UK)
Cc: veritas-bu AT mailman.eng.auburn DOT edu
Subject: Re: [Veritas-bu] Netbackup expiry of rman backups with infinite =
retentionperiod



Is this the command ur after?=20

The change ... delete command removes references to a backup piece, =
datafile copy, or archivelog from the control file and recovery catalog. =
It physically deletes the file. This command works with or without a =
recovery catalog.=20





        <Peter.Hitchman AT thomson DOT com>=20
Sent by: veritas-bu-admin AT mailman.eng.auburn DOT edu=20


23/03/2006 14:10=20


       =20
        To:        <veritas-bu AT mailman.eng.auburn DOT edu>=20
        cc:        =20
        Subject:        [Veritas-bu] Netbackup expiry of rman backups =
with infinite retention period



Hi,
I have recently set-up some Oracle rman backups with Netbackup 4.5 on =
Solaris.
The retention period in the policy is set to infinite for both the =
automatic and application backup schedules. I wanted to check that =
Netbackup would clean up the backups when I obsolete them in rman. But =
having done the obsolete in rman I have found that Netbackup has not =
removed the backup images from the tapes, even though they are gone from =
the rman catalog. I tried running "bpimage -cleanup -client <name>" but =
the bpdbm log showed that nothing was removed.

There was an oddity with the Netbackup configuration on the client, when =
the original backup was made, the bp.conf contained the wrong client =
name. Could this be causing a problem, now that the client name has been =
changed?

Am I on the wrong track here? According to the manual when rman deletes =
a backup-piece Netbackup should get rid of it regardless of the =
retention period. Does anyone know of a way I can sort this out, so that =
when rman deletes the backup, Netbackup does as well?

Thanks

Pete

_______________________________________________
Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu





------_=_NextPart_001_01C64E89.243CC3B3
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=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">


<META content=3D"MSHTML 5.50.4807.2300" name=3DGENERATOR></HEAD>
<BODY>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D971244914-23032006>Hi,</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D971244914-23032006>Thanks, but I have done the rman "change ... =
delete=20
..." bit. What concerns me is that NB is not removing the backup images =
from=20
tape.</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D971244914-23032006></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D971244914-23032006>Regards</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D971244914-23032006></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D971244914-23032006>Pete</SPAN></FONT></DIV>
<BLOCKQUOTE>
  <DIV class=3DOutlookMessageHeader dir=3Dltr align=3Dleft><FONT =
face=3DTahoma=20
  size=3D2>-----Original Message-----<BR><B>From:</B> =
andrew.x.smith AT jpmchase DOT com=20
  [mailto:andrew.x.smith AT jpmchase DOT com]<BR><B>Sent:</B> 23 March 2006=20
  14:39<BR><B>To:</B> Hitchman, Peter (TS UK)<BR><B>Cc:</B>=20
  veritas-bu AT mailman.eng.auburn DOT edu<BR><B>Subject:</B> Re: 
[Veritas-bu]=20
  Netbackup expiry of rman backups with infinite=20
  retentionperiod<BR><BR></FONT></DIV><BR><FONT face=3Dsans-serif =
size=3D2>Is this=20
  the command ur after?</FONT> <BR><BR><FONT face=3Dsans-serif =
size=3D2>The change=20
  ... delete command removes references to a backup piece, datafile =
copy, or=20
  archivelog from the control file and recovery catalog. It physically =
deletes=20
  the file. This command works with or without a recovery =
catalog.</FONT>=20
  <BR><BR><BR><BR><BR>
  <TABLE width=3D"100%">
    <TBODY>
    <TR vAlign=3Dtop>
      <TD>
      <TD><FONT face=3Dsans-serif=20
        size=3D1><B>&lt;Peter.Hitchman AT thomson DOT com&gt;</B></FONT> =
<BR><FONT=20
        face=3Dsans-serif size=3D1>Sent by:=20
        veritas-bu-admin AT mailman.eng.auburn DOT edu</FONT>=20
        <P><FONT face=3Dsans-serif size=3D1>23/03/2006 14:10</FONT> =
<BR></P>
      <TD><FONT face=3DArial size=3D1>&nbsp; &nbsp; &nbsp; &nbsp; =
</FONT><BR><FONT=20
        face=3Dsans-serif size=3D1>&nbsp; &nbsp; &nbsp; &nbsp; To: =
&nbsp; &nbsp;=20
        &nbsp; &nbsp;&lt;veritas-bu AT mailman.eng.auburn DOT edu&gt;</FONT> =
<BR><FONT=20
        face=3Dsans-serif size=3D1>&nbsp; &nbsp; &nbsp; &nbsp; cc: =
&nbsp; &nbsp;=20
        &nbsp; &nbsp;</FONT> <BR><FONT face=3Dsans-serif size=3D1>&nbsp; =
&nbsp;=20
        &nbsp; &nbsp; Subject: &nbsp; &nbsp; &nbsp; &nbsp;[Veritas-bu] =
Netbackup=20
        expiry of rman backups with infinite retention=20
  period</FONT></TR></TBODY></TABLE><BR><BR><BR><FONT face=3D"Courier =
New"=20
  size=3D2>Hi,<BR>I have recently set-up some Oracle rman backups with =
Netbackup=20
  4.5 on Solaris.<BR>The retention period in the policy is set to =
infinite for=20
  both the automatic and application backup schedules. I wanted to check =
that=20
  Netbackup would clean up the backups when I obsolete them in rman. But =
having=20
  done the obsolete in rman I have found that Netbackup has not removed =
the=20
  backup images from the tapes, even though they are gone from the rman =
catalog.=20
  I tried running "bpimage -cleanup -client &lt;name&gt;" but the bpdbm =
log=20
  showed that nothing was removed.<BR><BR>There was an oddity with the =
Netbackup=20
  configuration on the client, when the original backup was made, the =
bp.conf=20
  contained the wrong client name. Could this be causing a problem, now =
that the=20
  client name has been changed?<BR><BR>Am I on the wrong track here? =
According=20
  to the manual when rman deletes a backup-piece Netbackup should get =
rid of it=20
  regardless of the retention period. Does anyone know of a way I can =
sort this=20
  out, so that when rman deletes the backup, Netbackup does as=20
  =
well?<BR><BR>Thanks<BR><BR>Pete<BR><BR>__________________________________=
_____________<BR>Veritas-bu=20
  maillist &nbsp;-=20
  =
&nbsp;Veritas-bu AT mailman.eng.auburn DOT 
edu<BR>http://mailman.eng.auburn.edu/=
mailman/listinfo/veritas-bu<BR></FONT><BR><BR></BLOCKQUOTE></BODY></HTML>=


------_=_NextPart_001_01C64E89.243CC3B3--

<Prev in Thread] Current Thread [Next in Thread>