dsm.opt exclude partition but include .mdb

Udo

ADSM.ORG Member
Joined
Feb 12, 2008
Messages
26
Reaction score
0
Points
0
Hello,
on partition d:\ I only want to backup .mdb files which are located in different folders. Everything else should excluded from backup.
How can I do that?
I thougt I have to add the following, but it isn`t working:

Include.Backup "D:\...\...\mdb.*"
EXCLUDE.Backup "D:\...\...\*.*"

Thanks
 
Correct your include entry. it should be *.mdb and not mdb.*
Include.Backup "D:\...\...\*.mdb"
 
Oh, maybe I am stupied, this was a mistake from me!
But after changing the other files in the GUI are not excluded!
 
your statement should be

exclude "d:\...\*"
include "d:\...\*.mdb"

Try and share the result
 
Last edited:
Now it looks like this:

EXCLUDE.Backup "D:\...\*"
Include.Backup "D:\...\*.mdb"

and second try:

exclude "d:\...\*"
include "d:\...\*.mdb"

and the problem is the same.
In the GUI I can select it for backup.

Thanks
 
Hi,

did you restart the tsm client services (incl. dsmcad) after making the changes in your dsm.opt?
 
yes, each time after changing dsm.opt
 
nodename MAN000002
TCPSERVERADDRESS backup.domainname
passwordaccess generate
SCHEDLOGRETENTION 7 D
ERRORLOGRETENTION 7 D
tcpwindowsize 63
tcpbuffsize 32
txnbytelimit 2048
tcpnodelay yes
MANAGEDSERVICES WEBCLIENT SCHEDULE
*EXCLUDE.DIR "D:\Work\Programme\VBExe"

exclude "d:\...\*"
include "d:\...\*.mdb"

inclexcl \\bac000001.domainname\masterdsm$\InclExcl.opt

POSTNschedulecmd "del c:\adsm.sys\SystemExcludeCache*"
POSTNschedulecmd "rd /s /q c:\adsm.sys\vss_staging\MAN000002"
 
Hi,
did you have try to switch the incl, excl entrees like:
include "d:\...\*.mdb"
exclude "d:\...\*"
as i know tsm reads the opt from the bottom.

michael
 
Yes, the dsm.opt is being read from the bottom. Therefore the include statements have to be placed below excludes ;-)
 
Hello,

this is the inclexcl.opt file. I can`t see any conflicts!

EXCLUDE.DIR "*:\microsoft uam volume"
EXCLUDE.DIR "*:\...\windows\temp"
EXCLUDE.DIR "*:\temp"
EXCLUDE.DIR "*:\Recycler"
EXCLUDE.DIR "*:\RecoveryBin"
EXCLUDE.DIR "*:\System Volume Information"
EXCLUDE.DIR "*:\...\Temporary Internet Files"
EXCLUDE.DIR "*:\...\NetInst\NILogs"
Exclude.DIR "*:\Program Files\Common Files\enteo\NiLogs"
EXCLUDE.DIR "C:\Program Files (x86)\Common Files\enteo\NiLogs"
EXCLUDE.DIR "C:\Program Files (x86)\Common Files\enteo\RepositoryCache"
EXCLUDE.DIR "*:\windows\$NTuninstall*"
EXCLUDE.DIR "C:\WINNT\SoftwareDistribution\EventCache"
EXCLUDE.DIR "*:\tsmlvsacache"
EXCLUDE.DIR "C:\...\Local Settings\Application Data\Microsoft\Internet Explorer\Recovery\Active"
EXCLUDE.DIR "C:\...\Local Settings\Temp"
EXCLUDE.DIR "C:\...\...\Local Settings\History"
EXCLUDE.DIR "C:\...\Local Settings\Temp"
EXCLUDE.DIR "C:\...\AppData\Local\Temp"
EXCLUDE.DIR "C:\...\AppData\Local\History"
EXCLUDE.DIR "C:\Documents and Settings\All Users\Application Data\Kaspersky Lab"
EXCLUDE.DIR "C:\ProgramData\Kaspersky Lab"
EXCLUDE.DIR "*:\$RECYCLE.BIN"
EXCLUDE.DIR "*:\...\MSOCACHE\*"

EXCLUDE.BACKUP "*:\...\EA DATA. SF"
EXCLUDE.BACKUP "*:\...\system32\Perflib*.dat"
exclude.backup *:\...\*.tmp
exclude.backup *:\...\*.edb
exclude.backup *:\...\*.dmp
exclude.backup "*:\...\winstmp.mdb"
exclude.backup "*:\...\tmp.edb"
exclude.backup "*:\...\tempdb.mdf"
exclude.backup "*:\...\templog.ldf"
EXCLUDE.backup "*:\...\ntuser.dat"
EXCLUDE.backup "*:\...\ntuser.dat.log"
EXCLUDE.BACKUP "*:\...\...\usrclass.dat.log"
EXCLUDE.BACKUP "*:\...\usrclass.dat"
Exclude.backup "*:\...\dsm*.log"
exclude.backup "*:\...\*.shd"
exclude.backup "*:\...\*.log1"

*
*Exclude Kaspersky-Dateien
Exclude.backup "*:\...\fidbox*.*"
Exclude.Backup "*:\...\All Users\Application Data\Kaspersky Lab\KAV for Windows Servers Enterprise Edition\6.0\Bases\...\*.*"
Exclude.Backup "*:\...\All Users\Anwendungsdaten\Kaspersky Lab\KAV for Windows Servers Enterprise Edition\6.0\Bases\...\*.*"


*
* Excludes der TSM-Dateien
*
exclude "*:\...\tsm*\...\*.dsm"
exclude "*:\...\tsm*\...\*.dbb"
exclude "*:\...\tsm*\...\*.bfs"
exclude "*:\...\dsmsched.log"
exclude "*:\...\dsmerror.log"
exclude "*:\...\Fullsched.log"

EXCLUDE.DIR "*:\QUARANTINE"
EXCLUDE.DIR "*:\tsmlvsacache"

GUITREEVIEWAFTERBACKUP YES

I think, if there where a conflict, it must be an include. Right?
 
And the solution is:

exclude "d:\*"
exclude "d:\...\*"
include "d:\*.mdb"
include "d:\...\*.mdb"

Thanks!
 
Back
Top