Windows Client 6.3 Include/Exlude Problem

sfletche

Active Newcomer
Joined
Jul 29, 2010
Messages
34
Reaction score
0
Points
0
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\administration.config 17.83 KB .config Excluded *\...\* dsm.opt DEFAULT
C:\inetpub\history\CFGHISTORY_0000000001\applicationHost.config 11.07 KB .config Excluded *\...\* dsm.opt DEFAULT
C:\inetpub\history\CFGHISTORY_0000000002\administration.config 17.83 KB .config Excluded *\...\* dsm.opt DEFAULT
C:\inetpub\history\CFGHISTORY_0000000002\applicationHost.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.dat.log Operating System
Exclude All C:\Windows\serviceprofiles\networkservice\ntuser.dat 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.
 
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 "?:\...\*"
 
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\administration.config 17.83 KB .config Excluded *\...\* dsm.opt DEFAULT
C:\inetpub\history\CFGHISTORY_0000000001\applicationHost.config 11.07 KB .config Excluded *\...\* dsm.opt DEFAULT
C:\inetpub\history\CFGHISTORY_0000000002\administration.config 17.83 KB .config Excluded *\...\* dsm.opt DEFAULT
C:\inetpub\history\CFGHISTORY_0000000002\applicationHost.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
 
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.
 
Back
Top