Results 1 to 14 of 14
  1. #1
    Member
    Join Date
    Jun 2009
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Exclamation 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/*

  2. #2
    Member
    Join Date
    Jan 2006
    Location
    In your head...
    Posts
    470
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    try include.dir instead of just using include.

    include.dir /workspace/*

  3. #3
    Member
    Join Date
    Jun 2009
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    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'

  4. #4
    Moderator moon-buddy's Avatar
    Join Date
    Aug 2005
    Location
    Somewhere in the US
    Posts
    5,903
    Thanks
    4
    Thanked 231 Times in 226 Posts

    Default

    Quote Originally Posted by dms19 View Post
    try include.dir instead of just using include.

    include.dir /workspace/*
    There is no include.dir option!
    Ed

  5. #5
    Member
    Join Date
    Jun 2009
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

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

  6. #6
    Moderator moon-buddy's Avatar
    Join Date
    Aug 2005
    Location
    Somewhere in the US
    Posts
    5,903
    Thanks
    4
    Thanked 231 Times in 226 Posts

    Default

    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
    Ed

  7. #7
    Moderator moon-buddy's Avatar
    Join Date
    Aug 2005
    Location
    Somewhere in the US
    Posts
    5,903
    Thanks
    4
    Thanked 231 Times in 226 Posts

    Default

    Quote Originally Posted by elpookie View Post
    is there way to verify/check which inclexcl.def file (if any) the client is using?
    Run "dsmc q inclexcl" on the node.
    Last edited by moon-buddy; 11-19-2009 at 03:33 PM.
    Ed

  8. #8
    Member
    Join Date
    Jun 2009
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    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

  9. #9
    Member
    Join Date
    Jun 2009
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    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.

  10. #10
    Member
    Join Date
    Jan 2006
    Location
    In your head...
    Posts
    470
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by moon-buddy View Post
    Run "dsmc inclexcl" on the node.
    DOH!

    I meant include.fs /workspace/*

  11. #11
    Member
    Join Date
    Jun 2009
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

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

  12. #12
    Member
    Join Date
    Jun 2009
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    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.

  13. #13
    Senior Member GregE's Avatar
    Join Date
    May 2006
    Posts
    2,100
    Thanks
    9
    Thanked 17 Times in 16 Posts

    Default

    You need EXCLUDE.DIR to exclude directories.

  14. #14
    Moderator BBB's Avatar
    Join Date
    Feb 2007
    Location
    Brisbane, Australia
    Posts
    2,075
    Thanks
    0
    Thanked 5 Times in 5 Posts

    Default

    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

  1. TSm problem with def libr
    By ikar in forum TSM Server
    Replies: 1
    Last Post: 07-08-2009, 04:17 PM
  2. DSMC read inclexcl file
    By anulav2 in forum TSM Client
    Replies: 2
    Last Post: 05-19-2009, 02:44 AM
  3. Not picking up management class
    By Jcage in forum Backup / Archive Discussion
    Replies: 3
    Last Post: 08-15-2008, 12:16 PM
  4. Full Backup Using "dsmc selective": how to?
    By c.j.hund in forum Backup / Archive Discussion
    Replies: 7
    Last Post: 12-07-2007, 09:41 AM
  5. Picking your Brain - question about methodology
    By gweston in forum Backup / Archive Discussion
    Replies: 2
    Last Post: 04-19-2004, 09:57 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •