ADSM-L

Re: Selective backup and Incl/excl

2001-11-28 08:28:09
Subject: Re: Selective backup and Incl/excl
From: Andrew Raibeck <storman AT US.IBM DOT COM>
Date: Wed, 28 Nov 2001 08:25:27 -0500
During incremental backup, EXCLUDE.DIR causes TSM to not even bother
traversing directory(ies) that match the given pattern. For example
suppose you have:

   EXCLUDE.DIR C:\MYDIR
   EXCLUDE.DIR *:\...\TEMP*

These will bypass processing of directory C:\MYDIR and any directories on
any volume where the directory name begins with TEMP (i.e.
D:\XYZ\TEMPORARYFILES, C:\TEMP, etc.).

Thus neither files nor directories matching the above patterns are backed
up.

When TSM is processing the include/exclude list, EXCLUDE.DIR is always
processed first, regardless of position within dsm.opt.

   EXCLUDE.DIR C:\MYDIR
   INCLUDE C:\MYDIR\FILE*.TXT

and

   INCLUDE C:\MYDIR\FILE*.TXT
   EXCLUDE.DIR C:\MYDIR

are exactly the same: the EXCLUDE.DIR for C:\MYDIR will be matched first,
so regardless of the position of the INCLUDE, no files or subdirectories
in C:\MYDIR will be backed up.

Warning: EXCLUDE.DIR doesn't stop you from selectively backing up files in
C:\MYDIR. So DSMC SELECTIVE C:\MYDIR\ -SUBDIR=YES will back up the files
and directories in C:\MYDIR. However, during the next incremental backup
of C:, any backup versions of files in C:\MYDIR will be expired. My own
opinion: any attempt to do a SELECTIVE backup on C:\MYDIR should be met
with a message saying the files are excluded; but for now, this is a known
limitation.

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.




John Naylor <John.Naylor AT SCOTTISH-SOUTHERN.CO DOT UK>
Sent by: "ADSM: Dist Stor Manager" <ADSM-L AT VM.MARIST DOT EDU>
11/28/2001 03:14
Please respond to "ADSM: Dist Stor Manager"


        To:     ADSM-L AT VM.MARIST DOT EDU
        cc:
        Subject:        Selective backup and Incl/excl



Thoughts on this welcome.
Client manual says re selective backup

When you run a selective backup, TSM also backs up all directory
information. You can exclude the files within a directory, but you cannot
exclude a directory from being backed up.

So how does it treat exclude.dir in the dsm.opt
Is it ignored completely and all the files backed up or is it honoured to
the
extent that the
files are not backed up, only the directory information.

Thanks






**********************************************************************
The information in this E-Mail is confidential and may be legally
privileged. It may not represent the views of Scottish and Southern
Energy plc.
It is intended solely for the addressees. Access to this E-Mail by
anyone else is unauthorised. If you are not the intended recipient,
any disclosure, copying, distribution or any action taken or omitted
to be taken in reliance on it, is prohibited and may be unlawful.
Any unauthorised recipient should advise the sender immediately of
the error in transmission.

Scottish Hydro-Electric, Southern Electric, SWALEC and S+S
are trading names of the Scottish and Southern Energy Group.
**********************************************************************
<Prev in Thread] Current Thread [Next in Thread>