Forum Discussion

J_H_Is_gone's avatar
15 years ago
Solved

bpimmedia command

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.



  • 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.

  • 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.