cancel
Showing results for 
Search instead for 
Did you mean: 

DBMCLI to get the media name ?

Former Member
0 Kudos

Hello Experts,

Is there a way to know the medium name by just querying the media type using the dbmcli ? (instead of getting full list using the "medium_getall")

for eg: I want the medium name for the type "LOG" , Is there a command to execute like

dbmcli> medi... LOG

O/P: Media name

thanks in advance

Accepted Solutions (0)

Answers (1)

Answers (1)

lbreddemann
Active Contributor
0 Kudos

Hi Balu,

no, there is no such filter option.

If you want to use such a list in a script or something similar you've to do the filtering yourself.

e.g.

dbmcli -U c medium_getall | grep -i LOG

KR Lars

Former Member
0 Kudos

Hello,

Thanks Lars.

What is the delimiter that the dbmcli command outputs ?

Are all the fields separated by the tabs

like "medium_name <TAB> DEVICE_FILE <TAB> ...."

~ Balu

Former Member
0 Kudos

Hi,

yes they are separated by tabs. Only the inst_info, version and backup_history_list commands have different delimiters.

Burkhard