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

Exclude/Include Issue in TSM 7.1

jssanche

ADSM.ORG Member
#1
Hello!

I need help to configure the EXCLUDE/INCLUDE options in the dsm.opt file. I need to back up a single directory named "C:\ DBEXPORT \ *. *", it has around 188 MB, but my "TSM SCHEDULE BACKUP" task is backing up 800 MB, I have tried everything, no success. This is my dsm option file...


EXCLUDE "*:\..\*"
EXCLUDE "C:\WINDOWS\...\*"
exclude.systemobject sysfiles
INCLUDE "C:\DBEXPORT\...\*"
DOMAIN "\\ServerName\c$" -SYSTEMSTATE


Thanks in advance.
 

RecoveryOne

ADSM.ORG Senior Member
#4
Do you have any client options on the server that are defined to the client that could be overriding your include/exclude?
Also, not sure if doing a DOMAIN "\\ServerName\c$" is correct. See this doc:
https://www.ibm.com/support/knowled...1.2/com.ibm.itsm.client.doc/r_opt_domain.html
I think you may be better served something like
DOMAIN C: -STSTEMSTATE

What does a" q fi <node_name> " show?
Anything extra other than the C: drive?

Also look at the dsmsched.log after a backup runs. Should tell you what its backing up and size.

Hope it helps!
 

marclant

ADSM.ORG Moderator
#6
Update your backup schedule and put: object="C:\DBEXPORT"

That way, your include/exclude won't matter, it will backup just that directory. It's even better because otherwise, if your exclude work, it would backup all directories and only files in C:\DBEXPORT\
 

jssanche

ADSM.ORG Member
#7
Hello Marclant,

Thanks for your prompt reply, I tried the OBJECTS option without any success, because the SCHEDULE is only backing up the C:\DBEXPORT\ directory (an empty directory) and none objects (files or subdirectories) under this directory.

The OBJECTS=C:\DBEXPORT\* is backing up all subdirectories under C:\DBEXPORT directory, but none files under each subdirectories. Again the SCHEDULE is backing up empty folders or directories.

It looks like the OBJECTS options only work if you define the complete path to the file (or the files), just like ...

OBJECTS='"C:\DBEXPORT\FILE1.DAT" "C:\DBEXPORT\FILE2.DAT" "C:\DBEXPORT\FILE3.DAT"'

Thanks in advance...
 

jssanche

ADSM.ORG Member
#8
Hello,

The schedule was update to include the -SUBDIR=YES in the OPTIONS parameter and everything is working OK.

Thanks in advance.
 

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: 8 23.5%
  • Keep using TSM for Spectrum Protect.

    Votes: 17 50.0%
  • Let's be formal and just say Spectrum Protect

    Votes: 5 14.7%
  • Other (please comement)

    Votes: 4 11.8%

Forum statistics

Threads
30,926
Messages
131,573
Members
21,207
Latest member
Nur03