Restore out of Optical

ssalvagg

Newcomer
Joined
Aug 15, 2005
Messages
1
Reaction score
0
Points
0
Website
Visit site
I want to restore files, onto an AIX file system. One Optical disk at a time. I can list the files in the TSM Backups table:



NODE_NAME: CMCLIENT

FILESPACE_NAME: /OBJSRVDV/FRN/ADSM/SPNODE5/MGMTDEV

FILESPACE_ID: 3

STATE: ACTIVE_VERSION

TYPE: FILE

HL_NAME: /MGMTDEV/

LL_NAME: MGMTDEVAAACNKFP.LHG

OBJECT_ID: 1058660

BACKUP_DATE: 2003-06-11 01:00:18.000000

DEACTIVATE_DATE:

OWNER:

CLASS_NAME: MGMTDEV



When I issue a dsmc restore it fails, because it cannot find the file. Can anyone help with the command syntax? Here is the command:



dsmc restore file "/OBJSRVDV/FRN/ADSM/SPNODE5/MGMTDEV/MGMTDEV/ MGMTDEVAAACNKFP.LHG " /home/osadmin/MGMTDEVAAACNKFP.LHG

Tivoli Storage Manager

Command Line Backup/Archive Client Interface - Version 5, Release 1, Level 1.0

(C) Copyright IBM Corporation 1990, 2002 All Rights Reserved.



Restore function invoked.



Node Name: CMCLIENT

Please enter your user id <CMCLIENT>:



Session established with server SERVER1: AIX-RS/6000

Server Version 5, Release 1, Level 0.0

Server date/time: 10/19/05 13:33:43 Last access: 10/19/05 10:11:20



ANS1302E No objects on server match query
 
my eyes might be old and not working correctly, but it looks like you have a space " " in the filename on the restore command:



"/OBJSRVDV/FRN/ADSM/SPNODE5/MGMTDEV/MGMTDEV/ MGMTDEVAAACNKFP.LHG "



When putting this in quotes, it will look for a file with a space in the name to restore. If the file really didn't have a space in it's name, it wont be able to find the file in the TSM database.



Also, I see that "MGMTDEV" is listed twice. Is this real or was it added twice?



-Aaron
 
Q,



Try specifying the filespace name by enclosing it in "{}" characters. REF: TSM UNIX BA Installation and User Guide - Chapter 4 Backup , Backup: Additional Consideratons - How Files are Stored.

It goes into a lengthy discussion which describes some issues which can happen when a filesystem gets moved or renamed or a directory becomes a filesystem.



Try query backup and play with the curly cue things and then do a restore when you get the filespec correct.



dsmc q backup {/OBJSRVDV/FRN/ADSM/SPNODE5/MGMTDEV}/MGMTDEV/MGMTDEVAAACNKFP.LHG



neil
 
Back
Top