ADSM-L

Re: [ADSM-L] INCLUDE for new management class

2007-12-04 21:34:07
Subject: Re: [ADSM-L] INCLUDE for new management class
From: Andrew Raibeck <storman AT US.IBM DOT COM>
To: ADSM-L AT VM.MARIST DOT EDU
Date: Thu, 29 Nov 2007 22:11:38 -0700
Hi Fred,

FORCE has no effect on INCLEXCL, so that's a nonstarter.

Try this: remove the INCLUDE statement from the dsm.opt file and instead
add it to the client option set on the server. But instead of using the
drive letter, use the UNC name, e.g.:

define clientopt <optsetname> inclexcl 'include
"\\machname\f$\nsit\fieldsupport\university administration\budget
office\*" longadmin'

where machname is the machine name for this client. Make sure to insert it
in the sequence so it tested before include *:\...\*.

Note that you don't need the second include with the *.* spec, as that is
redundant.

The idea is that other clients will pick up this include as well, but it
will have no effect due the differing UNC names.

See if that does the trick. On the machine in question, this include
statement will show up as F: in the Q INCLEXCL output; but on other
machines, you'll see it as the UNC name, so it should have no effect on
those machines.

Regards,

Andy

Andy Raibeck
IBM Software Group
Tivoli Storage Manager Client Product Development
Level 3 Team Lead
Internal Notes e-mail: Andrew Raibeck/Tucson/IBM@IBMUS
Internet e-mail: storman AT us.ibm DOT com

IBM Tivoli Storage Manager support web page:
http://www.ibm.com/software/sysmgmt/products/support/IBMTivoliStorageManager.html

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 11/29/2007
07:25:16 PM:

> Thanks Andy,
>
> I'll try to make this brief.  I had thought of making a special
> cloptset for this client, but the machine admin figures that once
> this special exception becomes known, the other 15 to 20 users of
> the box will want their own exceptions.  Being a nice guy, he
> figures I've got better things to do that creating special client
> options in the general cloptset.
>
> The way of avoiding this, I guess, is redefining the initial INCLUDE
> (include ?:* nondefault-mgmtc) with FORCE=NO, if that does mean that
> all files, directories, filespaces, etc., not covered by a separate
> include line will be bound to the initial include.
>
> I hope that's as clear as it is brief.
>
>
> ________________________________
>
> From: ADSM: Dist Stor Manager on behalf of Andrew Raibeck
> Sent: Thu 11/29/2007 6:53 PM
> To: ADSM-L AT VM.MARIST DOT EDU
> Subject: Re: [ADSM-L] INCLUDE for new management class
>
>
>
> Fred, I cannot give you a definitive to answer your question since I do
> not know your shop, its policies, service level agreement, etc., For
> example, it could be your shop policy that the INCLUDE *:\...\* is
> deliberate to prevent users from overriding via dsm.opt settings.
>
> Having said that: removing that INCLUDE would enable use of the
> client-side option (I leave it to you to review the Q INCLEXCL output to
> confirm there no other interfering settings). Whether you really want to
> do that, I cannot say.
>
> Another alternative is to make a new client option set for this user
that
> does not have the INCLUDE *:\...\*. Or set the node to not use any
client
> option set. Or configure a special node name for backing up just those
> files.
>
> Regards,
>
> Andy
>
> Andy Raibeck
> IBM Software Group
> Tivoli Storage Manager Client Product Development
> Level 3 Team Lead
> Internal Notes e-mail: Andrew Raibeck/Tucson/IBM@IBMUS
> Internet e-mail: storman AT us.ibm DOT com
>
> IBM Tivoli Storage Manager support web page:
> http://www.ibm.
> com/software/sysmgmt/products/support/IBMTivoliStorageManager.html
>
> 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 11/29/2007
> 05:38:30 PM:
>
> > So how does he get what he wants.  The option set is to set a
> > management class for a number of clients.  The new management class
> > applies to 1 of the 10.  Will setting the OVERRIDE=yes have the
> > desired effect?
> >
> > ________________________________
> >
> > From: ADSM: Dist Stor Manager on behalf of Andrew Raibeck
> > Sent: Thu 11/29/2007 4:21 PM
> > To: ADSM-L AT VM.MARIST DOT EDU
> > Subject: Re: [ADSM-L] INCLUDE for new management class
> >
> >
> >
> > OK, the Q INCLEXCL output is what we're interested in.
> >
> > You read the Q INCLEXCL from the top down (opposite of the dsm.opt
> file).
> > Notice that all the dir excludes (EXCLUDE.DIR) are at the top, since
> those
> > are always filtered first, regardless of how they are positioned.
> >
> > So starting from the top down, I see this above the INCLUDE for the
new
> > management class:
> >
> > Include All       *\...\*                        Server
> >
> > So that's why the new INCLUDE is ineffective. There are a lot of other
> > excluded files below that are probably getting backed up.
> >
> > Regards,
> >
> > Andy
> >
> > Andy Raibeck
> > IBM Software Group
> > Tivoli Storage Manager Client Product Development
> > Level 3 Team Lead
> > Internal Notes e-mail: Andrew Raibeck/Tucson/IBM@IBMUS
> > Internet e-mail: storman AT us.ibm DOT com
> >
> > IBM Tivoli Storage Manager support web page:
> > http://www.ibm <http://www.ibm/> .
> > com/software/sysmgmt/products/support/IBMTivoliStorageManager.html
> >
> > 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 11/29/2007
> > 03:00:42 PM:
> >
> > > There are no 'INCLUDE' lines in the option set other than the
initial
> > > one.
> > >
> > > This is the dsm.opt:
> > >
> > > EXCLUDE.BACKUP "*:\microsoft uam volume\...\*"
> > > EXCLUDE.BACKUP "*:\microsoft uam volume\...\*.*"
> > > EXCLUDE.BACKUP "*:\...\EA DATA. SF"
> > > EXCLUDE.BACKUP "*:\IBMBIO.COM"
> > > EXCLUDE.BACKUP "*:\IBMDOS.COM"
> > > EXCLUDE.BACKUP "*:\IO.SYS"
> > > EXCLUDE.BACKUP "*:\...\system32\config\...\*"
> > > EXCLUDE.BACKUP "*:\...\system32\Perflib*.dat"
> > > EXCLUDE.BACKUP "*:\...\system32\dhcp\...\*"
> > > INCLUDE.BACKUP "*:\...\system32\dhcp\backup\...\*"
> > > EXCLUDE.BACKUP "*:\...\system32\dns\...\*"
> > > INCLUDE.BACKUP "*:\...\system32\dns\backup\...\*"
> > > EXCLUDE.ARCHIVE "*:\microsoft uam volume\...\*"
> > > EXCLUDE.ARCHIVE "*:\microsoft uam volume\...\*.*"
> > > EXCLUDE.ARCHIVE "*:\...\EA DATA. SF"
> > > EXCLUDE.ARCHIVE "*:\IBMBIO.COM"
> > > EXCLUDE.ARCHIVE "*:\IBMDOS.COM"
> > > EXCLUDE.ARCHIVE "*:\IO.SYS"
> > > EXCLUDE.ARCHIVE "*:\...\system32\config\...\*"
> > > EXCLUDE.ARCHIVE "*:\...\system32\Perflib*.dat"
> > > EXCLUDE.ARCHIVE "*:\...\system32\dhcp\...\*"
> > > INCLUDE.ARCHIVE "*:\...\system32\dhcp\backup\...\*"
> > > EXCLUDE.ARCHIVE "*:\...\system32\dns\...\*"
> > > INCLUDE.ARCHIVE "*:\...\system32\dns\backup\...\*"
> > > EXCLUDE.DIR "*:\System Volume Information"
> > > EXCLUDE.DIR "*:\...\Temporary Internet Files"
> > > EXCLUDE.DIR "*:\Recycled"
> > > EXCLUDE.DIR "*:\Recycler"
> > > INCLUDE "F:\NSIT\FieldSupport\University Administration\Budget
> Office\*"
> > > LONGADMIN
> > > INCLUDE "F:\NSIT\FieldSupport\University Administration\Budget
> > > Office\*.*" LONGADMIN
> > >
> > > And the dsmc q inclexcl:
> > >
> > > *** FILE INCLUDE/EXCLUDE ***
> > > Mode Function  Pattern (match from top down)  Source File
> > > ---- --------- ------------------------------ -----------------
> > > Excl Directory *\winnt\system32\wins          Server
> > > Excl Directory *\temp                         Server
> > > Excl Directory *\Recycle*                     Server
> > > Excl Directory *\I386                         Server
> > > Excl Directory *\Program Files\Network Associates\VirusScan NT
Server
> > > Excl Directory C:\adsm.sys                    Operating System
> > > Excl Directory *\Recycler                     dsm.opt
> > > Excl Directory *\Recycled                     dsm.opt
> > > Excl Directory *\...\Temporary Internet Files dsm.opt
> > > Excl Directory *\System Volume Information    dsm.opt
> > > Exclude All       *\winnt\system32\DTCLog\MsDTC.log Server
> > > Exclude All       *\winnt\netlogon.chg           Server
> > > Exclude All       *\winnt\debug\*.*              Server
> > > Exclude All       *\winnt\debug\*                Server
> > > Exclude All       *\winnt\csc\*.*                Server
> > > Exclude All       *\winnt\csc\*                  Server
> > > Exclude All       *\winnt\Registration\*.clb     Server
> > > Exclude All       *\hibernate.dat                Server
> > > Exclude All       *\hiberfil.sys                 Server
> > > Exclude All       *\ffastun*.ff?                 Server
> > > Exclude All       *\MSDOS.SYS                    Server
> > > Exclude All       *\IO.SYS                       Server
> > > Exclude All       *\IBMDOS.COM                   Server
> > > Exclude All       *\IBMBIO.COM                   Server
> > > Exclude All       *\...\pagefile.sys             Server
> > > Exclude All       *\...\SYSTEM32\CONFIG\...\*    Server
> > > Exclude All       *\...\SYSTEM32\CONFIG\*.*      Server
> > > Exclude All       *\...\Cache\*.*                Server
> > > Exclude All       *\...\Cache\*                  Server
> > > Exclude All       *\*.crmlog                     Server
> > > Exclude All       *\microsoft uam volume\...\*.* Server
> > > Exclude All       *\microsoft uam volume\...\*   Server
> > > Exclude All       *\microsoft uam volume\*.*     Server
> > > Exclude All       *\microsoft uam volume\*       Server
> > > Exclude All       *\macintosh volume\...\*.*     Server
> > > Exclude All       *\macintosh volume\...\*       Server
> > > Exclude All       *\macintosh volume\*.*         Server
> > > Exclude All       *\macintosh volume\*           Server
> > > Exclude All       *\Documents and setting\...\index.dat Server
> > > Exclude All       *\Documents and Settings\...\ntuser.dat.log Server
> > > Exclude All       *\Documents and Settings\...\ntuser.dat Server
> > > Exclude All       *\Documents and Settings\...\Local
Settings\temp\*.*
> > > Server
> > > Exclude All       *\Documents and Settings\...\Local Settings\temp\*
> > > Server
> > > Exclude All       *\Documents and Settings\...\Local
> > > Settings\Application Data\Microsoft\Windows\UsrClass.dat.log Server
> > > Exclude All       *\Documents and Settings\...\Local
> > > Settings\Application Data\Microsoft\Windows\UsrClass.dat Server
> > > Exclude All       *\...\Temporary Internet Files\*.* Server
> > > Exclude All       *\...\Temporary Internet Files\* Server
> > > Exclude All       *\...\EA DATA. SF              Server
> > > Include All       *\...\*                        Server
> > > Exclude All       C:\WINDOWS\usrclass.dat.log    Operating System
> > > Exclude All       C:\WINDOWS\usrclass.dat        Operating System
> > > Exclude All       C:\WINDOWS\Tasks\schedlgu.txt  Operating System
> > > Exclude All       C:\WINDOWS\system32\WBEM\Repository\...\*.*
> Operating
> > > System
> > > Exclude All       C:\WINDOWS\system32\NtmsData\...\* Operating
System
> > > Exclude All       C:\WINDOWS\system32\MSDtc\trace\dtctrace.log
> Operating
> > > System
> > > Exclude All       C:\WINDOWS\system32\MSDTC\MSDTC.LOG Operating
System
> > > Exclude All       C:\WINDOWS\system32\inetsrv\metabase.xml Operating
> > > System
> > > Exclude All       C:\WINDOWS\system32\inetsrv\metabase.bin Operating
> > > System
> > > Exclude All       C:\WINDOWS\system32\inetsrv\mbschema.xml Operating
> > > System
> > > Exclude All       C:\WINDOWS\system32\dns\dns.log Operating System
> > > Exclude All       C:\WINDOWS\system32\dns\backup\dns.log Operating
> > > System
> > > Exclude All       C:\WINDOWS\system32\config\system.log Operating
> System
> > > Exclude All       C:\WINDOWS\system32\config\system.alt Operating
> System
> > > Exclude All       C:\WINDOWS\system32\config\system Operating System
> > > Exclude All       C:\WINDOWS\system32\config\software.log Operating
> > > System
> > > Exclude All       C:\WINDOWS\system32\config\software Operating
System
> > > Exclude All       C:\WINDOWS\system32\config\security.log Operating
> > > System
> > > Exclude All       C:\WINDOWS\system32\config\security Operating
System
> > > Exclude All       C:\WINDOWS\system32\config\sam.log Operating
System
> > > Exclude All       C:\WINDOWS\system32\config\sam Operating System
> > > Exclude All       C:\WINDOWS\system32\config\default.log Operating
> > > System
> > > Exclude All       C:\WINDOWS\system32\config\default Operating
System
> > > Exclude All       C:\WINDOWS\System32\CatRoot2\...\* Operating
System
> > > Exclude All       C:\WINDOWS\SoftwareDistribution\...\* Operating
> System
> > > Exclude All
> > > C:\WINDOWS\Repair\Backup\ServiceState\EventLogs\SysEvent.Evt
Operating
> > > System
> > > Exclude All
> > > C:\WINDOWS\Repair\Backup\ServiceState\EventLogs\SecEvent.Evt
Operating
> > > System
> > > Exclude All
> > > C:\WINDOWS\Repair\Backup\ServiceState\EventLogs\NtFrs.Evt Operating
> > > System
> > > Exclude All
> > > C:\WINDOWS\Repair\Backup\ServiceState\EventLogs\NTDS.Evt Operating
> > > System
> > > Exclude All
> > > C:\WINDOWS\Repair\Backup\ServiceState\EventLogs\DnsEvent.Evt
Operating
> > > System
> > > Exclude All
> > > C:\WINDOWS\Repair\Backup\ServiceState\EventLogs\AppEvent.Evt
Operating
> > > System
> > > Exclude All
> > > C:\WINDOWS\Repair\Backup\BootableSystemState\Registry\system
Operating
> > > System
> > > Exclude All
> > > C:\WINDOWS\Repair\Backup\BootableSystemState\Registry\software
> Operating
> > > System
> > > Exclude All
> > > C:\WINDOWS\Repair\Backup\BootableSystemState\Registry\SECURITY
> Operating
> > > System
> > > Exclude All
> > > C:\WINDOWS\Repair\Backup\BootableSystemState\Registry\SAM Operating
> > > System
> > > Exclude All
> > > C:\WINDOWS\Repair\Backup\BootableSystemState\Registry\default
> Operating
> > > System
> > > Exclude All
> > >
> C:\WINDOWS\Repair\Backup\BootableSystemState\ComRegistrationDatabase\...
> > > \* Operating System
> > > Exclude All       C:\WINDOWS\repair\asr.log      Operating System
> > > Exclude All       C:\WINDOWS\repair\asr.err      Operating System
> > > Exclude All       C:\WINDOWS\Registration\*.clb  Operating System
> > > Exclude All       c:\windows\ntfrs\jet\...\*     Operating System
> > > Exclude All       C:\WINDOWS\NTDS\*              Operating System
> > > Exclude All       C:\WINDOWS\NTDS*               Operating System
> > > Exclude All       C:\WINDOWS\netlogon.chg        Operating System
> > > Exclude All       C:\WINDOWS\debug\NtFrs\NtFrs*  Operating System
> > > Exclude All       C:\WINDOWS\debug\*             Operating System
> > > Exclude All       C:\WINDOWS\csc\...\*           Operating System
> > > Exclude All       C:\DOCUME~1\JOSHKN~1\LOCALS~1\Temp\1\...\*
Operating
> > > System
> > > Exclude All       C:\Documents and Settings\joshknorr\...\index.dat
> > > Operating System
> > > Exclude All       C:\Documents and Settings\All Users\DRM\...\*
> > > Operating System
> > > Exclude All       C:\Documents and Settings\All Users\Application
> > > Data\Microsoft\Network\Downloader\* Operating System
> > > Exclude All       *\System Volume
> > > Information\MountPointManagerRemoteDatabase Operating System
> > > Exclude All       *\System Volume
> > > Information\...\*{3808876B-C176-4e48-B7AE-04046E6CC752} Operating
> System
> > > Exclude All       *\System Volume
> > > Information\*.{7cc467ef-6865-4831-853f-2a4817fd1bca}DB Operating
> System
> > > Exclude All       *\System Volume
> > > Information\*.{7cc467ef-6865-4831-853f-2a4817fd1bca}ALT Operating
> System
> > > Exclude All       *\Pagefile.sys                 Operating System
> > > Exclude All       *\hiberfil.sys                 Operating System
> > > Exclude All       *\...\*.crmlog                 Operating System
> > > Include All       f:\NSIT\FieldSupport\University
> Administration\Budget
> > > Office\* dsm.opt
> > > Include Archive   *\...\system32\dns\backup\...\* dsm.opt
> > > Exclude Archive   *\...\system32\dns\...\*       dsm.opt
> > > Include Archive   *\...\system32\dhcp\backup\...\* dsm.opt
> > > Exclude Archive   *\...\system32\dhcp\...\*      dsm.opt
> > > Exclude Archive   *\...\system32\Perflib*.dat    dsm.opt
> > > Exclude Archive   *\...\system32\config\...\*    dsm.opt
> > > Exclude Archive   *\IO.SYS                       dsm.opt
> > > Exclude Archive   *\IBMDOS.COM                   dsm.opt
> > > Exclude Archive   *\IBMBIO.COM                   dsm.opt
> > > Exclude Archive   *\...\EA DATA. SF              dsm.opt
> > > Exclude Archive   *\microsoft uam volume\...\*.* dsm.opt
> > > Exclude Archive   *\microsoft uam volume\...\*   dsm.opt
> > > Include Backup    *\...\system32\dns\backup\...\* dsm.opt
> > > Exclude Backup    *\...\system32\dns\...\*       dsm.opt
> > > Include Backup    *\...\system32\dhcp\backup\...\* dsm.opt
> > > Exclude Backup    *\...\system32\dhcp\...\*      dsm.opt
> > > Exclude Backup    *\...\system32\Perflib*.dat    dsm.opt
> > > Exclude Backup    *\...\system32\config\...\*    dsm.opt
> > > Exclude Backup    *\IO.SYS                       dsm.opt
> > > Exclude Backup    *\IBMDOS.COM                   dsm.opt
> > > Exclude Backup    *\IBMBIO.COM                   dsm.opt
> > > Exclude Backup    *\...\EA DATA. SF              dsm.opt
> > > Exclude Backup    *\microsoft uam volume\...\*.* dsm.opt
> > > Exclude Backup    *\microsoft uam volume\...\*   dsm.opt
> > > No DFS include/exclude statements defined.
> > >
> > > Fred Johanson
> > > TSM Administrator
> > > University of Chicago
> > >
> > > 773-702-8464
> > >
> > >
> > > -----Original Message-----
> > > From: ADSM: Dist Stor Manager [mailto:ADSM-L AT VM.MARIST DOT EDU] On
Behalf
> Of
> > > Andrew Raibeck
> > > Sent: Thursday, November 29, 2007 3:48 PM
> > > To: ADSM-L AT VM.MARIST DOT EDU
> > > Subject: Re: [ADSM-L] INCLUDE for new management class
> > >
> > > Yes, but it's not position in the dsm.opt file that matters when
> client
> > > option sets are at issue. Use "dsmc query inclexcl" to see the final
> > > list
> > > that TSM actually uses.
> > >
> > > I suspect it is that client option set that is overriding the
dsm.opt
> > > file.
> > >
> > > Regards,
> > >
> > > Andy
> > >
> > > Andy Raibeck
> > > IBM Software Group
> > > Tivoli Storage Manager Client Product Development
> > > Level 3 Team Lead
> > > Internal Notes e-mail: Andrew Raibeck/Tucson/IBM@IBMUS
> > > Internet e-mail: storman AT us.ibm DOT com
> > >
> > > IBM Tivoli Storage Manager support web page:
> > >
> http://www.ibm.com/software/sysmgmt/products/support/IBMTivoliStorageMan
> > > ager.html
> > >
> > > 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 
> > > 11/29/2007
> > > 02:41:26 PM:
> > >
> > > > Andy,
> > > >
> > > > His additions are at the bottom of his dsm.opt file.  There is
also
> a
> > > > client optionset that has:
> > > >
> > > > Include ?:* FILESERVER
> > > >
> > > >
> > > >
> > > > Fred Johanson
> > > > TSM Administrator
> > > > University of Chicago
> > > >
> > > > 773-702-8464
> > > >
> > > >
> > > > -----Original Message-----
> > > > From: ADSM: Dist Stor Manager [mailto:ADSM-L AT VM.MARIST DOT EDU] On
> Behalf
> > > Of
> > > > Andrew Raibeck
> > > > Sent: Thursday, November 29, 2007 2:29 PM
> > > > To: ADSM-L AT VM.MARIST DOT EDU
> > > > Subject: Re: [ADSM-L] INCLUDE for new management class
> > > >
> > > > Nothing wrong per se, although the second INCLUDE appears
redundant.
> > > >
> > > > The first place to start with these kinds of issues is to use
"dsmc
> > > > query
> > > > inclexcl" to makes sure those files aren't being picked up by an
> > > earlier
> > > > filter.
> > > >
> > > > Also make sure the updated policy was activated.
> > > >
> > > > Regards,
> > > >
> > > > Andy
> > > >
> > > > Andy Raibeck
> > > > IBM Software Group
> > > > Tivoli Storage Manager Client Product Development
> > > > Level 3 Team Lead
> > > > Internal Notes e-mail: Andrew Raibeck/Tucson/IBM@IBMUS
> > > > Internet e-mail: storman AT us.ibm DOT com
> > > >
> > > > IBM Tivoli Storage Manager support web page:
> > > >
> > >
> http://www.ibm.com/software/sysmgmt/products/support/IBMTivoliStorageMan
> > > > ager.html
> > > >
> > > > 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
11/29/2007
> > > > 01:23:35 PM:
> > > >
> > > > > Our desktop support unit has a user that wants a new retention
> > > policy
> > > > on
> > > > > their file share.  The admin added this to the dsm.opt:
> > > > >
> > > > > INCLUDE "F:\NSIT\FieldSupport\University Administration\Budget
> > > > Office\*"
> > > > > LONGADMIN
> > > > > INCLUDE "F:\NSIT\FieldSupport\University Administration\Budget
> > > > > Office\*.*" LONGADMIN
> > > > >
> > > > > I can't see anything syntactically wrong, but it does not work.
> > > He's
> > > > > also tried 'f:...' with no effect.  He says that he's restarted
> the
> > > > > service after each change.
> > > > >
> > > > > Can anyone see his error?
> > > > >
> > > > > Fred Johanson
> > > > > TSM Administrator
> > > > > University of Chicago
> > > > >
> > > > > 773-702-8464