On Wed, Mar 23, 2005 at 10:37:24AM -0500, Richard Sims wrote: > dsmc query archive -des="gl-2004*" -subdir=yes /<FilesystemName>/ > > This should turn up all files and directories which > employed that Description.
Hmm, that doesn't work as I expect: # dsmc query archive -des="pint-2004*" -subdir=yes /oracle/app/oracle/admin/pint/arch/ IBM Tivoli Storage Manager Command Line Backup/Archive Client Interface Client Version 5, Release 3, Level 0.0 Client date/time: 03/23/05 20:11:03 (c) Copyright by IBM Corporation and other(s) 1990, 2004. All Rights Reserved. Node Name: TRIPROD1 Session established with server SERVER1: AIX-RS/6000 Server Version 5, Release 3, Level 0.2 Server date/time: 03/23/05 20:11:03 Last access: 03/23/05 20:04:59 ANS1092W No files matching search criteria were found ... but see http://www.stupendous.org/dsmwebcl.jpg for a screenshot of the Web-client showing many archives that do match the wildcard. All those archives do not contain any files, though. The following command: # dsmc query archive -des="pint-2005*" -subdir=yes /oracle/app/oracle/admin/pint/arch/ ... does result in many files being shown (but no directories): IBM Tivoli Storage Manager Command Line Backup/Archive Client Interface Client Version 5, Release 3, Level 0.0 Client date/time: 03/23/05 20:19:10 (c) Copyright by IBM Corporation and other(s) 1990, 2004. All Rights Reserved. Node Name: TRIPROD1 Session established with server SERVER1: AIX-RS/6000 Server Version 5, Release 3, Level 0.2 Server date/time: 03/23/05 20:19:10 Last access: 03/23/05 20:18:26 Size Archive Date - Time File - Expires on - Description ---- ------------------- ------------------------------- 3,072 B 03/08/05 09:29:17 /oracle/app/oracle/admin/pint/arch/pint_1_22521.rdo 03/23/05 pint-20050308092917 4,096 B 03/08/05 09:59:56 /oracle/app/oracle/admin/pint/arch/pint_1_22522.rdo 03/23/05 pint-20050308095955 10,486,272 B 03/08/05 10:30:32 /oracle/app/oracle/admin/pint/arch/pint_1_22523.rdo 03/23/05 pint-20050308103032 10,486,272 B 03/08/05 10:30:33 /oracle/app/oracle/admin/pint/arch/pint_1_22524.rdo 03/23/05 pint-20050308103032 [... and so on ...] > If TSM balks at removing directories which do not have archived files > under them, look into the special CLEAN ARCHDIRectories command (APAR > IX89638). This doesn't seem to apply, since the archiving was done under 5.2 (now on server 5.3.0.2 and AIX client 5.3.0.0). The server doesn't recognize the commands CLEAN ARCHDIR and friends. > And, welcome to the more powerful world of CLI operations. :-) Thanks, but I'm already a CLI user, and TSM is no exception: when upgrading to 5.3, I didn't even *try* to bother installing the ISC. :-) -- Jurjen Oskam