12-29-2011 08:34 PM
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?
12-29-2011 09:03 PM
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.
12-29-2011 09:12 PM
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.
12-29-2011 09:17 PM
Hi MariAnne,
new technote that shows -U for -media option..sorry this off the subject though..
12-29-2011 10:17 PM
I don't have access to any NBU installation to help testing... on leave...
01-03-2012 08:50 AM
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.)