1. Forum Rules (PLEASE CLICK HERE TO READ BEFORE POSTING) Click the link 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 message will disappear after you have made at least 12 posts. Thank you for your cooperation.

dsmc selective not picking up inclexcl.def

Discussion in 'Backup / Archive Discussion' started by elpookie, Nov 19, 2009.

  1. elpookie

    elpookie New Member

    Joined:
    Jun 30, 2009
    Messages:
    13
    Likes Received:
    0
    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.  
  3. dms19

    dms19 New Member

    Joined:
    Jan 4, 2006
    Messages:
    470
    Likes Received:
    2
    Occupation:
    TSM Admin
    Location:
    In your head...
    try include.dir instead of just using include.

    include.dir /workspace/*
     
  4. elpookie

    elpookie New Member

    Joined:
    Jun 30, 2009
    Messages:
    13
    Likes Received:
    0
    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'
     
  5. moon-buddy

    moon-buddy Moderator

    Joined:
    Aug 24, 2005
    Messages:
    6,177
    Likes Received:
    277
    Occupation:
    Electronics Engineer, Security Professional
    Location:
    Somewhere in the US
    There is no include.dir option!
     
  6. elpookie

    elpookie New Member

    Joined:
    Jun 30, 2009
    Messages:
    13
    Likes Received:
    0
    is there way to verify/check which inclexcl.def file (if any) the client is using?
     
  7. moon-buddy

    moon-buddy Moderator

    Joined:
    Aug 24, 2005
    Messages:
    6,177
    Likes Received:
    277
    Occupation:
    Electronics Engineer, Security Professional
    Location:
    Somewhere in the US
    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
     
  8. moon-buddy

    moon-buddy Moderator

    Joined:
    Aug 24, 2005
    Messages:
    6,177
    Likes Received:
    277
    Occupation:
    Electronics Engineer, Security Professional
    Location:
    Somewhere in the US
    Run "dsmc q inclexcl" on the node.
     
    Last edited: Nov 19, 2009
  9. elpookie

    elpookie New Member

    Joined:
    Jun 30, 2009
    Messages:
    13
    Likes Received:
    0
    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
     
  10. elpookie

    elpookie New Member

    Joined:
    Jun 30, 2009
    Messages:
    13
    Likes Received:
    0
    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. dms19

    dms19 New Member

    Joined:
    Jan 4, 2006
    Messages:
    470
    Likes Received:
    2
    Occupation:
    TSM Admin
    Location:
    In your head...
    DOH!

    I meant include.fs /workspace/*
     
  12. elpookie

    elpookie New Member

    Joined:
    Jun 30, 2009
    Messages:
    13
    Likes Received:
    0
    also, the Domain feature in dsm.opt doesn't allow me to specify sub directories. I must specify complete files systems from the base.
     
  13. elpookie

    elpookie New Member

    Joined:
    Jun 30, 2009
    Messages:
    13
    Likes Received:
    0
    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.
     
  14. GregE

    GregE Senior Member

    Joined:
    May 12, 2006
    Messages:
    2,100
    Likes Received:
    31
    You need EXCLUDE.DIR to exclude directories.
     
  15. BBB

    BBB Moderator

    Joined:
    Feb 13, 2007
    Messages:
    2,076
    Likes Received:
    19
    Location:
    Brisbane, Australia
    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?
     

Share This Page