TSM
Java client
To start interactive java client on non-AIX (If you get a Java error, add Java to your PATH):
/opt/tivoli/tsm/client/ba/bin/dsmj
TSM Restore Commands
Restore Last Backup
Restore the most recent backup version of the /home/monnett/h1.doc file, even if the backup is inactive
dsmc restore /home/mnnett/h1.doc -latest
If the file you are restoring no longer resides on your workstation, and you have run an incremental backup since deleting the file, there is no active backup of the file on the server. In this case, use the latest option to restore the most recent backup version. TSM restores the latest backup version, whether it is active or inactive. See “latest” for more information.
Display Backups
Display a list of active and inactive backup versions of files from which you can select versions to restore
dsmc restore "/usr/project/" -pick -inactive
If you try to restore both an active and inactive version of a file at the same time, only the active version is restored. See “Pick” on page 251 and “Inactive” on page 213 for more information.
Simple Restore
Restore the /home/monnett/h1.doc file to its original directory
dsmc restore /home/monnett/h1.doc
If you do not specify a destination, the files are restored to their original location.
Simple Restore with Subdirectories
Restore the files in the /home file system and all of its subdirectories
dsmc restore /home/ -subdir=yes
When restoring a specific path and file, TSM recrsively restores all subdirectories under that path, and any instances of the specified file that exist under ANY of those subdirectoires. See “Subdir” on page 287 for more information about the subdir option.
Point in Time Restore
Restore all files in the /home/mydir directory to their state as of 1:00 PM on August 17, 2002
dsmc restore -pitd=8/17/2002 -pitt=13:00:00 /home/mydir/
See “Pitdate” on page 252 and “Pittime” on page 253 for more information about pitdate and pittime options.
Selective Restore
Restore all files from the /home/projecta directory that end with .bak to the /home/projectn/ directory
dsmc restore "/home/projecta/*.bak" /home/projectn/
If the destination is a directory, specify the delimiter (/) as the last character of the destination. If you omit the delimiter and your specified source is a directory or a file spec with a wild card, you will receive an error. If the projectn directory does not exist, it is created.
Restore Files in List to Alternate Location
Restore files specified in the restorelist.txt file to a different location.
dsmc restore /home/dir2/restorelist.txt /home/NewRestoreLocation/
See “Filelist” on page 197 for more information about restoring a list of files.
Restore Group
Restore all members of the /VIRTFS/group1 group backup stored on the TSM server
dsmc restore group /virtfs/group1
See “Restore Group” on page 392 for more infomation
Point in Time Restore to Alternate Location 2
Alternate location restore back to a specific date and time
dsmc restore -pitd=5/21/2008 -pitt=21:00:00 "/bcidev2/lmrkmain/" "/bcidev2/lmrkmainRESTORE/" -subdir=yes
Reference: IBM TSM for UNIX: Backup-Archive Clients Installation and User Guide. Pages 90-