1. 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.
  2. 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.

Incremental failed with "Directory path not found"

Discussion in 'TSM Client' started by NIckelton, Aug 23, 2016.

  1. NIckelton

    NIckelton Active Newcomer

    Joined:
    Jul 13, 2016
    Messages:
    7
    Likes Received:
    0
    Hi all
    Have a problem with incr backups
    TSM Server 6.2.6 on win 2003 server and 6.3 baclient on win 2003 server x64
    CLIENT:baclient/dsm.opt
    Code:
    TCPSERVERADDRESS 192.168.0.52
    NODENAME  fsnode
    PASSWORDACCESS  GENERATE
    Include "D:\test\myaccounts\db\all_prodes\100.12.0\…\*"  mgmt_grp
    Include "E:\test\myaccounts\db\all_prodes\100.12.0\…\*" mgmt_grp
    
    Installing TSM Baclient service
    Code:
    dsmcutil inst scheduler /name:"TSM File System Scheduler" /node:fsnode /password:adminpass
    /clientdir:"c:\program files\tivoli\tsm\baclient"
    /optfile:"c:\program files\tivoli\tsm\baclient\dsm.opt" /autostart:yes
    
    SERVER:tsmadmc
    First schedule
    Code:
    DEFINE SCHEDULE STANDARD FS_HOME_D ACTION=incremental OBJECT='D:\test\myaccounts\db\all_prodes\100.12.0\…\*' OPTIONS='-subdir=yes' DESCRIPTION="D disk" TYPE=CLIENT SCHEDSTYLE=CLASSIC STARTDATE=08/14/2016 STARTTIME=00:00:00 period=1 perunits=hours PRIORITY=5 DURATION=20 DURUNITS=minutes
    
    Second:
    Code:
    DEFINE SCHEDULE STANDARD FS_HOME_E ACTION=incremental OBJECT='E:\test\myaccounts\db\all_prodes\100.12.0\…\*' OPTIONS='-subdir=yes' DESCRIPTION="E disk" TYPE=CLIENT SCHEDSTYLE=CLASSIC STARTDATE=08/14/2016 STARTTIME=00:40:00 period=1 perunits=hours PRIORITY=5 DURATION=20 DURUNITS=minutes
    
    Then I define associations
    DEFINE ASSOCIATION STANDARD FS_HOME_D fsnode
    DEFINE ASSOCIATION STANDARD FS_HOME_E fsnode

    First and second fails with ANS1076E and ANS1512E (Return code 12)
     
  2.  
  3. Ches

    Ches Active Newcomer

    Joined:
    Jul 7, 2015
    Messages:
    9
    Likes Received:
    0
    I don't use the objects parameter much myself, but I don't think you can use the "..." syntax in a schedule as you can in the inclexcl options., and that's where the error comes from.

    If your inclexcl list is set only to backup these particular folders anyway, you can probably go without the 'objects' parameter at all when defining the schedule.
     
  4. marclant

    marclant ADSM.ORG Moderator

    Joined:
    Jun 16, 2006
    Messages:
    2,368
    Likes Received:
    340
    Occupation:
    Accelerated Value Specialist for Spectrum Protect
    Location:
    Canada
    That is correct. Use this instead:
    Code:
    OBJECT='D:\test\myaccounts\db\all_prodes\100.12.0\'
     
  5. NIckelton

    NIckelton Active Newcomer

    Joined:
    Jul 13, 2016
    Messages:
    7
    Likes Received:
    0
    Is asterisk required in object?
    Code:
    OBJECT='D:\test\myaccounts\db\all_prodes\100.12.0\*'
    
     
  6. marclant

    marclant ADSM.ORG Moderator

    Joined:
    Jun 16, 2006
    Messages:
    2,368
    Likes Received:
    340
    Occupation:
    Accelerated Value Specialist for Spectrum Protect
    Location:
    Canada
    No it's not required, but it's ok to put it too. You specify the object the same as you would the file specification in a manual backup command (dsmc incremental).
     
  7. NIckelton

    NIckelton Active Newcomer

    Joined:
    Jul 13, 2016
    Messages:
    7
    Likes Received:
    0

Share This Page