Veritas-bu

[Veritas-bu] restore from duplicat

2002-05-10 13:33:11
Subject: [Veritas-bu] restore from duplicat
From: dayalsd AT lycos DOT com (dayal singh)
Date: Fri, 10 May 2002 12:33:11 -0500
 I don't believe there is a way to change the copy number for a given media id 
(may be I am wrong). But here is a simple way I can do this

bpduplicate -PM -hoursago <hours> -id <media id> |awk '{print $5}' |while read 
bid
do
  bpduplicate -npc 2 -backupid $bid
done

I think you can use bpimmedia in place of bpduplicate to get a list of 
backupid's 

Hope this helps

Dayal
--

On Fri, 10 May 2002 09:48:32  
 laila aloui wrote:
>Hi,
>Normally to restore from a duplicate you have to
>specify the job id:
>
>/usr/openv/netbackup/bin/admincmd/bpduplicate -npc ???
>-backupid ???.
>
> is there a way to do this whithaout specifying the
>job id . in the case i want to restore all images on a
>given tape ?
>
>   thank you in advance
>
>__________________________________________________
>Do You Yahoo!?
>Yahoo! Shopping - Mother's Day is May 12th!
>http://shopping.yahoo.com
>_______________________________________________
>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>