...
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.
...
- 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 First, establish connection to the TSM server.
$ sudo dsmc
Next, you can 2)$ query backup /path/filename to see the version of the file stored on the TSM server.
3)$ restore query backup /path/filename to filename
You can restore the file to its original location4)$ restore backup “/path/filename” /newpath/newfilename to restore , or restore the file to a new location. For restoring folders with subdirectories use option --sub=yes.
$ restore backup /path/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:
...
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. There is a need to install older libraries, namely libstdc++.so.5. On Darius1 this was done as follows:
...