Recover TSM 6.2.1 database from tape

dineshgoundar

Newcomer
Joined
Mar 20, 2011
Messages
4
Reaction score
0
Points
0
Location
New Zealand
Hi Guys,

I am totally new to TSM so need some expert help.

I am trying to recover a TSM server (windows) onto new hardware. Got the tape (LTO3) that has the DBBackup. So this is what I have done so far:

1. Created a new server with a tape drive attached. (will connect library once I get the database back)
2. Installed TSM 6.2.1
3. Initialiazed the server
4. Configured the tape drive to use TSM device drivers

Now I need to restore the database. This is the command I tried:

dsmserv -k Server1 restore db devclass=LTOCLASS1 volumenames="XXXXX" commit=yes

The command fails with error: ANR2020E RESTORE DB: Invalid parameter - DEVCLASS

I have checked in the devcnfg.out file for devclass value and it is LTOCLASS1

What is it that I am doing wrong? I urgently need to get this working.

All your help is greatly appreciated.

Regards
DG
 
Last edited:
Hi Harry_Redl

Thanks for the reply. I have gone through the link you sent me. So do I need to have the device configuration file as well. I am using different hardware though.
 
The most importent File you need are volhist.out and devconfig.out.
if you have new Hardware run, Path to Tivoli\tsm\console\tsmdlst.exe to see witch lb,mt your new server use.
you can edit the devconfig file with that entrys.

the best way for me is to backup the DB to a devclass file.
If you have access to this from both servers.

Make sure that your Instanz user is owner of the DB directorys,
and member of the groups DB2admns, db2users.
If you start restore db, the new Db directorys are should be empty.
Or stop Db2 and run dsmserv.exe remove Db on the new Server before.
Sorry for my english.

regards
michael
 
Back
Top