cancel
Showing results for 
Search instead for 
Did you mean: 

can't get media id by using bpimagelist..did it change in 7.x?

netbackup_rooki
Level 4
Certified

Hi guys,

I can't get media id in this format when using this command anymore...i know it worked in 6.5

 

bpimagelist -d 09/01/2010 -e 10/01/2010 -U -backupid client-name_1032302682 -media

if i Use -client option instead of -backupid then I can see the Media ID but not with -backupid.

does anyone know if this changed in 7.x?

5 REPLIES 5

Marianne
Level 6
Partner    VIP    Accredited Certified

Sure it worked in 6.5? I have always used -Client with -media.

I have just checked NBU 6.5 Commands for Unix/Linux http://www.symantec.com/docs/TECH52832 :

/usr/openv/netbackup/bin/admincmd/bpimagelist -l | -L | -U | -idonly
[-class_id class_id_guid] [-d date | -hoursago hours] [-e date]
[-keyword "keyword phrase"] [-client client_name] [-backupid
backup_id] [-option INCLUDE_PRE_IMPORT | INCLUDE_TIR |
LIST_COMPLETE_COPIES | LIST_OLD_TO_NEW | ONLY_PRE_IMPORT | ONLY_TIR]
[-policy policy_name] [-pt policy_type] [-rl retention_level] [-sl
sched_label] [-stl_complete] [-stl_incomplete] [-stl_name
storage_lifecycle_name] [-st sched_type] [-M master_server[,...]] [-v]

/usr/openv/netbackup/bin/admincmd/bpimagelist [-media] [-l | -L | -U |
-idonly] [-d date | -hoursago hours] [-e date] [-server server_name]
[-keyword "keyword phrase"] [-client client_name] [-option
INCLUDE_PRE_IMPORT | INCLUDE_TIR | LIST_COMPLETE_COPIES |
LIST_OLD_TO_NEW | ONLY_PRE_IMPORT | ONLY_TIR] [-policy policy_name]
[-pt policy_type] [-rl retention_level] [-sl sched_label] [-st
sched_type] [-M master_server[,...]] [-v]

 

Note that -backupid is only available with -l | -L | -U | -idonly  not with -media.

netbackup_rooki
Level 4
Certified

http://www.symantec.com/business/support/index?page=content&id=TECH91133

 

it's old technote even according to that it worked.

 

bpimagelist -d 09/01/2002 -e 10/01/2002 -U -backupid megatron_1032302682 -media
Media ID   Last Written       Server
--------   ----------------   ----------
000021     09/17/2002 17:44   megatron
000019     09/17/2002 17:43   megatron
000018     09/17/2002 17:43   megatron
000013     09/17/2002 17:40   megatron
000012     09/17/2002 17:34   megatron

 

I am just trying to get the ouput to be in this format.

netbackup_rooki
Level 4
Certified

Hi MariAnne,

new technote that shows -U for -media option..sorry this off the subject though..

http://www.symantec.com/docs/HOWTO43661

Marianne
Level 6
Partner    VIP    Accredited Certified

I don't have access to any NBU installation to help testing... on leave...

CRZ
Level 6
Employee Accredited Certified

TECH91133 was written for NetBackup DataCenter 3.4 and 4.5, so don't expect that to work now.  :)

(HOWTO43661 appears to be the man page straight from the 7.1 Commands Guide.)