EXCLUDE.DIR is processed before any regular INCLUDE or EXCLUDE statements,
so your proposed solution won't work.

There is no easy way to do what you want. If you are really only
interested in backing up just the one directory structure, then your best
bet is probably to define a schedule for this machine whose OBJECTS
parameter reflects what directory you want processed, i.e.:

   DEFINE SCHEDULE STANDARD MYSCHED
          OBJECTS=/usr/local/ftp/ OPTIONS=-SUBDIR=YES

Regards,

Andy

Andy Raibeck
IBM Software Group
Tivoli Storage Manager Client Development
Internal Notes e-mail: Andrew Raibeck/Tucson/IBM@IBMUS
Internet e-mail: [EMAIL PROTECTED]

The only dumb question is the one that goes unasked.
The command line is your friend.
"Good enough" is the enemy of excellence.




Farren Minns <[EMAIL PROTECTED]>
Sent by: "ADSM: Dist Stor Manager" <[EMAIL PROTECTED]>
03/14/2002 03:05
Please respond to "ADSM: Dist Stor Manager"


        To:     [EMAIL PROTECTED]
        cc:
        Subject:        Easiest way to exclude all but one dir



Hi All

(Running TSM 3.7.3.8 on Solaris 2.7 box, the client in question is a
Solaris box with client level 3.7.2.0)

I would like to know the best way to exclude all but one dir (and all it's
sub dir's).

The file system layout is as follows:- What I want is to exclude
everything
on this box except /usr/local/ftp and all it's sub-dir's.

            /

            /usr/local

            /usr/local/ftp

            /usr/local/ns-server


I am assuming that I could set the client options as follows:-

exclude.dir /.../*
include /usr/local/ftp/.../*

Would this do it?


Many thanks in advance.

Kind Regards

Farren Minns - Trainee TSM and Solaris system admim.

Reply via email to