Versions Compared

Key

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

...

There are two cases for restoring the backed up data:

1)   When the cluster is accessible and the data is accidentally deleted. The lost data is to be restored to the same location. TSM backup server works best in this case. 

2)   When the cluster is inaccessible and the data is to be restored to a new location i.e a drive connected to your computer.

TSM works best for the first case. TSM software for linux is already installed on our clusters. 

For case 1, follow the following steps:

1)   $ sudo dsmc to establish connection to the TSM server.

2)   $ query backup /path/filename to see the version of the file stored on the TSM server.

3)   $ restore backup /path/filename to restore the file to its original location

4)   $ restore backup “/path/filename” /newpath/newfilename to restore the file to a new location. For restoring folders with subdirectories use option --sub=yes.

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

1)   The backup can only be restored using a linux machine. The linux 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. 

2)   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.

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

4)   Install the "ksh" package and the "alien" package.   ksh  ksh is needed since several of the scripts included with TSM use ksh.   More  More important is "alien" as that lets which lets admins install RPM packages on Ubuntu or other Debian-based distributions.  

$ sudo apt-get install ksh alien

5)   Use alien to install the appropriate RPMs.       

 $ sudo alien -i --scripts TIVsm-API.i386.rpm TIVsm-BA.i386.rpmrpm 

6)   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.

7)   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.

8)   Follow the instructions from case 1 above to restore files to a new location. Look up for tsm commands like restart restore, cancel restore etc. 

Installing TSM backup software

The TSM 5.4 software has been installed in accordance with the instructions on the TSM page.

...