Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

First, establish connection to the TSM server.

Code Block

$

...

 sudo dsmc 

Next, you can see the version of the file stored on the TSM server.

Code Block

$ query backup /path/

...

filename 

You can restore the file to its original location, or restore the file to a new location. For restoring folders with subdirectories use option --sub=yes.

Code Block

$ restore backup /path/

...

OR

...

filename 
OR
$ restore backup “/path/filename” /newpath/newfilename

For case 2, the procedure is little involved. There are few important things to take into account. The exact procedure is included below:1)

  1. The backup can only be restored using a linux machine.

...

  1. This is because the downloading machine has to masquerade as the original cluster in order to retrieve data. All our clusters use some form of linux. Therefore, a linux machine is required to retrieve data from TSM server.

...

...

  1. The filesystem of the disc on which you are writing retrieved data should be exactly similar to the filesystem used on the cluster. For example, if the files on the cluster are written on a drive with xfs file system, you have to use a disc on the third machine, which is also formatted as xfs.

...

  1. TSM software for linux can be downloaded from the IS&T website. The software is written for RHL5 and is available as an rpm.

...

...

  1. Install the "ksh" package and the "alien" package.

...

  1. ksh is needed since several of the scripts included with TSM use ksh.

...

  1. More important is "alien" as

...

  1. , this allows users to install RPM packages on Ubuntu or other Debian-based distributions.

...

  1. Code Block
    
    $ sudo apt-get install ksh alien
    

...

  1. Use alien to install the appropriate RPMs

...

  1. :
    Code Block
    
    $ sudo alien \-i \--scripts TIVsm-API.i386.rpm TIVsm-BA.i386.

...

  1. rpm 
    
  1. There are several other libraries which are required by TSM like libstdc++.so.5 etc. Download and install the required files from apt-get or some other source.

...

  1. Change the Nodename, backup server and errorlog file location in dsm.sys. This file is located in the /opt/tivoli/tsm/client/ba/bin/ folder.

...

  1. Settings for each cluster are given on this page.

...

  1. Follow the instructions from case 1 above to restore files to a new location. Look up the documentation pages for

...

  1. TSM commands like restart restore, cancel restore, etc.

...

Installing TSM backup software

...