Results 1 to 4 of 4
  1. #1
    Newcomer
    Join Date
    Jul 2010
    Posts
    25
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Windows Client 6.3 Include/Exlude Problem

    Hi,

    I don't usually use the .opt file for my backups - typically i define the objects within the schedule on the server.

    I was trying to do a strange one though, and I cant get it to work. In my mind this makes sense (I want Systemstate, C:\inetpub and C:\Software) and nothing else...

    It seems to be picking up ALL directories though, but not the files inside them.

    Can anyone make a suggestion? This is a windows server 2008 r2 client and server both are levels 6.3.0.


    Thanks in advance!


    PORTION OF DSMPREV.TXT

    C:\hp\hpsmh\webapp\hpwbemserv.xml 500 B .xml Excluded *\...\* dsm.opt DEFAULT
    C:\hp\hpsmh\webapp\hpwbemstor.xml 481 B .xml Excluded *\...\* dsm.opt DEFAULT
    C:\hp\hpsmh\webapp\vcagent.xml 2.78 KB .xml Excluded *\...\* dsm.opt DEFAULT
    C:\hp\hpsmh\webapp\switch\hmanics.xml 404 B .xml Excluded *\...\* dsm.opt DEFAULT
    C:\hp\hpsmh\webapp\switch\hmaserv.xml 692 B .xml Excluded *\...\* dsm.opt DEFAULT
    C:\hp\hpsmh\webapp\switch\hmastor.xml 567 B .xml Excluded *\...\* dsm.opt DEFAULT
    C:\hp\hpsmh\webapp\switch\webagent.xml 1.02 KB .xml Excluded *\...\* dsm.opt DEFAULT
    C:\hp\sslshare\cert.pem 1.32 KB .pem Excluded *\...\* dsm.opt DEFAULT
    C:\hp\sslshare\file.pem 1.63 KB .pem Excluded *\...\* dsm.opt DEFAULT
    C:\inetpub\history 0 B Directory Included - - STANDARD
    C:\inetpub\logs 0 B Directory Included - - STANDARD
    C:\inetpub\temp 0 B Directory Included - - STANDARD
    C:\inetpub\wwwroot 0 B Directory Included - - STANDARD
    C:\inetpub\history\CFGHISTORY_0000000001 0 B Directory Included - - STANDARD
    C:\inetpub\history\CFGHISTORY_0000000002 0 B Directory Included - - STANDARD
    C:\inetpub\history\CFGHISTORY_0000000001\administr ation.config 17.83 KB .config Excluded *\...\* dsm.opt DEFAULT
    C:\inetpub\history\CFGHISTORY_0000000001\applicati onHost.config 11.07 KB .config Excluded *\...\* dsm.opt DEFAULT
    C:\inetpub\history\CFGHISTORY_0000000002\administr ation.config 17.83 KB .config Excluded *\...\* dsm.opt DEFAULT
    C:\inetpub\history\CFGHISTORY_0000000002\applicati onHost.config 19.90 KB .config Excluded *\...\* dsm.opt DEFAULT
    C:\inetpub\temp\appPools 0 B Directory Included - - STANDARD
    C:\inetpub\temp\appPools\APC891C.tmp 18.87 KB .tmp Excluded *\...\* dsm.opt DEFAULT
    C:\inetpub\wwwroot\iisstart.htm 689 B .htm Excluded *\...\* dsm.opt DEFAULT
    C:\inetpub\wwwroot\welcome.png 180.61 KB .png Excluded *\...\* dsm.opt DEFAULT
    C:\Program Files\Common Files 0 B Directory Included - - STANDARD
    C:\Program Files\Compaq 0 B Directory Included - - STANDARD
    C:\Program Files\HP 0 B Directory Included - - STANDARD
    C:\Program Files\HPWBEM 0 B Directory Included - - STANDARD
    C:\Program Files\ibm 0 B Directory Included - - STANDARD
    C:\Program Files\Internet Explorer 0 B Directory Included - - STANDARD
    C:\Program Files\Microsoft Analysis Services 0 B Directory Included - - STANDARD
    C:\Program Files\Microsoft SQL Server 0 B Directory Included - - STANDARD
    C:\Program Files\Microsoft Visual Studio 9.0 0 B Directory Included - - STANDARD
    C:\Program Files\Microsoft.NET 0 B Directory Included - - STANDARD
    C:\Program Files\MSBuild 0 B Directory Included - - STANDARD
    C:\Program Files\Reference Assemblies 0 B Directory Included - - STANDARD
    C:\Program Files\Tivoli 0 B Directory Included - - STANDARD


    DSM.OPT

    NODENAME PHSDBN2
    TCPSERVERADDRESS 142.238.214.29
    EXCLUDE "?:\...\*"
    INCLUDE "C:\inetpub\*" STANDARD
    INCLUDE "C:\Software\*" STANDARD
    INCLUDE.SYSTEMSTATE all STANDARD
    PASSWORDACCESS GENERATE
    SNAPSHOTPROVIDERFS LVSA


    DSMC Q INCLEXCL

    IBM Tivoli Storage Manager
    Command Line Backup-Archive Client Interface
    Client Version 6, Release 3, Level 0.0
    Client date/time: 02/03/2012 16:09:08
    (c) Copyright by IBM Corporation and other(s) 1990, 2011. All Rights Reserved.

    Node Name: PHSDBN2
    Session established with server TSMBLADE1: Windows
    Server Version 6, Release 3, Level 0.0
    Server date/time: 02/03/2012 16:09:08 Last access: 02/03/2012 16:06:18

    *** FILE INCLUDE/EXCLUDE ***
    Mode Function Pattern (match from top down) Source File
    ---- --------- ------------------------------ -----------------
    Excl Directory *\...\.TsmCacheDir TSM
    Excl Directory c:\Windows\system32\microsoft\protect Operating System
    Excl Directory C:\Windows\winsxs Operating System
    Excl Directory C:\Windows\Vss\Writers Operating System
    Excl Directory C:\Windows\Tasks Operating System
    Excl Directory C:\Windows\system32\wbem\repository Operating System
    Excl Directory C:\Windows\System32\Tasks Operating System
    Excl Directory C:\Windows\System32\Microsoft\Protect Operating System
    Excl Directory C:\Windows\system32\LogFiles\WMI\RtBackup Operating System
    Excl Directory C:\Windows\system32\DriverStore\FileRepository Operating System
    Excl Directory C:\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE} Operating System
    Excl Directory C:\Windows\system32\CatRoot\{127D0A1D-4EF2-11D1-8608-00C04FC295EE} Operating System
    Excl Directory C:\Windows\system32\CatRoot2\{F750E6C3-38EE-11D1-85E5-00C04FC295EE} Operating System
    Excl Directory C:\Windows\system32\CatRoot2\{127D0A1D-4EF2-11D1-8608-00C04FC295EE} Operating System
    Excl Directory C:\Windows\servicing\packages Operating System
    Excl Directory C:\Windows\ServiceProfiles\NetworkService\AppData\ Roaming\Microsoft\SoftwareProtectionPlatform Operating System
    Excl Directory C:\Windows\Registration Operating System
    Excl Directory C:\Windows\assembly Operating System
    Excl Directory C:\programdata\Microsoft\Crypto\RSA\MachineKeys Operating System
    Excl Directory C:\Boot Operating System
    Excl Directory C:\adsm.sys Operating System
    Exclude Archive *\dsmthreshmig.bin Operating System
    Exclude Archive *\dsmrecon.bin Operating System
    Exclude All *\dsmthreshmig.bin Operating System
    Exclude All *\dsmrecon.bin Operating System
    Exclude All C:\Windows\usrclass.dat.log Operating System
    Exclude All C:\Windows\usrclass.dat 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\LogFiles\WMI\RtBackup\*.* Operating System
    Exclude All C:\Windows\system32\inetsrv\config\* Operating System
    Exclude All c:\windows\system32\driverstore\infcache.* Operating System
    Exclude All c:\windows\system32\driverstore\*.dat Operating System
    Exclude All C:\Windows\system32\config\system.log 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\config\components.log Operating System
    Exclude All C:\Windows\system32\config\components Operating System
    Exclude All C:\Windows\System32\Bits.log Operating System
    Exclude All C:\Windows\System32\Bits.bak Operating System
    Exclude All C:\Windows\softwaredistribution\...\*.* Operating System
    Exclude All C:\Windows\serviceprofiles\networkservice\ntuser.d at.log Operating System
    Exclude All C:\Windows\serviceprofiles\networkservice\ntuser.d at Operating System
    Exclude All C:\Windows\serviceprofiles\localservice\ntuser.dat .log Operating System
    Exclude All C:\Windows\serviceprofiles\localservice\ntuser.dat Operating System
    Exclude All C:\Windows\netlogon.chg Operating System
    Exclude All C:\Windows\Minidump\...\* Operating System
    Exclude All C:\Windows\memory.dmp Operating System
    Exclude All c:\windows\inf\setupapi.ev* Operating System
    Exclude All C:\Windows\cluster\clusdb.log Operating System
    Exclude All C:\Windows\cluster\clusdb Operating System
    Exclude All C:\Users\SFLETC~1\AppData\Local\Temp\3\...\* Operating System
    Exclude All C:\Users\sfletcher\...\index.dat Operating System
    Exclude All C:\ProgramData\Microsoft\Windows\WER\...\* Operating System
    Exclude All C:\ProgramData\Microsoft\RAC\Temp\* Operating System
    Exclude All C:\ProgramData\Microsoft\RAC\StateData\* Operating System
    Exclude All C:\ProgramData\Microsoft\RAC\PublishedData\* Operating System
    Exclude All C:\ProgramData\Microsoft\RAC\Outbound\* Operating System
    Exclude All C:\ProgramData\Microsoft\RAC\* Operating System
    Exclude All C:\ProgramData\Microsoft\Network\Downloader\* Operating System
    Exclude All *\System Volume Information\MountPointManagerRemoteDatabase Operating System
    Exclude All *\Pagefile.sys Operating System
    Exclude All *\hiberfil.sys Operating System
    Include SystemState ALL dsm.opt
    Include All C:\Software\* dsm.opt
    Include All C:\inetpub\* dsm.opt
    Exclude All *\...\* dsm.opt
    No DFS include/exclude statements defined.

  2. #2
    Senior Member
    Join Date
    Nov 2009
    Location
    India
    Posts
    315
    Thanks
    2
    Thanked 19 Times in 19 Posts

    Default

    Opt file gets traversed from bottom to top. Seems 'includes' gets negated by 'excludes'. Try this way and see if it helps.

    INCLUDE "C:\inetpub\*" STANDARD
    INCLUDE "C:\Software\*" STANDARD
    INCLUDE.SYSTEMSTATE all STANDARD
    EXCLUDE "?:\...\*"
    Tariq

  3. #3
    Newcomer
    Join Date
    Jul 2010
    Posts
    25
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Gave this a try but it doesnt seem to have an impact, I also rebooted the server just in case
    Any other ideas?

    ***DSM.OPT*****
    NODENAME PHSDBN2
    TCPSERVERADDRESS 142.238.214.29
    INCLUDE "C:\inetpub\*" STANDARD
    INCLUDE "C:\Software\*" STANDARD
    INCLUDE.SYSTEMSTATE all STANDARD
    EXCLUDE "?:\...\*"
    PASSWORDACCESS GENERATE
    SNAPSHOTPROVIDERFS LVSA



    PORTION OF DSMPREV.TXT

    C:\hp\hpsmh\webapp\hpwbemserv.xml 500 B .xml Excluded *\...\* dsm.opt DEFAULT
    C:\hp\hpsmh\webapp\hpwbemstor.xml 481 B .xml Excluded *\...\* dsm.opt DEFAULT
    C:\hp\hpsmh\webapp\vcagent.xml 2.78 KB .xml Excluded *\...\* dsm.opt DEFAULT
    C:\hp\hpsmh\webapp\switch\hmanics.xml 404 B .xml Excluded *\...\* dsm.opt DEFAULT
    C:\hp\hpsmh\webapp\switch\hmaserv.xml 692 B .xml Excluded *\...\* dsm.opt DEFAULT
    C:\hp\hpsmh\webapp\switch\hmastor.xml 567 B .xml Excluded *\...\* dsm.opt DEFAULT
    C:\hp\hpsmh\webapp\switch\webagent.xml 1.02 KB .xml Excluded *\...\* dsm.opt DEFAULT
    C:\hp\sslshare\cert.pem 1.32 KB .pem Excluded *\...\* dsm.opt DEFAULT
    C:\hp\sslshare\file.pem 1.63 KB .pem Excluded *\...\* dsm.opt DEFAULT
    C:\inetpub\history 0 B Directory Included - - STANDARD
    C:\inetpub\logs 0 B Directory Included - - STANDARD
    C:\inetpub\temp 0 B Directory Included - - STANDARD
    C:\inetpub\wwwroot 0 B Directory Included - - STANDARD
    C:\inetpub\history\CFGHISTORY_0000000001 0 B Directory Included - - STANDARD
    C:\inetpub\history\CFGHISTORY_0000000002 0 B Directory Included - - STANDARD
    C:\inetpub\history\CFGHISTORY_0000000001\administr ation.config 17.83 KB .config Excluded *\...\* dsm.opt DEFAULT
    C:\inetpub\history\CFGHISTORY_0000000001\applicati onHost.config 11.07 KB .config Excluded *\...\* dsm.opt DEFAULT
    C:\inetpub\history\CFGHISTORY_0000000002\administr ation.config 17.83 KB .config Excluded *\...\* dsm.opt DEFAULT
    C:\inetpub\history\CFGHISTORY_0000000002\applicati onHost.config 19.90 KB .config Excluded *\...\* dsm.opt DEFAULT
    C:\inetpub\temp\appPools 0 B Directory Included - - STANDARD
    C:\inetpub\temp\appPools\APC8E59.tmp 18.87 KB .tmp Excluded *\...\* dsm.opt DEFAULT
    C:\inetpub\wwwroot\iisstart.htm 689 B .htm Excluded *\...\* dsm.opt DEFAULT
    C:\inetpub\wwwroot\welcome.png 180.61 KB .png Excluded *\...\* dsm.opt DEFAULT
    C:\Program Files\Common Files 0 B Directory Included - - STANDARD
    C:\Program Files\Compaq 0 B Directory Included - - STANDARD
    C:\Program Files\HP 0 B Directory Included - - STANDARD
    C:\Program Files\HPWBEM 0 B Directory Included - - STANDARD
    C:\Program Files\ibm 0 B Directory Included - - STANDARD
    C:\Program Files\Internet Explorer 0 B Directory Included - - STANDARD
    C:\Program Files\Microsoft Analysis Services 0 B Directory Included - - STANDARD
    C:\Program Files\Microsoft SQL Server 0 B Directory Included - - STANDARD
    C:\Program Files\Microsoft Visual Studio 9.0 0 B Directory Included - - STANDARD
    C:\Program Files\Microsoft.NET 0 B Directory Included - - STANDARD
    C:\Program Files\MSBuild 0 B Directory Included - - STANDARD
    C:\Program Files\Reference Assemblies 0 B Directory Included - - STANDARD
    C:\Program Files\Tivoli 0 B Directory Included - - STANDARD

  4. #4
    Moderator BBB's Avatar
    Join Date
    Feb 2007
    Location
    Brisbane, Australia
    Posts
    2,075
    Thanks
    0
    Thanked 5 Times in 5 Posts

    Default

    A bit of thread necrophilia here but stumbled on this while looking for something else...

    You have 2 probs, firstly you need some ...'s (below output taken from your q inclexcl, so reverse the order for your dsm.opt file):
    Include SystemState ALL dsm.opt
    Include All C:\Software\...\* dsm.opt
    Include All C:\inetpub\...\* dsm.opt
    Exclude All *\...\* dsm.opt

    And secondly, directory structures are backed up (but not the files in them) with normal excludes. To exclude whole directory structures use exclude.dir.

Similar Threads

  1. Problem with Backup of some windows 2003 and TSM Client 6.1.x or 6.2.x
    By patelp in forum Backup / Archive Discussion
    Replies: 2
    Last Post: 11-10-2010, 11:47 AM
  2. Windows server, linux client, scheduler problem
    By f4ts0 in forum Management Client/Server
    Replies: 6
    Last Post: 10-05-2009, 03:09 PM
  3. exlude.dir
    By tsmuser10 in forum Backup / Archive Discussion
    Replies: 4
    Last Post: 09-30-2009, 03:37 PM
  4. Problem with Windows 2000 and TSM Client 5.3
    By bonobos in forum Backup / Archive Discussion
    Replies: 2
    Last Post: 07-08-2008, 08:12 AM
  5. My windows client backup has a problem
    By PChang in forum Backup / Archive Discussion
    Replies: 2
    Last Post: 10-02-2005, 10:23 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •