Results 1 to 14 of 14
-
11-19-2009, 12:59 PM #1Member
- Join Date
- Jun 2009
- Posts
- 13
- Thanks
- 0
- Thanked 0 Times in 0 Posts
dsmc selective not picking up inclexcl.def
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/*
-
11-19-2009, 01:24 PM #2Member
- Join Date
- Jan 2006
- Location
- In your head...
- Posts
- 470
- Thanks
- 0
- Thanked 0 Times in 0 Posts
try include.dir instead of just using include.
include.dir /workspace/*
-
11-19-2009, 01:33 PM #3Member
- Join Date
- Jun 2009
- Posts
- 13
- Thanks
- 0
- Thanked 0 Times in 0 Posts
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'
-
11-19-2009, 01:49 PM #4
-
11-19-2009, 01:56 PM #5Member
- Join Date
- Jun 2009
- Posts
- 13
- Thanks
- 0
- Thanked 0 Times in 0 Posts
is there way to verify/check which inclexcl.def file (if any) the client is using?
-
11-19-2009, 01:57 PM #6Moderator
- Join Date
- Aug 2005
- Location
- Somewhere in the US
- Posts
- 5,297
- Thanks
- 2
- Thanked 137 Times in 135 Posts
Try this:
In the inclexcl.def:
Exclude /
Exclude /*
Exclude /.../*
In dsm.opt file (yes, dsm.opt file)
Domain /portaldb
Domain /prmdb
Domain /db2*
Domain /workspaceEd
-
11-19-2009, 01:59 PM #7
-
11-19-2009, 02:05 PM #8Member
- Join Date
- Jun 2009
- Posts
- 13
- Thanks
- 0
- Thanked 0 Times in 0 Posts
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
-
11-19-2009, 02:07 PM #9Member
- Join Date
- Jun 2009
- Posts
- 13
- Thanks
- 0
- Thanked 0 Times in 0 Posts
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.
-
11-19-2009, 02:35 PM #10Member
- Join Date
- Jan 2006
- Location
- In your head...
- Posts
- 470
- Thanks
- 0
- Thanked 0 Times in 0 Posts
-
11-19-2009, 03:19 PM #11Member
- Join Date
- Jun 2009
- Posts
- 13
- Thanks
- 0
- Thanked 0 Times in 0 Posts
also, the Domain feature in dsm.opt doesn't allow me to specify sub directories. I must specify complete files systems from the base.
-
11-19-2009, 04:27 PM #12Member
- Join Date
- Jun 2009
- Posts
- 13
- Thanks
- 0
- Thanked 0 Times in 0 Posts
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.
-
11-19-2009, 07:06 PM #13
You need EXCLUDE.DIR to exclude directories.
-
11-22-2009, 11:51 PM #14Moderator
- Join Date
- Feb 2007
- Location
- Brisbane, Australia
- Posts
- 2,072
- Thanks
- 0
- Thanked 3 Times in 3 Posts
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?
Similar Threads
-
TSm problem with def libr
By ikar in forum TSM ServerReplies: 1Last Post: 07-08-2009, 04:17 PM -
DSMC read inclexcl file
By anulav2 in forum TSM ClientReplies: 2Last Post: 05-19-2009, 02:44 AM -
Not picking up management class
By Jcage in forum Backup / Archive DiscussionReplies: 3Last Post: 08-15-2008, 12:16 PM -
Full Backup Using "dsmc selective": how to?
By c.j.hund in forum Backup / Archive DiscussionReplies: 7Last Post: 12-07-2007, 09:41 AM -
Picking your Brain - question about methodology
By gweston in forum Backup / Archive DiscussionReplies: 2Last Post: 04-19-2004, 09:57 AM


Reply With Quote
