TSM scripts ...

TSM scripts ...

 

  

Hi all,

Does anyone have an example TSM script that I can use to query the TSM
database for backup pieces or something like that? Just need something
to start with.

For example, to query the backup pieces of a TSM node, I do

root:/>dsmadmc
enter username and password

tsm>select ll_name from backups where node_name = 'ORACLE_PRD'

Press <ENTER> or C to <CANCEL>


What am wanting to do is to get all these commands into a UNIX script
and re-direct the output to a file? If anyone have an example to do
this, preferably one that produces a formatted output, please email to
me. Note that file attachments are not allowed so please cut-and-paste
to email.

Thanks in advance.



Oracle LazyDBA home page