Home Page Image


Valuable Monthly Info

ADSM.org

TSM Guide Book

Index of TSM

Scripts

Basic Concept (pdf) 15MB

Control-M

Control-M User Group



Welcome

The commands below indicate the syntax and examples. In the near future this site will include common errors and a user forum for Q&A. Also, there will be links that can be helpful alternatives to this site.

If you find any errors, misspellings, additional common commands, etc. please join our Tivoli Storage Manager (TSM) forums (www.tsmusergroup.com/forums) and let us know.

Thanks and enjoy.

Tsm User Group Admins

 

 

Client Commands

 

Query backup and arch:

 

>/usr/bin/sudo /usr/bin/dsmc q arch –subdir=1 –fromnode=<hostname> <path>

 

>/usr/bin/sudo /usr/bin/dsmc q arch –subdir=1 –fromnode=<hostname>

-fromdate=08/20/2006 -fromtime=11:00 -todate=08/20/2006 -totime=17:00 /db/abc/oradata01/

 

>/usr/bin/sudo /usr/bin/dsmc q back –subdir=1 –fromnode=<hostname> /db/abc/oradata01/

 

>/usr/bin/sudo /usr/bin/dsmc q back –ina –subdir=1 –fromnode=<hostname> /db/abc/oradata01/

 

 

Backup and arch:

 

>/usr/bin/sudo /usr/bin/dsmc arch –subdir=1 –desc=” OAPR_hotdb”  /db/abc/oradata01/ -archmc=”OAPRHOT”

 

>/usr/bin/sudo /usr/bin/dsmc arch –subdir=1 "”  /db/abc/oradata01/ -archmc=”OAPRHOT” -desc=”OAPR_hotdb_"%%$DATE._%%TIME

 

>/usr/bin/sudo /usr/bin/dsmc incremental –subdir=1 /db/abc/oradata01/

 

 

Restore and retrieve:

 

> /usr/bin/sudo /usr/bin/dsmc retrieve -subdir=yes -fromnode=<hostname>- desc="ABCD_COLD_20060820_11:00" /db/ABCD/oradata02/ /db/ABCD/oradata02/

 

>/usr/bin/sudo /usr/bin/dsmc retrieve -subdir=yes -fromnode=<hostname>-fromdate=08/20/2006 -fromtime=11:00 -todate=08/20/2006 -totime=17:00 /db/ABCD/oradata02/ /db/ABCD/oradata02/

 

> /usr/bin/sudo /usr/bin/dsmc restore -subdir=yes -fromnode=<hostname>- desc="ABCD_COLD_20060820_11:00" /db/ABCD/oradata02/ /db/ABCD/oradata02/

 

To set Access to a node

 

>set access arch * node

or

>set access arch * *

 

To delete Access

type

>q access (to see the list then type)

>delete access

then choose the list to delete. such 1,2,3.

 

To see what is backedup on a client.

 

>q files

>q backup d:\

>q node

>q mgmt (policydomain) active * f=d

You are visitor number