Sie sind auf Seite 1von 2

Quick guide to TSM client on Unix Configuration file for TSM client Look for a file named dsm.sys.

In this file youll find setup definitions for the TSM client. Here is an example of the content of the file: SErvername TSM-DMD1 COMMMethod TCPip TCPPort 1500 TCPServeraddress nodename BMIT_S003JOL001_TSM inclexcl /opt/tivoli/tsm/client/ba/bin/ passwordaccess generate * managedservices schedule schedlogname /opt/tivoli/tsm/client/ba/bin/sched.log errorlogname /opt/tivoli/tsm/client/ba/bin/dsmerror.log The field inclexcl point to a file, where you can specify a list over files/directories, that should be included/excluded during backup. Note that this file is read from the bottom and up. The field schedlogname point to a file, where schedules are logged The field errorlogname point to a file, where errors during backup are logged To obtain a list of clients, that have had failed backups please consult: Quick guide for dsmc The program dsmc is a program residing on the client, that can be used for various task regarding backup/restore and informations about backup/restore. The program can be called without parameters and will then start up in a prompt like this: # dsmc IBM Tivoli Storage Manager Command Line Backup/Archive Client Interface Client Version 5, Release 3, Level 4.0 Client date/time: 02/08/07 10:58:32 (c) Copyright by IBM Corporation and other(s) 1990, 2006. All Rights Reserved. Node Name: BMIT_S003JOL001_TSM Session established with server TSM-DMD1: AIX-RS/6000 Server Version 5, Release 3, Level 3.4 Data compression forced on by the server Server date/time: 02/08/07 10:58:32 Last access: 02/08/07 09:39:05 tsm> If you are unfamiliar with the commands, you can type the command help, which will give you a list over possible commands. It is also possible to run dsmc with arguments. Below is various examples of commands, that can be given: dsmc help dsmc q ses dsmc q sched (show help) (shows current data about sessions) (shows current data about schedule)

dsmc sched dsmc q systeminfo dsmc q opt dsmc incr dsmc backup dsmc q filepace dsmc q backup "*" dsmc q backup "*" -subdir=yes

(from here you can change time of schedule) (generate a status report) (show options) (starts manual incremental backup) (starts a manual backup) (shows filespaces (filesystems) backuped) (shows which files are backuped in current directory) (shows files and subdirectories below current directory)

dsmc q backup "*" -subdir=yes -inactive (shows inactive files and subdirectories below current directory) dsmc q backup "*" -subdir=yes -inactive -pitdate=01/29/2008 (shows inactive files and subdirectories below current directory from 29-jan-2008) dsmc q inclexcl dsmc restore "/dir" -subdir=yes dsmc restore "/dir/to/file" (list of included and excluded directories/files) (restore all files below path "/dir") (restore file "/dir/to/file")

dsmc restore -REPlace=ALL -pitdate=12/15/2008 -subdir=yes "/home/userX/*" (restore all files below /home/userX from 15-dec-2008 and replace existing files without questions) Futher documentation can be obtained in: