• Please help support our sponsors by considering their products and services.
    Our sponsors enable us to serve you with this high-speed Internet connection and fast webservers you are currently using at ADSM.ORG.
    They support this free flow of information and knowledge exchange service at no cost to you.

    Please welcome our latest sponsor Tectrade . We can show our appreciation by learning more about Tectrade Solutions
  • 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.

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

Restore from A server to B server via C server

TaSMania

ADSM.ORG Member
Joined
Nov 17, 2015
Messages
126
Reaction score
1
Points
0
We recently migrated from AIX to LINUX.
I'm filling in for that person that set this up.
Client gave me the script they run, probably command we provided them.

Code:
"C:\Program Files\Tivoli\TSM\baclient\dsmc.exe" restore -fromnode=serverA "\\serverA\g$\server\temp\Backup*" "\\serverB\E$" -replace=all -optfile="C:\Program Files\Tivoli\TSM\baclient\dsm.opt"
and said that this statement is executed from serverC.

That mean I would look for dsm.opt for ServerB(target) in serverC correct?
From serverC, I was able to locate dsm.opt file for serverA(source) but not server(target).

hopefully she/he could reply with destination of the restore command.[/code]
 

marclant

ADSM.ORG Moderator
Joined
Jun 16, 2006
Messages
3,739
Reaction score
619
Points
0
Location
Canada
Website
www.ibm.com
I have exactly the same questions/comments as in your other thread:

What error are you getting?
By server, I assume you mean client (clients do backup/restore, server stores the backup data)
Why are you using a UNC path as the destination "\\serverB\E$"? Is the destination a different machine?
The destination needs a trailing backslash "\\serverB\E$\" or "E:\"
Sometimes, the source filespace needs to be enclosed in {}, example: "{\\server01\g$}\*"
Options need to be group together, so all at the beginning or all at the end, meaning "-fromnode=serverA" needs to go at the end with the rest of the options.
 

TaSMania

ADSM.ORG Member
Joined
Nov 17, 2015
Messages
126
Reaction score
1
Points
0
Code:
Restore function invoked.

ANS1247I Waiting for files from the server...
ANS1302E No objects on server match query
I'd changed all the dsm.opt or any dsm***.opt I could find.
 

marclant

ADSM.ORG Moderator
Joined
Jun 16, 2006
Messages
3,739
Reaction score
619
Points
0
Location
Canada
Website
www.ibm.com
I have exactly the same questions/comments as in your other thread:

What error are you getting?
By server, I assume you mean client (clients do backup/restore, server stores the backup data)
Why are you using a UNC path as the destination "\\serverB\E$"? Is the destination a different machine?
The destination needs a trailing backslash "\\serverB\E$\" or "E:\"
Sometimes, the source filespace needs to be enclosed in {}, example: "{\\server01\g$}\..."
Options need to be group together, so all at the beginning or all at the end, meaning "-fromnode=serverA" needs to go at the end with the rest of the options.
 

TaSMania

ADSM.ORG Member
Joined
Nov 17, 2015
Messages
126
Reaction score
1
Points
0
I ran it manually with the
Code:
"\\serverB\E$[B]\[/B]" or "E:\"
Sometimes, the source filespace needs to be enclosed in {}, example: "{\\server01\g$}\..."
added still invoked.
so this command is executed by SQL server Agent services.
wonder if I have reconfigure the services. if so not sure how i'm going to do that.
 

marclant

ADSM.ORG Moderator
Joined
Jun 16, 2006
Messages
3,739
Reaction score
619
Points
0
Location
Canada
Website
www.ibm.com
If I fix your initial command with all my recommendations, you end up with:

"C:\Program Files\Tivoli\TSM\baclient\dsmc.exe" restore "{\\hostnameA\g$}\server\temp\Backup*" "\\hostnameB\E$\" -fromnode=nodenameA -replace=all -optfile="C:\Program Files\Tivoli\TSM\baclient\dsm.opt"


So that you can understand what name represents what:
I replaced server with hostname where it's supposed to be the machine name
I replaced server with nodename where it's supposed to be the client nodename
 

TaSMania

ADSM.ORG Member
Joined
Nov 17, 2015
Messages
126
Reaction score
1
Points
0
Ok, I found the error. When we moved, the Granted Access Node from Node Access List was gone. Answers why it can't the server. I was looking in the Server C node access list instead of Node Access list from A and B.
 

TaSMania

ADSM.ORG Member
Joined
Nov 17, 2015
Messages
126
Reaction score
1
Points
0
I forgot which GRANT command i'd used?

a.
Code:
grant authority jones domains=engpoldom
b.
Code:
grant authority jones classes=storage
c.
Code:
grant authority jones stgpools=tape*
d.
Code:
grant authority jones classes=operator
e.
Code:
grant authority jones classes=node node=labclient
d or e?
 

TaSMania

ADSM.ORG Member
Joined
Nov 17, 2015
Messages
126
Reaction score
1
Points
0
I'm so out of it today,

It's set access backup *
NOT, I said NOT
Grant Authority
 

Advertise at ADSM.ORG

If you are reading this, so are your potential customer. Advertise at ADSM.ORG right now.

DigitalOcean $100 Credit

Support ADSM.ORG and get DigitalOcean FREE credit. DigitalOcean currently offer a $100, 60-day Free Credit for new accounts. Sign-up here:

DigitalOcean Referral Badge

The Spectrum Protect TLA (Three-Letter Acronym): ISP or something else?

  • Every product needs a TLA, Let's call it ISP (IBM Spectrum Protect).

    Votes: 20 18.7%
  • Keep using TSM for Spectrum Protect.

    Votes: 65 60.7%
  • Let's be formal and just say Spectrum Protect

    Votes: 13 12.1%
  • Other (please comement)

    Votes: 9 8.4%

Forum statistics

Threads
31,885
Messages
135,936
Members
21,783
Latest member
london
Top