ADSM-L

Re: Wildcard limitations in filespec?

2003-08-25 14:19:23
Subject: Re: Wildcard limitations in filespec?
From: Andrew Raibeck <storman AT US.IBM DOT COM>
To: ADSM-L AT VM.MARIST DOT EDU
Date: Mon, 25 Aug 2003 12:16:53 -0600
It is true that wildcard characters are limited to file names only. From
the client manual in the reference for the INCREMENTAL command:

--------------------------------------------------
Using wildcard characters

In a command, you can use wildcard characters in the file name or file
extension only. You cannot use them to specify destination files, drives,
or directories. Use wildcard characters when you want to specify multiple
files with similar names in one command. Without wildcard characters, you
must repeat the command for each file. Valid wildcard characters that you
can use include:
--------------------------------------------------

So you would need to specify the fully-qualified directory.

If you are running the command from the OS command line interface (or via
a script), you might be able to use an environment variable to work around
this restriction. I'm not sure how it would work on Unix, but on Windows,
I could do something like this:

set myenv=andy1
dsmc i c:\u01\app\oracle\admin\%myenv%\arch\ -su=y

The Windows command processor will substitute "andy1" for the "myenv"
environment variable, so that the TSM client sees the directory as
c:\u01\app\oracle\admin\andy1\arch\

Note that this does not work when running in loop (interactive) mode.

Not sure if that helps, but I figured it was worth a shot...

Regards,

Andy

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.




Ted Byrne <tbyrne AT DSSCORP DOT COM>
Sent by: "ADSM: Dist Stor Manager" <ADSM-L AT VM.MARIST DOT EDU>
08/25/2003 10:25
Please respond to "ADSM: Dist Stor Manager"

        To:     ADSM-L AT VM.MARIST DOT EDU
        cc:
        Subject:        Wildcard limitations in filespec?


Greetings,

We'd like to run an incremental backup of a group of directories.  The
exact directory names vary from server to server, but they all follow the
form
        /u01/app/oracle/admin/*/arch/

where the "*" is the name of an Oracle instance.

When we run an incremental using the filespec as shown,  the backup does
not pick up any files, even when we create a new file or touch an existing
file in one of those directories.  We've tried this with and without
quotes
around the filespec.

Is there a limitation on the filespec used so that wildcards in the middle
of the string do not get processed?  These are Solaris 9 clients using
client version 5.1.6.2 or 5.2.0.0

Thanks in advance,

Ted

<Prev in Thread] Current Thread [Next in Thread>