Veritas-bu

[Veritas-bu] Change media ID?

2000-08-08 10:51:16
Subject: [Veritas-bu] Change media ID?
From: Rasana Atreya rasana_atreya AT hotmail DOT com
Date: Tue, 08 Aug 2000 07:51:16 PDT
>Unfortunately, there is no mention of that on page 328 and following where
>it discusses how to import a tape that has the same media id as an existing
>tape.

Go to support.veritas.com. There is such a document.

>Ryan:  You'll need to do this for each backup image that has been
>duplicated.
>
>In that case, what I would do before the duplication is
>
>bpduplicate -id EXISTING_MEDIA_ID -s $tassgn -PM > /tmp/somefile
>
>-PM give you a preview of the media contents that falls within your
>criteria, in this case it will be everything from the time it as assigned.
>
>I'd redirect that to a file and use it later in re-assigning the npc with a
>quick command line script and awk.
>
>Since the newly duplicated images will be copy 2, your command line will
>look something like this:
>
>     $NBU/bin/admincmd/bpduplicate -npc 2 -backupid <bid>
>
>Good luck.
>
>David
>
>
>
>-----Original Message-----
>From: Wyatt Song [mailto:wyatt.song AT veritas DOT com]
>Sent: Monday, August 07, 2000 3:28 PM
>To: David A. Chapa; RYAN C. ANDERSON
>Cc: Veritas NBU
>Subject: RE: [Veritas-bu] Change media ID?
>
>After the successful duplication, you'd like to make your duplication the
>new primary copy by:
>     $NBU/bin/admincmd/bpduplicate -npc <pcopy> -backupid <bid>
>where pcopy = new primary copy number you desire (1=primary)
>       bid = backup id as shown in the Images on Media report
>
>This is all documented quite clearly on page 317-323 of NBU SAG.
>
>Wyatt
>
>-----Original Message-----
>From: David A. Chapa [mailto:david AT datastaff DOT com]
>Sent: Tuesday, 8 August 2000 3:03
>To: RYAN C. ANDERSON
>Cc: Veritas NBU
>Subject: Re: [Veritas-bu] Change media ID?
>
>
>This is what I would do
>
>tassgn=`vmquery -m EXISTING_MEDIA_ID -bx | awk '{print
>$12}'`
>
>this gets the date that the existing media was
>assigned.  This will be used to duplicate the images on
>the tape.
>
>You can duplicate this to the same pool that you use
>for all of your backups (typically NetBackup pool).  Or
>if you'd like create a unique pool with one volume in
>it and make that your destination pool.
>
>bpduplicate -id EXISTING_MEDIA_ID -s $tassgn -dstunit
>DESTINATION_STORAGE_UNIT -dp DEST_DUP_POOL -L LOGFILE
>
>Everything is somewhat self-explanatory, the -s is the
>start date to use for the duplication, you want the
>date it was assigned because that will cause it to
>duplicate all images (I don't believe you need to give
>it a -e end time) from the beginning of its assignment
>to present.
>
>Naturally I suggest that you confirm through the log
>file that all of the images have been successfully
>duplicated.
>
>Once this duplication is done you can follow the
>balance of the instructions in the manual.  bpexpdate
>the existing media, etc.
>
>Perhaps someone from veritas can confirm whether or not
>the npc (new primary copy) is set to the newly
>duplicated images after a bpexpdate is done on the
>existing media.
>
>That should do it for you Ryan.
>
>Good Luck
>
>David Chapa
>
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>David A. Chapa                847 413 1144 p
>Director of Technology        847 413 1168 f
>DataStaff, Inc.               http://www.datastaff.com
>nbu-lserv AT datastaff DOT com       majordomo AT datastaff DOT com
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>Quoting "RYAN C. ANDERSON" <ryan_anderson AT udlp DOT com>:
>
> > All:
> >
> > I need to import the data on a DLT tape made by
>NetBackup from a
> > different server to my database.  The problem is that
>it has the same
> > media ID as a tape I already have.  The NBU 3.2 Sys
>Admin's Guide has on
> > page 329 a *brief* description of how to deal with
>the problem, but I
> > don't understand how to actually do it.   It says:
> >
> > "To import from a tape that has the same media ID as
>an existing tape on
> > this server, first duplicate the existing tape to
>another media ID."
> >
> > I can't find instructions on how to duplicate the
>existing tape to
> > another media ID.  Does anybody know how to do this,
>or where to find
> > this out?
> >
> >
> > Regards,
> >
> > Ryan
> > --
> > ---------------------------------------------------
> > Ryan C. Anderson           United Defense L.P.
> > UNIX Administrator         http://www.udlp.com/
> > (desk) 763.572.6684        (pager) 612.235.9936
> > ryan_anderson AT udlp DOT com     Mail stop M313
> > ---------------------------------------------------
> > _______________________________________________
> > Veritas-bu maillist  -  Veritas-
>bu AT mailman.eng.auburn DOT edu
> >
>http://mailman.eng.auburn.edu/mailman/listinfo/veritas-
>bu
> >
>
>_______________________________________________
>Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
>http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
>
>_______________________________________________
>Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
>http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu

________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com




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