include exclude statments with dsm.sys on RedHat Linux

Appelon

ADSM.ORG Member
Joined
Jan 31, 2008
Messages
9
Reaction score
0
Points
0
Location
Denmark Aarhus
Website
www.appelon.blogspot.com
Hi all
I have this problem, I have never been able to figure out what I do wrong when I write include exclude statements in dsm.sys on Red Hat Linux. Normally I only need to take backup of /data01 and /var and /etc. /var works fine sens it is a standalone mount, but when it comes to / I want to exclude everything, only including the folders I point out normally I would believe that I only need to write

domain -/boot -/tmp /var /


include /etc/*
include /etc/.../*
exclude /.../*
exclude /*

But the TSM client completely ignores the include statement for /etc and sub folders...

My full dsm.sys file looks like this

SErvername default_inc

COMMMethod TCPip
TCPPort 1500
TCPServeraddress backup01.dk.logica.com
PASSWORDACCESS GENERATE

NODENAME WMSI003348

QUERYSCHEDPERIOD 2
SCHEDMODE POLLING
COMPRESSION OFF

TCPBUFFSIZE 512
LARGECOM yes
txnbytelimit 25600
TCPNODELAY yes
TCPBUFFSIZE 32
ERRORLOGName /var/log/tsm/DSMERR.LOG
ERRORLOGRetention 30 S
SCHEDLOGName /var/log/tsm/SCHED.LOG
SCHEDLOGRetention 30 S
DOMAIN /var -/ -/tmp -/boot
INCLUDE /etc/.../'
INCLUDE /etc/*
EXCLUDE /../*
EXCLUDE /*

What am I doing wrong?

Best regards
Dennis
 
Have you tried swapping the ordering of your include and excludes.
Maybe your excluding root first so /etc/ doesn`t get backed-up.
Try q inclexcl from the client tsm commnad line to check what your setting and how its being interpreted.
 
Have you tried swapping the ordering of your include and excludes.
Maybe your excluding root first so /etc/ doesn`t get backed-up.
Try q inclexcl from the client tsm commnad line to check what your setting and how its being interpreted.

Hi TSM Dude

Thanks for your answer, but I have tried swiping the statements around, the same happens... here is my output from q inclexcl

tsm> q inclexcl
*** FILE INCLUDE/EXCLUDE ***
Mode Function Pattern (match from top down) Source File
---- --------- ------------------------------ -----------------
No exclude filespace statements defined.
Excl Directory /.../.TsmCacheDir TSM
Exclude All /* /opt/tivoli/tsm/client/ba/bin/dsm.sys
Exclude All /../* /opt/tivoli/tsm/client/ba/bin/dsm.sys
Include All /etc/* /opt/tivoli/tsm/client/ba/bin/dsm.sys
Include All /etc/.../* /opt/tivoli/tsm/client/ba/bin/dsm.sys
No DFS include/exclude statements defined.
tsm>

For me it looks right, but I have to be off somewhere...

Best regards
Dennis
 
Hi all
I have found my problem... But really I don't believe my own eyes.
I uses a [TAB] between my exclude and path that gave me the trouble. Can this really be
true?

Best regards
Dennis Appelon Nielsen
 
Back
Top