Results 1 to 5 of 5

Thread: Script / dsmc

  1. #1
    Newcomer
    Join Date
    May 2010
    Posts
    12
    Thanks
    2
    Thanked 1 Time in 1 Post

    Default Script / dsmc

    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. #2
    Member
    Join Date
    Jan 2006
    Location
    In your head...
    Posts
    470
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    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 by dms19; 05-27-2010 at 03:54 PM.
    "Whats this button do?"

  3. #3
    Member JeanSeb's Avatar
    Join Date
    Aug 2008
    Location
    Quebec City
    Posts
    181
    Thanks
    6
    Thanked 2 Times in 2 Posts

    Default

    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)

  4. #4
    Moderator mikeymac's Avatar
    Join Date
    Jun 2003
    Location
    Syracuse, NY
    Posts
    896
    Thanks
    9
    Thanked 12 Times in 12 Posts

    Smile

    Quote Originally Posted by JeanSeb View Post
    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)
    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.

  5. #5
    Newcomer
    Join Date
    May 2010
    Posts
    12
    Thanks
    2
    Thanked 1 Time in 1 Post

    Default

    i've created two dsm.opt and two different tsm scheduler. it seems like it works.

    you are very friendly. thanks a lot guys.

Similar Threads

  1. dsmc -virtualnodename
    By pferreir in forum Backup / Archive Discussion
    Replies: 4
    Last Post: 06-10-2009, 02:50 AM
  2. dsmc usage
    By tenpin in forum Restore / Recovery Discussion
    Replies: 3
    Last Post: 04-27-2009, 05:59 PM
  3. Script: init script for dsmc sched
    By davalex in forum Backup / Archive Discussion
    Replies: 0
    Last Post: 12-05-2007, 09:43 AM
  4. Replies: 1
    Last Post: 10-12-2007, 04:23 PM
  5. setuid for dsmc
    By schiwitz in forum Backup / Archive Discussion
    Replies: 2
    Last Post: 05-06-2005, 10:21 AM

Posting Permissions

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