An empty directory should not cause an rc 8 during archive: What output
are you seeing?
In this example, c:\x\y is a directory structure that is empty.
C:\Program Files\Tivoli\tsm\baclient>dsmc archive c:\x\y\ -su=y
IBM Tivoli Storage Manager
Command Line Backup/Archive Client Interface - Version 5, Release 2, Level
3.0
(c) Copyright by IBM Corporation and other(s) 1990, 2004. All Rights
Reserved.
Archive function invoked.
Node Name: AMR
Session established with server BABYLON_5: Windows
Server Version 5, Release 2, Level 0.0
Server date/time: 12/10/2004 06:47:58 Last access: 12/10/2004 06:47:48
ANS1016I No eligible files were found.
Archive processing of '\\amr\c$\x\y\*' finished without failure.
C:\Program Files\Tivoli\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.ibm DOT com
The only dumb question is the one that goes unasked.
The command line is your friend.
"Good enough" is the enemy of excellence.
"ADSM: Dist Stor Manager" <ADSM-L AT VM.MARIST DOT EDU> wrote on 12/10/2004
03:56:50:
> hi all,
> i have a problem
> i'm doing archiving of files from directory with delete files option =
yes,
> the thing is when archive schedule is runing the second time and finds
> 0 files in that dir it generates error 8 which is not what i want, (i
have
> a script that sends sms and email on managers mobile when error code 8
> appears, pretty dumb ... but ...), ok so i put file called safe into the
> directory and exclude.archive /directory/safe is the way it should
> be done, right ? ... i'll move on now i think you are following me ..
:-)
> the all other files are having the same extension and are archived via
> special managemnt class which is mentioned in command line
> wich executes the archive procedure,
> the error is
>
> Archive of /directory/ failed with code 4
> ANS1115W File '/directory/safe' excluded by Include/Exclude list
>
> i cannot put directive /directory/*.ext to archive files via extension
> name coz there are a lot of them so "expression list to big" error rise
up,
>
> i know that procedure wants to archive this file coz of /directory/ path
> destination
> but exclude.archive is preventing this, right ?
>
> how to get rid of this error and how to keep safe file intact in this
> directory ?
>
> big thanks in advance.
>
> 5.2.3.5 on AIX 5.2.ML3
> 4x3584x12drives
|