With your help, here is what I ended up
doing:
Get the media ID's from the
media gui.
Run the following command
for each media id, check which server it was created on and grep on that:
# /usr/openv/netbackup/bin/admincmd/bpimmedia
-mediaid 000773 -l | awk '{print $4}' | grep hqhp3 >> bid
Make a copy of the bid file
as it gets deleted after the bpduplicate command is run. Run the
following:
#
/usr/openv/netbackup/bin/admincmd/bpduplicate -dstunit hqhp3-hcart-robot-tld-1
-M hqhp3 -Bidfile bid -dp ltarch
Wayne BeDour
Unix System Administrator
PH: 313-593-9876
Internet: wbedour AT lear DOT com
From:
veritas-bu-bounces AT mailman.eng.auburn DOT edu
[mailto:veritas-bu-bounces AT mailman.eng.auburn DOT edu] On Behalf Of BeDour, Wayne
Sent: Thursday, November 05, 2009
1:40 PM
To: Jonathan Dyck; John Nardello
Cc: veritas-bu AT mailman.eng.auburn DOT edu
Subject: Re: [Veritas-bu]
Duplicate from tape to VTL question
That was it, thanks for the help…
Wayne BeDour
Unix System Administrator
PH: 313-593-9876
Internet: wbedour AT lear DOT com
From: Jonathan Dyck
[mailto:jdyck AT bank-banque-canada DOT ca]
Sent: Thursday, November 05, 2009
1:26 PM
To: BeDour, Wayne; John Nardello
Cc:
veritas-bu AT mailman.eng.auburn DOT edu
Subject: RE: [Veritas-bu]
Duplicate from tape to VTL question
-----Original Message-----
From: veritas-bu-bounces AT mailman.eng.auburn DOT edu
[mailto:veritas-bu-bounces AT mailman.eng.auburn DOT edu] On Behalf Of BeDour, Wayne
Sent: November 05, 2009 1:21 PM
To: John Nardello
Cc:
veritas-bu AT mailman.eng.auburn DOT edu
Subject: Re: [Veritas-bu]
Duplicate from tape to VTL question
Ok, I got a list of backupids via the
bpimmedia command and created a bid file. When I run the bpduplicate
command against the bid file it comes back and tells me I already have 2
copies. I know that I need to create a 3rd copy on the
VTL. Below is the bpduplcate command and a snippit of the output:
# /usr/openv/netbackup/bin/admincmd/bpduplicate
-v -dstunit hqhp3-hcart-robot-tld-1 -M hqhp3 -Bidfile bid
Duplicate started Thu Nov 5 13:15:09 2009
Activity monitor job id = 426056
INF - Skipping backup id yos_sam1_1220260632, it
already has 2 copies.
INF - found no images or media matching the
selection criteria
#
Any suggestions? I’m still
poking around but if someone can point me in the right direction, I’d
appreciate it.
Thanks
Wayne BeDour
Unix System Administrator
PH: 313-593-9876
Internet: wbedour AT lear DOT com
From: John Nardello
[mailto:jnardello AT gmail DOT com]
Sent: Thursday, November 05, 2009
11:31 AM
To: BeDour, Wayne
Cc:
veritas-bu AT mailman.eng.auburn DOT edu
Subject: Re: [Veritas-bu]
Duplicate from tape to VTL question
That's because NetBackup
doesn't duplicate tapes, it duplicates images. =)
Pull a list of all the backupids on the tapes through bpimmedia, dump that to a
file (known as a Bid file), then you can use that as the input to a bpduplicate
command to copy all of the images to another STU.
Once you've verified that all duplications were successful, you can expire the
copies of those backupids that live on those tapes and you're good.
- John Nardello
On Thu, Nov 5, 2009 at 7:02 AM, BeDour, Wayne <WBedour AT lear DOT com> wrote:
Our environment, HP-UX 11-31 with a SureStore 20/700 tape
library, one master / media server running NetBackup 6.5.2 backing up mainly HP
servers with a few Sun and Windows boxes thrown in. One NBU 6.5.2 SSO
media server running on windows.
We are in the process of installing and migrating to a
Datadomain VTL. We have a few tapes that have been duplicated and are left
in our tape library, these tapes are also all in their own volume pool. I
would like to duplicate / copy those tapes to the Datadomain VTL.
I’m looking at the bpduplicate command and don’t see an option to
copy using bar code labels or volume pool as a source. Can anyone out
there shed some light on how I can do this? An example of the command
line would be very helpful.
Thanks in advance..
Wayne BeDour
Unix System Administrator
PH: 313-593-9876
Internet: wbedour AT lear DOT com
********************** ** LEGAL DISCLAIMER ** ********************** This E-mail message and any attachments may contain legally privileged, confidential or proprietary information. If you are not the intended recipient(s), or the employee or agent responsible for delivery of this message to the intended recipient(s), you are hereby notified that any dissemination, distribution or copying of this E-mail message is strictly prohibited. If you have received this message in error, please immediately notify the sender and delete this E-mail message from your computer. |
_______________________________________________
Veritas-bu maillist - Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
********************** ** LEGAL DISCLAIMER ** ********************** This E-mail message and any attachments may contain legally privileged, confidential or proprietary information. If you are not the intended recipient(s), or the employee or agent responsible for delivery of this message to the intended recipient(s), you are hereby notified that any dissemination, distribution or copying of this E-mail message is strictly prohibited. If you have received this message in error, please immediately notify the sender and delete this E-mail message from your computer. |
====================================================================================
La version française suit le texte anglais.
------------------------------------------------------------------------------------
This email may contain privileged and/or confidential information, and the Bank of
Canada does not waive any related rights. Any distribution, use, or copying of this
email or the information it contains by other than the intended recipient is
unauthorized. If you received this email in error please delete it immediately from
your system and notify the sender promptly by email that you have done so.
------------------------------------------------------------------------------------
Le présent courriel peut contenir de l'information privilégiée ou confidentielle.
La Banque du Canada ne renonce pas aux droits qui s'y rapportent. Toute diffusion,
utilisation ou copie de ce courriel ou des renseignements qu'il contient par une
personne autre que le ou les destinataires désignés est interdite. Si vous recevez
ce courriel par erreur, veuillez le supprimer immédiatement et envoyer sans délai à
l'expéditeur un message électronique pour l'aviser que vous avez éliminé de votre
ordinateur toute copie du courriel reçu.