Veritas-bu

[Veritas-bu] Expiring all primary tapes

2005-05-05 07:45:31
Subject: [Veritas-bu] Expiring all primary tapes
From: Dean <dean.deano AT gmail DOT com> (Dean)
Date: Thu, 5 May 2005 21:45:31 +1000
------=_Part_20637_14117537.1115293531259
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

I didn't know about that bpchangeprimary command. Good one.

I used to do something like this with NBU 3.4 on Unix....

bpimagelist -class <classname> -hoursago 100 -idonly |awk '{print=20
"bpduplicate -backupid "$4" -npc 2"}'|/bin/sh

(not sure about the $4)
Obviously I would adjust the parameters of bpimagelist to get the images I=
=20
wanted.
The bpchangeprimary command is probably easier to use - and would work on=
=20
Windows!.


On 5/5/05, Greenberg, Katherine A <GreenbergKA AT aetna DOT com> wrote:
>=20
> You want to use the bpchangeprimary command.
>=20
> Here's the syntax:
>=20
> Allows changing one copy per image, of a batch of images, to primary.
> Usage: bpchangeprimary -copy number | -pool volume_pool | -group
> volume_group
> [-id backup_id] [-M master_server]
> bpchangeprimary -copy number | -pool volume_pool | -group
> volume_group
> [-sl schedule_name] [-pn policy_name]
> [-st schedule_type] [-pt policy_type]
> [-cl client_name]
> [-kw keyword]
> [-sd mm/dd/yyyy [ HH:MM:SS ] ] [-ed mm/dd/yyyy [ HH:MM:SS ]
> ]
> [-M master_server]
>=20
> ~Kate
>=20
> -----Original Message-----
> From: "Bob" Dobbs [mailto:jellokitty AT gmail DOT com]
> Sent: Wednesday, May 04, 2005 1:07 PM
> To: Greenberg, Katherine A
> Subject: Re: [Veritas-bu] Expiring all primary tapes
>=20
> It is being done at a DR site. Essentially I am looking for a single
> command to either expire all primaries or promote all copy 1's to
> primaries rather than doing each individually. Thanks.
>=20
> On 5/4/05, Greenberg, Katherine A <GreenbergKA AT aetna DOT com> wrote:
> > Are you doing this in your primary data center or in a D/R site? I
> > wouldn't expire the primary copies, but that's just me...
> >
> > Rather, I'd rebuild the master at the D/R site (where hopefully all
> > the duplicated tapes are located) and then promote the Dup's to
> > primary copies...
> >
> > Just a thought...
> >
> > ~Kate
> >
> >
> > -----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 "Bob"
> > Dobbs
> > Sent: Wednesday, May 04, 2005 12:56 PM
> > To: veritas-bu AT mailman.eng.auburn DOT edu
> > Subject: [Veritas-bu] Expiring all primary tapes
> >
> > We will be simulating a disaster in a couple of weeks and I will only
> > have "Copy 1" of each of our backup tapes, the primary copies of the
> > tapes will not be available.
> >
> > Does anyone have the command to expire all primary tape copies handy?
> > Thanks.
> >
> > _______________________________________________
> > Veritas-bu maillist - Veritas-bu AT mailman.eng.auburn DOT edu
> > http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
> >
> > -----------------------------------------
> > This e-mail may contain confidential or privileged information. If
> > you think you have received this e-mail in error, please advise the
> > sender by reply e-mail and then delete this e-mail immediately. Thank
>=20
> > you. Aetna
> >
> >
>=20
> _______________________________________________
> Veritas-bu maillist - Veritas-bu AT mailman.eng.auburn DOT edu
> http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
>

------=_Part_20637_14117537.1115293531259
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

I didn't know about that bpchangeprimary command. Good one.<br>
<br>
I used to do something like this with NBU 3.4 on Unix....<br>
<br>
bpimagelist -class &lt;classname&gt; -hoursago 100 -idonly |awk '{print &qu=
ot;bpduplicate -backupid &quot;$4&quot; -npc 2&quot;}'|/bin/sh<br>
<br>
(not sure about the $4)<br>
Obviously I would adjust the parameters of bpimagelist to get the images I =
wanted.<br>
The bpchangeprimary command is probably easier to use - and would work on W=
indows!.<br>
<br><br><div><span class=3D"gmail_quote">On 5/5/05, <b class=3D"gmail_sende=
rname">Greenberg, Katherine A</b> &lt;<a href=3D"mailto:[email protected]=
om">GreenbergKA AT aetna DOT com</a>&gt; wrote:</span><blockquote 
class=3D"gmail_q=
uote" style=3D"border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0=
pt 0.8ex; padding-left: 1ex;">
You want to use the bpchangeprimary command.<br><br>Here's the syntax:<br><=
br>Allows changing one copy per image, of a batch of images, to primary.<br=
>Usage: bpchangeprimary -copy number | -pool volume_pool | -group<br>volume=
_group
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [-id backu=
p_id] [-M master_server]<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; bpchangepr=
imary -copy number | -pool volume_pool | -group<br>volume_group<br>&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [-sl schedule_name] [-=
pn policy_name]<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp; [-st schedule_type] [-pt policy_type]
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [-cl clien=
t_name]<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [-k=
w keyword]<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
[-sd mm/dd/yyyy&nbsp;&nbsp;[ HH:MM:SS ] ] [-ed mm/dd/yyyy&nbsp;&nbsp;[
HH:MM:SS ]<br>]<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp; [-M master_server]<br><br>~Kate<br><br>-----Original Message-----<br>F=
rom: &quot;Bob&quot; Dobbs [mailto:<a href=3D"mailto:jellokitty AT gmail DOT 
com">=
jellokitty AT gmail DOT com</a>]<br>Sent: Wednesday, May 04, 2005 1:07 PM
<br>To: Greenberg, Katherine A<br>Subject: Re: [Veritas-bu] Expiring all pr=
imary tapes<br><br>It is being done at a DR site. Essentially I am looking =
for a single<br>command to either expire all primaries or promote all copy =
1's to
<br>primaries rather than doing each individually. Thanks.<br><br>On 5/4/05=
, Greenberg, Katherine A &lt;<a href=3D"mailto:GreenbergKA AT aetna DOT 
com">Green=
bergKA AT aetna DOT com</a>&gt; wrote:<br>&gt; Are you doing this in your 
primary =
data center or in a D/R site? I
<br>&gt; wouldn't expire the primary copies, but that's just me...<br>&gt;<=
br>&gt; Rather, I'd rebuild the master at the D/R site (where hopefully all=
<br>&gt; the duplicated tapes are located) and then promote the Dup's to
<br>&gt; primary copies...<br>&gt;<br>&gt; Just a thought...<br>&gt;<br>&gt=
; ~Kate<br>&gt;<br>&gt;<br>&gt; -----Original Message-----<br>&gt; From: <a=
 href=3D"mailto:veritas-bu-admin AT mailman.eng.auburn DOT 
edu">veritas-bu-admin@m=
ailman.eng.auburn.edu
</a><br>&gt; [mailto:<a href=3D"mailto:veritas-bu-admin AT mailman DOT 
eng.auburn.=
edu">veritas-bu-admin AT mailman.eng.auburn DOT edu</a>] On Behalf Of 
&quot;Bob&qu=
ot;<br>&gt; Dobbs<br>&gt; Sent: Wednesday, May 04, 2005 12:56 PM<br>&gt; To=
:=20
<a href=3D"mailto:veritas-bu AT mailman.eng.auburn DOT edu">veritas-bu AT 
mailman DOT eng=
.auburn.edu</a><br>&gt; Subject: [Veritas-bu] Expiring all primary tapes<br=
>&gt;<br>&gt; We will be simulating a disaster in a couple of weeks and I w=
ill only
<br>&gt; have &quot;Copy 1&quot; of each of our backup tapes, the primary c=
opies of the<br>&gt; tapes will not be available.<br>&gt;<br>&gt; Does anyo=
ne have the command to expire all primary tape copies handy?<br>&gt; Thanks=
.
<br>&gt;<br>&gt; _______________________________________________<br>&gt; Ve=
ritas-bu maillist&nbsp;&nbsp;-&nbsp;&nbsp;<a href=3D"mailto:Veritas-bu@mail=
man.eng.auburn.edu">Veritas-bu AT mailman.eng.auburn DOT edu</a><br>&gt; <a 
href=
=3D"http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu";>
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu</a><br>&gt;<br>&g=
t; -----------------------------------------<br>&gt; This e-mail may contai=
n confidential or privileged information.&nbsp;&nbsp;If<br>&gt; you think y=
ou have received this e-mail in error, please advise the
<br>&gt; sender by reply e-mail and then delete this e-mail immediately.&nb=
sp;&nbsp;Thank<br><br>&gt; you.&nbsp;&nbsp;Aetna<br>&gt;<br>&gt;<br><br>___=
____________________________________________<br>Veritas-bu maillist&nbsp;&n=
bsp;-&nbsp;&nbsp;<a href=3D"mailto:Veritas-bu AT mailman.eng.auburn DOT edu">
Veritas-bu AT mailman.eng.auburn DOT edu</a><br><a 
href=3D"http://mailman.eng.aubu=
rn.edu/mailman/listinfo/veritas-bu">http://mailman.eng.auburn.edu/mailman/l=
istinfo/veritas-bu</a><br></blockquote></div><br>
------=_Part_20637_14117537.1115293531259--

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