Posts tagged ‘tsm’

TSM and pathnames

wow, note this difference:

/opt/tivoli/tsm/client/ba/bin/dsmc incr /home/backups/
.
.
Total number of objects inspected:    2.314
.
.
Elapsed processing time:           00:00:01

and the same command without the trailing slash:

/opt/tivoli/tsm/client/ba/bin/dsmc incr /home/backups
.
.
Total number of objects inspected:   32.378
.
.
Elapsed processing time:           00:00:28

Tivoli Storage Manager and passwords

ever wondered where TSM stores its passwords? Documentation and lots of websites are talking about the file TSM.PWD, but where is it?

VoilĂ : /etc/adsm/TSM.PWD

configuring TSM and testing the config is a real PITA…

just to remember how to test if a certain directory and its files are included in the backup using the TSM commandline interface:

./dsmc preview backup -console /path/to/dir/

delete one or more files from your backup (NOTE: the quotes in the second command are important, otherwise bash will expand the pattern and produce a list of files, which will confuse the TSM-client):

./dsmc delete backup /backups/mysql/mysqldump-complete-2010-01-20-1823.sql.gz
./dsmc delete backup '/backups/mysql/*.gz'