search archived directories in the console

waelti

ADSM.ORG Member
Joined
Apr 20, 2010
Messages
54
Reaction score
2
Points
0
Location
Germany
Ist there a possibility to search for directories (with wildcard) in all archives in the console to retrieve data?
They don´t know where the directories laid when they where archived.
The search function in the gui doesn´t search anymore, if java exeeds 2GB
I have to search a directory which starts with 20117346_C204 and the archived directory can be anywhere under \\amanda\dok or \\amanda\archive etc.
 
You could do:

Because it's a UNC name, you will need to find the filespace name:
Code:
dsmc query filespace

Then do a query and put the filespace name in the same case as the above output between {}
Code:
dsmc query archive {\\amanda\dok}\20117346_C204*

Repeat for the other directory.
 
Thank you marclant, how can I find the directory, if I don´t know, in which level the folder was ? I don´t want to search each possible location. Is there no possibility to search in the complete filespace for the foldername?
 
That's what the query I gave you is supposed to do.
 
I think, there was a asterik missing in your query:
dsmc query archive {\\amanda\dok}*\20117346_C204*
 
No, there is no * missing. check my test:
Code:
c:\Program Files\Tivoli\TSM\baclient>dsmc query archive {\\node1\c$}\2015*
IBM Tivoli Storage Manager
Command Line Backup-Archive Client Interface
  Client Version 7, Release 1, Level 1.0
  Client date/time: 07/20/2015 10:21:37
(c) Copyright by IBM Corporation and other(s) 1990, 2014. All Rights Reserved.

Node Name: NODE1
Session established with server SERVER1: AIX
  Server Version 7, Release 1, Level 1.100
  Server date/time: 07/20/2015 09:18:33  Last access: 07/20/2015 09:17:39

             Size  Archive Date - Time    File - Expires on - Description
             ----  -------------------    -------------------------------
             0  B  07/16/2015 12:01:19    \\node1\c$\test\2015a 07/23/2015 Archive Date: 07/16/2015
             0  B  07/16/2015 12:01:19    \\node1\c$\test\2015c 07/23/2015 Archive Date: 07/16/2015
             0  B  07/16/2015 12:01:19    \\node1\c$\test\2015f 07/23/2015 Archive Date: 07/16/2015

Note that it only gives you the directories, but you can browse them later for the files once you know where they are.
 
In my case, I needed an asterik, because I didn´t know, where the directory resides (as explained in the question).
Without the asterik, I find nothing.
tsm> q ar {\\amanda\ntdata}*\20085289_FMH_Vermessung*
Size Archive Date - Time File - Expires on - Description
---- ------------------- -------------------------------
0 B 10/20/2009 12:38:06 \\amanda\ntdata\P_Daten\E11\E112\Projekte\99_Projekt_TABG\EDAG\20085289_FMH_Vermessung_TP 12/02/2039 Archive Date: 10/20/2009

Thank you for your help, I found both directories (different nodes, different archive date)
 
Back
Top