Results 1 to 4 of 4
  1. #1
    Member
    Join Date
    Apr 2008
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Postpone multiple TSM schedules at once??

    Hey....is there an easy way to postpone all TSM schedules for a few days? I really don't want to modify about 120 TSM schedules manually. I'd love to be able to do this at the command prompt.

    Thanks!!

    Dan
    dap@trustmarkins.com

  2. #2
    Moderator Harry_Redl's Avatar
    Join Date
    Dec 2003
    Location
    Czech Republic
    Posts
    2,050
    Thanks
    2
    Thanked 56 Times in 55 Posts

    Default

    Hi,

    you can issue "disable sessions client" command - it prevents all client sessions (both sheduled and interactive).
    OR you can use option DISABLESCHEDS YES in your dsmserv.opt - it disables central scheduler - so no client or administrative schedule is run.
    For this option you have to restart the TSM server.

    Hope it helps

    Harry

  3. #3
    Moderator
    Join Date
    Nov 2005
    Location
    Victoria, Australia
    Posts
    537
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Assuming all schedules are active

    for Unix

    id=USERNAME
    pass=PASSWORD
    tsmCmd="dsmadmc -id=$id -pass=$pass -comma -dataonly=yes"

    schedules=$`$tsmCmd "select domain_name,schedule_name from client_schedules"
    RC=$?
    if [[ $RC -ne 0 ]]
    then
    echo "error updating schedules\nReturn Code $RC ]]
    return $RC;
    fi
    for each in $schedules
    do
    domain=`echo $each |awk -F, '{print $1}'`
    sched=`echo $each |awk -F, '{print $2}'`
    $tsmCmd "update schedule $domain $sched startd=2010/01/01
    done

    May not work as I have not tested, so you might want to try with an echo first in the line above "done". If you need for windows yell out.

    to reset them at the end, change the startd to something different.

    This so far is just for client schedules as well

  4. #4
    Member
    Join Date
    May 2007
    Posts
    81
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I use Harry's idea. I keep the line DISABLESCHEDS YES commented out in my dsmserv.opt. Then, I only have to remove the comment when needed.

Similar Threads

  1. multiple schedules on Linux-server
    By rznadmin in forum Backup / Archive Discussion
    Replies: 2
    Last Post: 03-13-2012, 10:35 AM
  2. Replies: 1
    Last Post: 02-09-2008, 06:52 PM
  3. Selective Backup / Multiple Schedules
    By mkbowman in forum Backup / Archive Discussion
    Replies: 2
    Last Post: 12-27-2007, 12:55 PM
  4. multiple schedules for different filespaces on same server
    By tonny in forum Backup / Archive Discussion
    Replies: 9
    Last Post: 12-06-2007, 03:40 AM
  5. Automation - Client Schedules -> How to execute automatic schedules ?
    By megabrasil in forum Backup / Archive Discussion
    Replies: 3
    Last Post: 03-28-2006, 09:03 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
  •