Veritas-bu

[Veritas-bu] Delete Data after backup

2006-03-30 11:36:23
Subject: [Veritas-bu] Delete Data after backup
From: Mark.Donaldson AT cexp DOT com (Mark.Donaldson AT cexp DOT com)
Date: Thu, 30 Mar 2006 09:36:23 -0700
This is a multi-part message in MIME format.

------_=_NextPart_001_01C65418.14F8619A
Content-Type: text/plain;
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

No need to do fancy scripting.
=20
Create an archive schedule within the policy, same retention, pool, etc. =
as the regular backup schedule.
=20
Use "bparchive" and a list of files supplied to bparchive via the "-f" =
option.  bparchive works like backup but the files in the filelist are =
deleted from the client if the backup was successful. (Careful, =
directories are deleted, too.  Create a list of *files*, not a top-level =
directory.)
=20
Magic - no bpend_notify or anything (although that method would work). =20
=20
You could call the bparchive job via cron or via a bpstart_notify =
script.  bparchive cannot be scheduled using the Netbackup scheduler =
like a regular backup schedule.  It's a "user driven" command.
=20
-M

-----Original Message-----
From: veritas-bu-admin AT mailman.eng.auburn DOT edu =
[mailto:veritas-bu-admin AT mailman.eng.auburn DOT edu]On Behalf Of WEAVER, =
Simon
Sent: Wednesday, March 29, 2006 2:25 AM
To: veritas-bu AT mailman.eng.auburn DOT edu
Subject: [Veritas-bu] Delete Data after backup


Morning
Got one Server, contained within a policy of other servers (5 servers =
backed up in 1 policy)
=20
One of the Servers needs its Data DELETED after the backup has been =
created.
=20
Any best way forwards on this that can be acheieved within the Backup =
Policy or on the client itself?
=20

Regards

Simon Weaver
3rd Line Technical Support
Windows Domain Administrator=20

EADS Astrium Limited, B32AA IM (DCS)
Anchorage Road, Portsmouth, PO3 5PU

Email:  <mailto:Simon.Weaver AT Astrium-eads DOT net> =
Simon.Weaver AT Astrium-eads DOT net

=20
This email is for the intended addressee only.
If you have received it in error then you must not use, retain, =
disseminate or otherwise deal with it.
Please notify the sender by return email.
The views of the author may not necessarily constitute the views of EADS =
Astrium Limited.
Nothing in this email shall bind EADS Astrium Limited in any contract or =
obligation.

EADS Astrium Limited, Registered in England and Wales No. 2449259
Registered Office: Gunnels Wood Road, Stevenage, Hertfordshire, SG1 2AS, =
England
=09


------_=_NextPart_001_01C65418.14F8619A
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">
<TITLE>Message</TITLE>

<META content=3D"MSHTML 6.00.2800.1515" name=3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN class=3D907343116-30032006><FONT face=3DArial color=3D#0000ff =
size=3D2>No=20
need to do fancy scripting.</FONT></SPAN></DIV>
<DIV><SPAN class=3D907343116-30032006><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D907343116-30032006><FONT face=3DArial color=3D#0000ff =
size=3D2>Create=20
an archive schedule within the policy, same retention, pool, etc. as the =
regular=20
backup schedule.</FONT></SPAN></DIV>
<DIV><SPAN class=3D907343116-30032006><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D907343116-30032006><FONT face=3DArial color=3D#0000ff =
size=3D2>Use=20
"bparchive" and a list of files supplied to bparchive via the "-f" =
option.&nbsp;=20
bparchive works like backup but the files in the filelist are deleted =
from the=20
client if the backup was successful. (Careful, directories are deleted,=20
too.&nbsp; Create a list of *files*, not a top-level=20
directory.)</FONT></SPAN></DIV>
<DIV><SPAN class=3D907343116-30032006><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D907343116-30032006><FONT face=3DArial color=3D#0000ff =
size=3D2>Magic=20
- no bpend_notify or anything (although that method would work).&nbsp;=20
</FONT></SPAN></DIV>
<DIV><SPAN class=3D907343116-30032006><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D907343116-30032006><FONT face=3DArial color=3D#0000ff =
size=3D2>You=20
could call the bparchive job via cron or via a bpstart_notify =
script.&nbsp;=20
bparchive cannot be scheduled using the Netbackup scheduler like a =
regular=20
backup schedule.&nbsp; It's a "user driven" command.</FONT></SPAN></DIV>
<DIV><SPAN class=3D907343116-30032006><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D907343116-30032006><FONT face=3DArial color=3D#0000ff =

size=3D2>-M</FONT></SPAN></DIV>
<BLOCKQUOTE>
  <DIV class=3DOutlookMessageHeader dir=3Dltr align=3Dleft><FONT =
face=3DTahoma=20
  size=3D2>-----Original Message-----<BR><B>From:</B>=20
  veritas-bu-admin AT mailman.eng.auburn DOT edu=20
  [mailto:veritas-bu-admin AT mailman.eng.auburn DOT edu]<B>On Behalf Of =
</B>WEAVER,=20
  Simon<BR><B>Sent:</B> Wednesday, March 29, 2006 2:25 AM<BR><B>To:</B>=20
  veritas-bu AT mailman.eng.auburn DOT edu<BR><B>Subject:</B> [Veritas-bu] =
Delete Data=20
  after backup<BR><BR></FONT></DIV>
  <DIV><SPAN class=3D280232209-29032006><FONT face=3DArial=20
  color=3D#0000ff><STRONG><EM>Morning</EM></STRONG></FONT></SPAN></DIV>
  <DIV><SPAN class=3D280232209-29032006><STRONG><EM><FONT face=3DArial=20
  color=3D#0000ff>Got one Server, contained within a policy of other =
servers (5=20
  servers backed up in 1 policy)</FONT></EM></STRONG></SPAN></DIV>
  <DIV><SPAN class=3D280232209-29032006><STRONG><EM><FONT face=3DArial=20
  color=3D#0000ff></FONT></EM></STRONG></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=3D280232209-29032006><STRONG><EM><FONT face=3DArial=20
  color=3D#0000ff>One of the Servers needs its Data DELETED after the =
backup has=20
  been created.</FONT></EM></STRONG></SPAN></DIV>
  <DIV><SPAN class=3D280232209-29032006><STRONG><EM><FONT face=3DArial=20
  color=3D#0000ff></FONT></EM></STRONG></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=3D280232209-29032006><STRONG><EM><FONT face=3DArial=20
  color=3D#0000ff>Any best way forwards on this that can be acheieved =
within the=20
  Backup Policy or on the client =
itself?</FONT></EM></STRONG></SPAN></DIV>
  <DIV>&nbsp;</DIV>
  <P align=3Dleft><SPAN lang=3Den-gb><EM><FONT color=3D#3f6296><FONT =
size=3D2><FONT=20
  face=3DArial><FONT=20
  color=3D#0000ff>Regards</FONT></FONT></FONT></FONT></EM></SPAN></P>
  <P align=3Dleft><SPAN lang=3Den-gb><EM><FONT color=3D#3f6296><FONT =
size=3D2><FONT=20
  face=3DArial><FONT color=3D#0000ff>Simon=20
  Weaver</FONT><BR></FONT></FONT></FONT><FONT face=3DArial =
color=3D#0000a0=20
  size=3D2><STRONG>3rd Line Technical Support<BR>Windows Domain=20
  Administrator</STRONG></FONT></EM><FONT face=3DArial> =
</FONT></SPAN></P>
  <P><SPAN lang=3Den-gb><I><FONT face=3DArial color=3D#0000ff =
size=3D2>EADS Astrium=20
  Limited, B32AA IM (DCS)</FONT></I></SPAN><SPAN lang=3Den-gb><BR><FONT =
face=3DArial=20
  color=3D#0000ff size=3D2><EM>Anchorage Road, Portsmouth, PO3=20
  5PU</EM></FONT></SPAN></P>
  <P><SPAN lang=3Den-gb><FONT face=3DArial color=3D#0000ff =
size=3D2><EM>Email:=20
  </EM></FONT><A href=3D"mailto:Simon.Weaver AT Astrium-eads DOT net"><FONT =
face=3DArial=20
  size=3D2><EM>Simon.Weaver AT Astrium-eads DOT net</EM></FONT></A></SPAN></P>
  <DIV>&nbsp;</DIV>
  <TABLE>
    <TBODY>
    <TR>
      <TD bgColor=3D#ffffff><FONT color=3D#000000>This email is for the =
intended=20
        addressee only.<BR>If you have received it in error then you =
must not=20
        use, retain, disseminate or otherwise deal with it.<BR>Please =
notify the=20
        sender by return email.<BR>The views of the author may not =
necessarily=20
        constitute the views of EADS Astrium Limited.<BR>Nothing in this =
email=20
        shall bind EADS Astrium Limited in any contract or=20
        obligation.<BR><BR>EADS Astrium Limited, Registered in England =
and Wales=20
        No. 2449259<BR>Registered Office: Gunnels Wood Road, Stevenage,=20
        Hertfordshire, SG1 2AS,=20
England<BR></FONT></TD></TR></TBODY></TABLE></BLOCKQUOTE></BODY></HTML>

------_=_NextPart_001_01C65418.14F8619A--

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