I'm not aware of any problems in this area. Are you sure they are
specifing the description and/or file spec correctly?
Here is sample output from the 5.1.5.7 client on Windows 2000 Server:
********** ARCHIVE SOME DATA **********
C:\TSM\baclient>dsmc ar c:\testdir\
Tivoli Storage Manager
*** Fixtest, Please see README file for more information ***
Command Line Backup/Archive Client Interface - Version 5, Release 1, Level
5.7
(C) Copyright IBM Corporation 1990, 2002 All Rights Reserved.
Archive function invoked.
Node Name: ANDY
Session established with server SERVER1: Windows
Server Version 5, Release 1, Level 5.4
Server date/time: 01/30/2003 10:17:14 Last access: 01/30/2003 10:17:08
0 \\storman\c$\TestDir [Sent]
Normal File--> 142 \\storman\c$\TestDir\file1 [Sent]
Normal File--> 142 \\storman\c$\TestDir\file2 [Sent]
Normal File--> 142 \\storman\c$\TestDir\file3 [Sent]
Archive processing of '\\storman\c$\TestDir\*' finished without failure.
Total number of objects inspected: 3
Total number of objects archived: 3
Total number of objects updated: 0
Total number of objects rebound: 0
Total number of objects deleted: 0
Total number of objects expired: 0
Total number of objects failed: 0
Total number of bytes transferred: 1.00 KB
Data transfer time: 0.00 sec
Network data transfer rate: 0.00 KB/sec
Aggregate data transfer rate: 0.33 KB/sec
Objects compressed by: 0%
Elapsed processing time: 00:00:03
********** QUERY THE ARCHIVE **********
C:\TSM\baclient>dsmc q ar c:\testdir\
Tivoli Storage Manager
*** Fixtest, Please see README file for more information ***
Command Line Backup/Archive Client Interface - Version 5, Release 1, Level
5.7
(C) Copyright IBM Corporation 1990, 2002 All Rights Reserved.
Node Name: ANDY
Session established with server SERVER1: Windows
Server Version 5, Release 1, Level 5.4
Server date/time: 01/30/2003 10:17:21 Last access: 01/30/2003 10:17:14
Size Archive Date - Time File - Expires on - Description
---- ------------------- -------------------------------
142 B 01/30/2003 10:17:14 \\storman\c$\TestDir\file1
01/30/2004 Archive Date: 01/30/2003
142 B 01/30/2003 10:17:14 \\storman\c$\TestDir\file2
01/30/2004 Archive Date: 01/30/2003
142 B 01/30/2003 10:17:14 \\storman\c$\TestDir\file3
01/30/2004 Archive Date: 01/30/2003
********** DELETE THE ARCHIVE **********
C:\TSM\baclient>dsmc del ar -desc="Archive Date: 01/30/2003" c:\testdir\
Tivoli Storage Manager
*** Fixtest, Please see README file for more information ***
Command Line Backup/Archive Client Interface - Version 5, Release 1, Level
5.7
(C) Copyright IBM Corporation 1990, 2002 All Rights Reserved.
Node Name: ANDY
Session established with server SERVER1: Windows
Server Version 5, Release 1, Level 5.4
Server date/time: 01/30/2003 10:17:27 Last access: 01/30/2003 10:17:21
Archived files will be deleted. Do you wish to proceed? (Yes (Y)/No (N))
y
Archive Delete-> 142 \\storman\c$\TestDir\file1 [Sent]
Archive Delete-> 142 \\storman\c$\TestDir\file2 [Sent]
Archive Delete-> 142 \\storman\c$\TestDir\file3 [Sent]
Total number of objects deleted: 3
Total number of objects failed: 0
Total number of bytes transferred: 0 B
Data transfer time: 0.00 sec
Network data transfer rate: 0.00 KB/sec
Aggregate data transfer rate: 0.00 KB/sec
Objects compressed by: 0%
Elapsed processing time: 00:00:04
********** QUERY THE ARCHIVE AGAIN TO SEE THE FILES ARE GONE **********
C:\TSM\baclient>dsmc q ar c:\testdir\
Tivoli Storage Manager
*** Fixtest, Please see README file for more information ***
Command Line Backup/Archive Client Interface - Version 5, Release 1, Level
5.7
(C) Copyright IBM Corporation 1990, 2002 All Rights Reserved.
Node Name: ANDY
Session established with server SERVER1: Windows
Server Version 5, Release 1, Level 5.4
Server date/time: 01/30/2003 10:17:35 Last access: 01/30/2003 10:17:27
ANS1092E No files matching search criteria were found
C:\TSM\baclient>
Andy Raibeck
IBM Software Group
Tivoli Storage Manager Client Development
Internal Notes e-mail: Andrew Raibeck/Tucson/IBM@IBMUS
Internet e-mail: storman AT us.eyebm DOT com (change eye to i to reply)
The only dumb question is the one that goes unasked.
The command line is your friend.
"Good enough" is the enemy of excellence.
Gerhard Rentschler <g.rentschler AT RUS.UNI-STUTTGART DOT DE>
Sent by: "ADSM: Dist Stor Manager" <ADSM-L AT VM.MARIST DOT EDU>
01/30/2003 09:24
Please respond to "ADSM: Dist Stor Manager"
To: ADSM-L AT VM.MARIST DOT EDU
cc:
Subject: Problem with delete archive
Hello,
the archive command automatically generates an archive description o the
form "Archive Date: 01/30/2003". When users do an archive delete this way:
delete archive -des "Archive Date: 01/30/2003" c:\plan\*
then we get the error message that no objwect is found. With a description
explicitly specified by the user during the archive it works. Does anyone
know the reason for this behaviour?
Regards
Gerhard
---
Gerhard Rentschler email:g.rentschler AT rus.uni-stuttgart DOT de
Regional Computing Center tel. ++49/711/685 5806
University of Stuttgart fax: ++49/711/682357
Allmandring 30a
D 70550
Stuttgart
Germany
|