------=_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 <classname> -hoursago 100 -idonly |awk '{print &qu=
ot;bpduplicate -backupid "$4" -npc 2"}'|/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> <<a href=3D"mailto:[email protected]=
om">GreenbergKA AT aetna DOT com</a>> 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> [-id backu=
p_id] [-M master_server]<br> bpchangepr=
imary -copy number | -pool volume_pool | -group<br>volume_group<br> &n=
bsp; [-sl schedule_name] [-=
pn policy_name]<br> &n=
bsp; [-st schedule_type] [-pt policy_type]
<br> [-cl clien=
t_name]<br> [-k=
w keyword]<br>
[-sd mm/dd/yyyy [ HH:MM:SS ] ] [-ed mm/dd/yyyy [
HH:MM:SS ]<br>]<br> &n=
bsp; [-M master_server]<br><br>~Kate<br><br>-----Original Message-----<br>F=
rom: "Bob" 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 <<a href=3D"mailto:GreenbergKA AT aetna DOT
com">Green=
bergKA AT aetna DOT com</a>> wrote:<br>> Are you doing this in your
primary =
data center or in a D/R site? I
<br>> wouldn't expire the primary copies, but that's just me...<br>><=
br>> Rather, I'd rebuild the master at the D/R site (where hopefully all=
<br>> the duplicated tapes are located) and then promote the Dup's to
<br>> primary copies...<br>><br>> Just a thought...<br>><br>>=
; ~Kate<br>><br>><br>> -----Original Message-----<br>> From: <a=
href=3D"mailto:veritas-bu-admin AT mailman.eng.auburn DOT
edu">veritas-bu-admin@m=
ailman.eng.auburn.edu
</a><br>> [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
"Bob&qu=
ot;<br>> Dobbs<br>> Sent: Wednesday, May 04, 2005 12:56 PM<br>> To=
:=20
<a href=3D"mailto:veritas-bu AT mailman.eng.auburn DOT edu">veritas-bu AT
mailman DOT eng=
.auburn.edu</a><br>> Subject: [Veritas-bu] Expiring all primary tapes<br=
>><br>> We will be simulating a disaster in a couple of weeks and I w=
ill only
<br>> have "Copy 1" of each of our backup tapes, the primary c=
opies of the<br>> tapes will not be available.<br>><br>> Does anyo=
ne have the command to expire all primary tape copies handy?<br>> Thanks=
.
<br>><br>> _______________________________________________<br>> Ve=
ritas-bu maillist - <a href=3D"mailto:Veritas-bu@mail=
man.eng.auburn.edu">Veritas-bu AT mailman.eng.auburn DOT edu</a><br>> <a
href=
=3D"http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu">
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu</a><br>><br>&g=
t; -----------------------------------------<br>> This e-mail may contai=
n confidential or privileged information. If<br>> you think y=
ou have received this e-mail in error, please advise the
<br>> sender by reply e-mail and then delete this e-mail immediately.&nb=
sp; Thank<br><br>> you. Aetna<br>><br>><br><br>___=
____________________________________________<br>Veritas-bu maillist &n=
bsp;- <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--
|