1. Forum Rules (PLEASE CLICK HERE TO READ BEFORE POSTING) Click the link to access ADSM.ORG Acceptable Use Policy and forum rules which should be observed when using this website. Violators may be banned from this website. This message will disappear after you have made at least 12 posts. Thank you for your cooperation.

Recover TSM 6.2.1 database from tape

Discussion in 'TSM Database' started by dineshgoundar, Mar 20, 2011.

  1. dineshgoundar

    dineshgoundar New Member

    Joined:
    Mar 20, 2011
    Messages:
    4
    Likes Received:
    0
    Occupation:
    Disaster Recovery Specialist
    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: Mar 20, 2011
  2.  
  3. Harry_Redl

    Harry_Redl Moderator

    Joined:
    Dec 29, 2003
    Messages:
    2,268
    Likes Received:
    135
    Occupation:
    IT Consultant
    Location:
    Czech Republic
  4. dineshgoundar

    dineshgoundar New Member

    Joined:
    Mar 20, 2011
    Messages:
    4
    Likes Received:
    0
    Occupation:
    Disaster Recovery Specialist
    Location:
    New Zealand
    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.
     
  5. axisminden

    axisminden New Member

    Joined:
    Mar 18, 2008
    Messages:
    170
    Likes Received:
    4
    Location:
    Minden
    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
     

Share This Page