• Please help support our sponsors by considering their products and services.
    Our sponsors enable us to serve you with this high-speed Internet connection and fast webservers you are currently using at ADSM.ORG.
    They support this free flow of information and knowledge exchange service at no cost to you.

    Please welcome our latest sponsor Tectrade . We can show our appreciation by learning more about Tectrade Solutions
  • Community Tip: Please Give Thanks to Those Sharing Their Knowledge.

    If you receive helpful answer on this forum, please show thanks to the poster by clicking "LIKE" link for the answer that you found helpful.

  • Community Tip: Forum Rules (PLEASE CLICK HERE TO READ BEFORE POSTING)

    Click the link above to access ADSM.ORG Acceptable Use Policy and forum rules which should be observed when using this website. Violators may be banned from this website. This notice will disappear after you have made at least 3 posts.

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
 

tsm_dude

ADSM.ORG Senior Member
Joined
Dec 12, 2007
Messages
334
Reaction score
22
Points
0
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.
 

Appelon

ADSM.ORG Member
Joined
Jan 31, 2008
Messages
9
Reaction score
0
Points
0
Location
Denmark Aarhus
Website
www.appelon.blogspot.com
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
 

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 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
 

Advertise at ADSM.ORG

If you are reading this, so are your potential customer. Advertise at ADSM.ORG right now.

UpCloud high performance VPS at $5/month

Get started with $25 in credits on Cloud Servers. You must use link below to receive the credit. Use the promo to get upto 5 month of FREE Linux VPS.

The Spectrum Protect TLA (Three-Letter Acronym): ISP or something else?

  • Every product needs a TLA, Let's call it ISP (IBM Spectrum Protect).

    Votes: 18 18.4%
  • Keep using TSM for Spectrum Protect.

    Votes: 60 61.2%
  • Let's be formal and just say Spectrum Protect

    Votes: 12 12.2%
  • Other (please comement)

    Votes: 8 8.2%

Forum statistics

Threads
31,734
Messages
135,284
Members
21,733
Latest member
valdemiroalves
Top