[Veritas-bu] Change media ID?
2000-08-07 16:27:57
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
|
|
|