"restore -fromnode" results in ANS1302E (same client version, Active object)

jeinhorn

ADSM.ORG Member
Joined
Apr 4, 2014
Messages
34
Reaction score
1
Points
0
Hello TSM Gurus -

I'm getting started with TSM restore to different node, and I'm baffled that a seemingly simple cross-node restore is producing the ANS1302E result. Our TSM Server version is 6.3.4. I'm trying to restore from node FTWIT01 (Win 2008 SP1, 32-bit / TSM Client 6.2.1.0) to node FTWIT02 (Win 2008 R2 SP2, 64-bit / TSM Client 6.2.1.0). I found a troubleshooting article (http://www-01.ibm.com/support/docview.wss?uid=swg21573404 ), but it was not helpful in this case. Below are specifics. Ideas would be most welcome.

Many Thanks,
Janet

On ftwit01 we can see the version, filespace name, and backup object (active):
tsm> show version
IBM Tivoli Storage Manager
Command Line Backup-Archive Client Interface
Client Version 6, Release 2, Level 1.0
Client date/time: 05/30/2014 13:59:21
build date: Tue Apr 27 01:16:31 2010

tsm> query filespace
# Last Incr Date Type File Space Name
1 05/29/2014 20:51:11 VSS FTWIT01\SystemState\NULL\System State\SystemState
2 05/29/2014 20:39:29 NTFS \\ftwit01\c$
3 05/29/2014 20:35:29 NTFS \\ftwit01\e$

tsm> query backup {\\ftwit01\c$}\TAD4DAgent-prakash
Size Backup Date Mgmt Class A/I File
10,343 B 01/21/2011 20:36:18 DEFAULT A \\ftwit01\c$\TAD4DAgent-prakash

On the TSM server, we can see the object:

tsm: TSMSERV>select * from backups where node_name='FTWIT01' and filespace_name='\\ftwit01\c$' and ll_name = 'TAD4DAGENT-PRAKASH' fetch first 2 rows only

NODE_NAME: FTWIT01
FILESPACE_NAME: \\ftwit01\c$
FILESPACE_ID: 3
STATE: ACTIVE_VERSION
TYPE: FILE
HL_NAME: \
LL_NAME: TAD4DAGENT-PRAKASH
OBJECT_ID: 1921366805
BACKUP_DATE: 2011-01-21 20:36:18.000000
DEACTIVATE_DATE:
OWNER:
CLASS_NAME: DEFAULT

On ftwit02 we cannot restore the object:
tsm> show version
IBM Tivoli Storage Manager
Command Line Backup-Archive Client Interface
Client Version 6, Release 2, Level 1.0
Client date/time: 2014-05-30 14:00:54
build date: Tue Apr 27 04:10:26 2010

tsm> restore -fromnode=ftwit01 {\\ftwit01\c$}\TAD4DAgent-prakash C:\TEMP
Restore function invoked.

ANS1302E No objects on server match query
 
Does ftwit02 have access rights to ftwit01?

How about the sub-directories and related files? Don't you need them?

Have you tried:

restore -fromnode=ftwit01 -subdir=yes {\\ftwit01\c$}\TAD4DAgent-prakash\* C:\TEMP\
 
Last edited:
Your missing the trailing back slash, it thinks TAD4DAgent-prakash is a file otherwise.
restore -fromnode=ftwit01 -subdir=yes {\\ftwit01\c$}\TAD4DAgent-prakash\ C:\TEMP\

You can also add the * like Ed suggested, but it's optional.
 
I appreciate the quick response, but TAD4DAgent-prakash is not a folder, it's a file. I will look into access rights and post again.
 
If you have the password of node ftwit01, I find it's easier to use the -virtualnodename option. No need to worry about access, you become that node:
dsmc -virtualnodename=ftwit01
Enter password when prompted

Then do restore.
 
Before I saw the latest post, I managed to grant access rights from ftwit01 and TA-DA, I was able to complete the restore. Thanks a million for the responses. The initial ANS1302E doesn't give a clue about the true nature of the issue (annoying)! Have a great weekend, all.
 
Back
Top