cancel
Showing results for 
Search instead for 
Did you mean: 

bpimmedia command

J_H_Is_gone
Level 6
I am running the command:

bpimmedia -U -mediaid <id> | grep <Policyname>

but my out put is truncating the Backup-ID  

anybody know how to get this not truncate a column
or another way to get the whole id out easy.

I need to be able to grep out the policy name of all the images on a media.



1 ACCEPTED SOLUTION

Accepted Solutions

Will_Restore
Level 6

Note, if you want to process and use the output of bpimmedia, we recommend

that you use the -l option. The output of bpimmedia that uses the -L or -U

options may be truncated for the Backup-ID, Policy, and Host columns. The -L

or -U options are useful when you want to obtain a quick, more readable view of

the NetBackup images on media.

View solution in original post

4 REPLIES 4

Will_Restore
Level 6
NBU version ?

Will_Restore
Level 6

Note, if you want to process and use the output of bpimmedia, we recommend

that you use the -l option. The output of bpimmedia that uses the -L or -U

options may be truncated for the Backup-ID, Policy, and Host columns. The -L

or -U options are useful when you want to obtain a quick, more readable view of

the NetBackup images on media.

Will_Restore
Level 6
bpimmedia -mediaid <id> -policy <Policyname>

J_H_Is_gone
Level 6
Thanks Bill,  I was just trying too hard .