[Veritas-bu] bpend_notiify script - can I tell whether backup was successful ?
2003-12-24 03:36:15
Subject: |
[Veritas-bu] bpend_notiify script - can I tell whether backup was successful ? |
From: |
Paul.Porcelli AT aggreko.co DOT uk (Paul Porcelli) |
Date: |
Wed, 24 Dec 2003 08:36:15 -0000 |
This is a multi-part message in MIME format.
------_=_NextPart_001_01C3C9F8.FE8523A7
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Is there any way to tell whether the backup to tape part has been =
successful before=20
the bpend_notify script has been completed.
=20
We have a bpend_notify script which restarts an Oracle DB after a cold =
backup.
As part of theis script, I would like to remove some archive logs if the =
backup to tape=20
was successful.
=20
I thought I may be able to use bpdbjobs to check whether the backup =
status was 0
but the backup is listed as still active while the bpend script is =
running.
=20
Is there another way to handle this without running a cron job ?
=20
Many thanks
Paul
------_=_NextPart_001_01C3C9F8.FE8523A7
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 6.00.2800.1276" name=3DGENERATOR></HEAD>
<BODY>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN =
class=3D203013308-24122003>Is=20
there any way to tell whether the backup to tape part has been =
successful=20
before </SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN =
class=3D203013308-24122003>the=20
bpend_notify </SPAN></FONT><FONT face=3DArial color=3D#0000ff =
size=3D2><SPAN=20
class=3D203013308-24122003>script has been =
completed.</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D203013308-24122003></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN =
class=3D203013308-24122003>We=20
have a bpend_notify script which restarts an Oracle DB after a cold=20
backup.</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN =
class=3D203013308-24122003>As=20
part of theis script, I would like to remove some archive logs if the =
backup to=20
tape </SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN =
class=3D203013308-24122003>was=20
successful.</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D203013308-24122003></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN =
class=3D203013308-24122003>I=20
thought I may be able to use bpdbjobs to check whether the backup status =
was=20
0</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN =
class=3D203013308-24122003>but=20
the backup is listed as still active while the bpend script is=20
running.</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D203013308-24122003></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN =
class=3D203013308-24122003>Is=20
there another way to handle this without running a cron job=20
?</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D203013308-24122003></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN =
class=3D203013308-24122003>Many=20
thanks</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D203013308-24122003>Paul</SPAN></FONT></DIV><p> </p>
<table border=3D"0" cellspacing=3D"1" style=3D"border-collapse: =
collapse" bordercolor=3D"#111111" width=3D"765" id=3D"AutoNumber1" =
height=3D"1">
<tr>
<td width=3D"586" height=3D"18" colspan=3D"2"><font face=3DArial =
size=3D2><b>Visit us at
<A =
href=3D"http://www.aggreko.com">www.aggreko.com</A></b></font><br><br></t=
d>
<td width=3D"27" height=3D"18"></td>
</tr>
<tr>
<td width=3D"740" height=3D"16" colspan=3D"3"><hr></td>
</tr>
<tr>
<td width=3D"14" height=3D"44"> </td>
<td width=3D"699" height=3D"44"><font face=3DArial SIZE=3D"2">
<p style=3D"margin-top: 0; margin-bottom: 0">Confidentiality=20
Notice: This communication and any accompanying attachments=20
contain confidential information intended for a specific individual=20
and purpose. This communication is private and protected by=20
law. If you are not the intended recipient, you are hereby=20
respectfully notified that any disclosures, copying, forwarding or=20
distribution, or the taking of any action based on the contents of=20
this communication is strictly prohibited.</font></td>
<td width=3D"27" height=3D"44"> </td>
</tr>
<tr>
<td width=3D"740" height=3D"22" colspan=3D"3"><hr></td>
</tr>
</table>
<p style=3D"margin-top: 0; margin-bottom: 0">
</BODY></HTML>
------_=_NextPart_001_01C3C9F8.FE8523A7--
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Veritas-bu] bpend_notiify script - can I tell whether backup was successful ?,
Paul Porcelli <=
|
|
|