Re: Easiest way to exclude all but one dir
2002-03-14 08:40:40
Subject: |
Re: Easiest way to exclude all but one dir |
From: |
Farren Minns <fminns AT WILEY.CO DOT UK> |
Date: |
Thu, 14 Mar 2002 13:38:45 +0000 |
Thanks for that Andrew
I'll give it a go
Farren :)
Andrew Raibeck <storman AT US.IBM DOT COM>@VM.MARIST.EDU> on 14/03/2002 13:33:29
Please respond to "ADSM: Dist Stor Manager" <ADSM-L AT VM.MARIST DOT EDU>
Sent by: "ADSM: Dist Stor Manager" <ADSM-L AT VM.MARIST DOT EDU>
To: ADSM-L AT VM.MARIST DOT EDU
cc:
Subject: Re: Easiest way to exclude all but one dir
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: 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.
Farren Minns <fminns AT WILEY.CO DOT UK>
Sent by: "ADSM: Dist Stor Manager" <ADSM-L AT VM.MARIST DOT EDU>
03/14/2002 03:05
Please respond to "ADSM: Dist Stor Manager"
To: ADSM-L AT VM.MARIST DOT EDU
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.
|
|
|