Veritas-bu

[Veritas-bu] Determining media required for restore (slightly different than b efore)

2001-05-09 14:51:43
Subject: [Veritas-bu] Determining media required for restore (slightly different than b efore)
From: AhrensJ AT psi DOT ca (Jason Ahrens [ahrensj AT psi DOT ca])
Date: Wed, 9 May 2001 14:51:43 -0400
A slightly different problem..

I am trying to determine media required for a restore of a duplicate. I
thought I could do this:
root@veritasmaster1:/usr/openv/netbackup/db/config$ bpduplicate -backupid
psi-laird-019_0989120474 -npc 2
root@veritasmaster1:/usr/openv/netbackup/db/config$ bpimagelist -media
-backupid psi-laird-019_0989120474

This gave me the following:

IMAGE psi-laird-019 0 0 3 psi-laird-019_0989120474 NT 13 *NULL* root Full 0
2 989120474 1288 991539674 0 0 1633252 26123 2 2 0 NT_0989120474_FULL.f
*NULL* *NULL* 0 2 0 0 0 NT 0 0 0 0 0 0 0 *NULL* 0 0
HISTO -1 -1 -1 -1 -1 -1 -1 -1 -1 -1
FRAG 1 1 1633252 0 2 6 12 010373 veritasmedia1 32768 1257886 989107671 1 0
*NULL* 991539674 0 0 0 0
FRAG 2 1 1633252 0 2 6 1 010425 veritasmedia1 32768 2 989429744 3 0 *NULL*
994910399 0 0 0 0

Which sugests I need media 010373 and 010425, however, the log from the
duplicate shows:

root@veritasmaster1:/usr/openv/netbackup/db/config$ cat
../../../duplicate/logs/2001-05-09.8-week 
Duplicate started Wed May 09 13:38:22 2001
13:38:23 INF - Destination storage unit STKLIB1 on host veritasmedia1.
13:38:24 INF - Duplicating class NT, schedule Full
(psi-laird-019_0989120474) created 05/05/2001 23:41:14, media id 010373.
13:38:26 INF - Waiting for mount of media id 010425 on server veritasmedia1.
13:38:27 INF - Waiting for mount of media id 010373 on server veritasmedia1.
13:39:15 INF - Beginning duplication on server veritasmedia1 of client
psi-laird-019 image, creating copy 2.
13:39:30 INF - Waiting for positioning of media id 010373 on server
veritasmedia1.
13:39:43 INF - Beginning duplicate on server veritasmedia1 of client
psi-laird-019.
13:44:03 INF - Duplicate of backupid psi-laird-019_0989120474 successful.

13:44:04 INF - Status = successfully duplicated 1 of 1 images.

both the 'duplicated' media and the 'original' media are listed here as
different fragments (I think) not as duplicate images. As I am trying to
automate the process and pull a list of which clients went to which tapes
for offsite (so if we need to restore, we can tell exactly what volumes need
to come back) this is not good. Now, when the first backup expires, only the
second 'offsite' will be listed, but this does not help me auto-generate a
report "right now".

What I would like is a bpimagelist line, identical to the above, that only
shows tapes required for copy 2...

Does anyone have such a beast?

Thanks

Jason
--
Jason Ahrens
Systems Administrator
PSINet Limited
http://www.psi.ca
The Internet SuperCarrier


<Prev in Thread] Current Thread [Next in Thread>
  • [Veritas-bu] Determining media required for restore (slightly different than b efore), Jason Ahrens [ahrensj AT psi DOT ca] <=