1. Community Tip: Please Give Thanks to Those Sharing Their Knowledge.
    If you receive helpful answer on this forum, please show thanks to the poster by clicking "LIKE" link for the answer that you found helpful.
  2. Community Tip: Forum Rules (PLEASE CLICK HERE TO READ BEFORE POSTING)
    Click the link above 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 notice will disappear after you have made at least 3 posts.

TDP SQL Restore Failing

Discussion in 'Restore / Recovery Discussion' started by [email protected], Mar 17, 2017.

  1. vishal1978@gmail.com

    [email protected] Newcomer

    Joined:
    Sep 12, 2012
    Messages:
    3
    Likes Received:
    0
    We have rename our tdpsql server from hem2001_sql to hem2001_SQL_OLD in order to save the backup from expiration..Now we have to restore older SQL DB backup from hem2001_SQL_OLD to another node..we made changes to dsm.opt and tdpsql.cfg and we could see the older backup..but when we try to restore we are getting below errors- Restore failed.An exception occured while executing a transact-sql statement or batch. Cannot open backup device'TDPSQL-000000ED8-0000' Operating system error 0x80070002(The system cannot find the file specified), RESTORE DATABASE is terminating abnormally.Changed database context to master.(HRESULT:0x80131501) We are using tsm server 7.1
    SQL Ver 2008 R2
    Please help and share your views
     
  2.  
  3. LED888

    LED888 ADSM.ORG Moderator

    Joined:
    Oct 15, 2002
    Messages:
    808
    Likes Received:
    62
    What parameter(s) did we change in both files?
    What were they before and after?



    Good Luck,
    Sias
     
  4. vishal1978@gmail.com

    [email protected] Newcomer

    Joined:
    Sep 12, 2012
    Messages:
    3
    Likes Received:
    0
    Than
    thanks for replying Sias
    We made basic changes like node name which helped us to access older backup..we can easily access our old backup..but unable to restore it..i am not sure what wrong i am doing..
     
  5. LED888

    LED888 ADSM.ORG Moderator

    Joined:
    Oct 15, 2002
    Messages:
    808
    Likes Received:
    62
    If that was the case, we should not be encountering the issue.
    I do not know what parameters were changed other than the nodename, and I do not expect you to remember exactly what was changed other than the node name.

    The issue that we encounter can be due to the tdpsql.cfg parameter SQLSERVER not pointing to the server which the db is being restored to .

    For example, the target server name is SERVER-B, but the parameter SQLSERVER in the tdpsql.cfg still pointing to the source server SERVER-A.

    Update the SQLSERVER to point to the target server:
    SQLSERVER SERVER-B

    Good Luck,
    Sias
     
    [email protected] likes this.
  6. vishal1978@gmail.com

    [email protected] Newcomer

    Joined:
    Sep 12, 2012
    Messages:
    3
    Likes Received:
    0
    Thanks Sias..restore complete succesfully..issue was with dsm.opt and cfg file..appreciate taking time and replying the post
     

Share This Page