Veritas-bu

[Veritas-bu] Expiring all primary tapes

2005-05-05 13:50:20
Subject: [Veritas-bu] Expiring all primary tapes
From: \"Bob\" Dobbs" <jellokitty AT gmail DOT com ("Bob" Dobbs)
Date: Thu, 5 May 2005 10:50:20 -0700
Thanks to everyone for the information. The method originally
suggested by the integrator who installed our NBU 4.5 system was
unneccesarily complex and now with the inclusion of the
bpchangeprimary command in 5.0 the process is as simple as

bpchangeprimary -copy 2

On 5/5/05, Dean <dean.deano AT gmail DOT com> wrote:
> 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
> "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
> wanted.
>  The bpchangeprimary command is probably easier to use - and would work on
> Windows!.
>  
> 
> 
> On 5/5/05, Greenberg, Katherine A <GreenbergKA AT aetna DOT com> wrote:
> > 
> > You want to use the bpchangeprimary command.
> > 
> > Here's the syntax:
> > 
> > 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]
> > 
> > ~Kate
> > 
> > -----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
> > 
> > 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.
> > 
> > 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
> > 
> > > you.  Aetna
> > >
> > >
> > 
> > _______________________________________________
> > Veritas-bu maillist  -  
> Veritas-bu AT mailman.eng.auburn DOT edu
> > http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
> > 
> 
>


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