ADSM-L

Re: Include/Exclude Question

2004-09-01 12:21:23
Subject: Re: Include/Exclude Question
From: Andrew Raibeck <storman AT US.IBM DOT COM>
Date: Wed, 1 Sep 2004 10:21:16 -0600
> True, but if you add more drives that need backing up and
> forget to modify the domain statement, then have a problem,
> you don't have the files backed up. I prefer to backup too
> much and then expire what I don't need. By not using the
> domain statement you automatically get everything that is
> not excluded.

While this would technically work, it would still cause those drives to be
traversed, causing increased backup time. A better approach to excluding
drives in this fashion would be to code:

   exclude d:\*
   exclude.dir d:\*

But in my opinion, the *best* approach is to not bother with exclude to
skip drives, but instead use the DOMAIN statement, which will simplify
include/exclude AND avoid looking at the drives at all. A couple of
methods:

   domain c: g: j:

      or

   domain -d: -e: -f: -h: -i: -k: -l: -m:

The first version is easier to code. However, if drive P: is later added
and you want to back it up, you will need to remember to modify the DOMAIN
statement to ensure it gets backed up. On the other hand, if you don't
want drive P: backed up, then the second version of the domain statement
would have to be updated. Note that the second version covers your point
re: backing up too much rather than too little.

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.

"ADSM: Dist Stor Manager" <ADSM-L AT VM.MARIST DOT EDU> wrote on 09/01/2004
07:53:53:

> On Wed, 01 Sep 2004, Stapleton, Mark wrote:
>
> > >On Wed, 01 Sep 2004, Jones, Kelli wrote:
> > >> Server:
> > >> TSM 5.1.7.0
> > >> AIX 5.1
> > >> Client:
> > >> NT 4.0
> > >>We need to set up include/exclude statements for a node that
> > >>has drives C thru M.  We need to back up only C, G and J.  How
> > >>do I set up options file to back up only those drives (and
> > >>everything on them minus various system file) and nothing on
> > >>the other drives.
> >
> > From: ADSM: Dist Stor Manager [mailto:ADSM-L AT VM.MARIST DOT EDU] On
> > Behalf Of Mike
> > >You can use the domain statement (domain c:\), but I think it
> > >would be better to not use any domain statements and exclude
> > >the drives with (exclude d:\...\*).
> >
> > The domain statement would be one line, and (I suspect) more
efficient,
> > since there would be no filtering involved:
> >
> >         domain c: g: j:
> >
> > Also, if you add more drive letters to the node, the above domain
> > statement would not require modification.
>
> True, but if you add more drives that need backing up and
> forget to modify the domain statement, then have a problem,
> you don't have the files backed up. I prefer to backup too
> much and then expire what I don't need. By not using the
> domain statement you automatically get everything that is
> not excluded.
>
> Mike