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.

Script / dsmc

Discussion in 'Command Line Administrator Client' started by onetrickpony, May 27, 2010.

  1. onetrickpony

    onetrickpony New Member

    Joined:
    May 14, 2010
    Messages:
    12
    Likes Received:
    1
    i have to backup a lot of files every two hours.

    so i try to make a script and schedule with windows task scheduler:

    cd c:\program files\tivoli\tsm\baclient
    dsmc incremental -archmc=INC_BUP_2HOURLY "D:\*" -description="Inc Backup" %date%" -subdir=yes

    but there is no archmc for incremental backups and i need other retention for those files.

    thx for your help.
     
  2.  
  3. dms19

    dms19 New Member

    Joined:
    Jan 4, 2006
    Messages:
    470
    Likes Received:
    2
    Occupation:
    TSM Admin
    Location:
    In your head...
    Is there a need to have this process bind to different retention than normal nightly backups? If so perhaps creating a nodename_2hr or something to that affect with its own dsm.opt file and change what the data binds to as far as policy sets.

    Otherwise,
    I believe if you use the binding to the long term policy set and set in the dsm.opt file on the client or a client option set that paticular node is associated with you'll get the retention you are looking for.

    You should also be able to create a 2 hr schedule with enhanced schedules within TSM itself. Then you'll be able to report on the status of the backups.
     
    Last edited: May 27, 2010
  4. JeanSeb

    JeanSeb New Member

    Joined:
    Aug 5, 2008
    Messages:
    181
    Likes Received:
    3
    Occupation:
    TSM admin, Linux Sys Admin
    Location:
    Quebec City
    You will need to create a new management class (with different retention) in this existing policy domain and bind this node to this management class/domain.

    I suggest you take a look at this redbook from IBM, espacially chapter 9; "Policy Management", it will explain TSM way of doing what you need:

    http://www.redbooks.ibm.com/redbooks/pdfs/sg244877.pdf (IBM Tivoli Storage Management Concepts)
     
  5. mikeymac

    mikeymac Moderator

    Joined:
    Jun 20, 2003
    Messages:
    904
    Likes Received:
    27
    Location:
    Syracuse, NY
    What JeanSeb said. After you create management class, and activate the policyset, you can bind your special directory to the new management class in your dsm.opt file.

    include.backup c:\win98\system\* mybackupclass

    Also, I think you'd be best served by triggering these two-hour schedules from the TSM server. You can create one schedule that runs every two hours. Pretty easy to use.
     
  6. onetrickpony

    onetrickpony New Member

    Joined:
    May 14, 2010
    Messages:
    12
    Likes Received:
    1
    i've created two dsm.opt and two different tsm scheduler. it seems like it works.

    you are very friendly. thanks a lot guys.
     

Share This Page