dsmc selective not picking up inclexcl.def

elpookie

ADSM.ORG Member
Joined
Jun 30, 2009
Messages
13
Reaction score
0
Points
0
PREDATAR Control23

I have configured a TSM client to backup up to my server using inclexcl.def. However, when I do a test backup using either "backup" or "selective" or "incremental" it does not pick up my include/exclude options. How can I troubleshoot this? Thanks for the help.

=> cat inclexcl.def
EXclude */.../*.*
include /portaldb/install/*
include /portaldb/cfg/*
include /portaldb/jobs/*
include /portaldb/joblog/*
include /prmdb/install*
include /prmdb/cfg/*
include /prmdb/jobs/*
include /prmdb/joblog/*
include /db2bkup/*
include /db2arch/*
include /workspace/*
 
PREDATAR Control23

no luck... it still backups all of the volumes in the server (AIX). View the output below. Thanks.

tsm> incremental

Incremental backup of volume '/'

Incremental backup of volume '/usr'

Incremental backup of volume '/var'

Incremental backup of volume '/home'

Incremental backup of volume '/opt'

Incremental backup of volume '/opt/Tivoli'

Incremental backup of volume '/archive'

Incremental backup of volume '/logfiles'

Incremental backup of volume '/opt/VSA'

Incremental backup of volume '/var/adm/perfmgr'

Incremental backup of volume '/db2logs'

Incremental backup of volume '/db2temp'

Incremental backup of volume '/db2arch'

Incremental backup of volume '/db2data'

Incremental backup of volume '/db2indx'

Incremental backup of volume '/prmdb'

Incremental backup of volume '/db2bkup'

Incremental backup of volume '/workspace'

Incremental backup of volume '/download'

Incremental backup of volume '/portaldb'

Incremental backup of volume '/opt/IBM/SCM'
 
PREDATAR Control23

is there way to verify/check which inclexcl.def file (if any) the client is using?
 
PREDATAR Control23

Try this:

In the inclexcl.def:

Exclude /
Exclude /*
Exclude /.../*

In dsm.opt file (yes, dsm.opt file)

Domain /portaldb
Domain /prmdb
Domain /db2*
Domain /workspace
 
PREDATAR Control23

that works, but it is not backing up what I want. The specifics of the backups I need are in the include/exclude file. How can I trouble shoot to ensure that it uses that file instead of the 'domains' in dsm.opt

It is not working the way it was designed to work and I would like to fix that.

Thanks for the all help... certainly making some progress
 
PREDATAR Control23

tsm> query inclexcl
*** FILE INCLUDE/EXCLUDE ***
Mode Function Pattern (match from top down) Source File
---- --------- ------------------------------ -----------------
No exclude filespace statements defined.
No exclude directory statements defined.
Include All /workspace/* /usr/tivoli/tsm/client/ba/bin/inclexcl.def
Include All /db2arch/* /usr/tivoli/tsm/client/ba/bin/inclexcl.def
Include All /db2bkup/* /usr/tivoli/tsm/client/ba/bin/inclexcl.def
Include All /prmdb/joblog/* /usr/tivoli/tsm/client/ba/bin/inclexcl.def
Include All /prmdb/jobs/* /usr/tivoli/tsm/client/ba/bin/inclexcl.def
Include All /prmdb/cfg/* /usr/tivoli/tsm/client/ba/bin/inclexcl.def
Include All /prmdb/install* /usr/tivoli/tsm/client/ba/bin/inclexcl.def
Include All /portaldb/joblog/* /usr/tivoli/tsm/client/ba/bin/inclexcl.def
Include All /portaldb/jobs/* /usr/tivoli/tsm/client/ba/bin/inclexcl.def
Include All /portaldb/cfg/* /usr/tivoli/tsm/client/ba/bin/inclexcl.def
Include All /portaldb/install/* /usr/tivoli/tsm/client/ba/bin/inclexcl.def
Exclude All /.../* /usr/tivoli/tsm/client/ba/bin/inclexcl.def
No DFS include/exclude statements defined.
 
PREDATAR Control23

also, the Domain feature in dsm.opt doesn't allow me to specify sub directories. I must specify complete files systems from the base.
 
PREDATAR Control23

I think I figured this out... my inclexcl file is working just fine. BUT, it is only excluding FILES. It is still including all the directories. This is what I have right now.

exclude /.../*
include /portaldb/install/.../*
include /portaldb/cfg/.../*
include /portaldb/jobs/.../*
include /portaldb/joblog/.../*
include /prmdb/install/.../*
include /prmdb/cfg/.../*
include /prmdb/jobs/.../*
include /prmdb/joblog/.../*
include /db2bkup/.../*
include /db2arch/.../*
include /workspace/.../*


And it excludes ALL FILES, but still includes all other directories. How can I prevent it from backing up other directories. Thanks.
 
PREDATAR Control23

You can't easily stop it from backup up directories in those areas you didn't want to. If you don't have many directories there isn't much "cost" to it so don't be concerned.

The only thing you can do is ensure your domain only includes filesystems you want to backup. If you are setting your domain in dsm.opt and its still backing up those filesystems you don't want, is the node assigned to a client optionset on the server with a domain set in it?
 
Top