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.

Schedule a service to stop are restart once backups runs

Discussion in 'TSM Operation' started by ears, Apr 12, 2012.

  1. ears

    ears New Member

    Joined:
    Jul 27, 2010
    Messages:
    42
    Likes Received:
    0
    Hi,

    Could someone please tell me how I go about killing a service on a node when a backup kicks off and then restarting that service once the backup finishes?

    Many thanks
     
  2.  
  3. moon-buddy

    moon-buddy Moderator

    Joined:
    Aug 24, 2005
    Messages:
    6,149
    Likes Received:
    275
    Occupation:
    Electronics Engineer, Security Professional
    Location:
    Somewhere in the US
    What platform?
     
  4. ears

    ears New Member

    Joined:
    Jul 27, 2010
    Messages:
    42
    Likes Received:
    0
    windows 2003
     
  5. moon-buddy

    moon-buddy Moderator

    Joined:
    Aug 24, 2005
    Messages:
    6,149
    Likes Received:
    275
    Occupation:
    Electronics Engineer, Security Professional
    Location:
    Somewhere in the US
    Why?

    Anyway:

    If you are referring to the TSM Scheduler service, you simply just stop it and restart it after the backup completes.

    If you are asking how to automate the process, this cannot be done through the pre and post commands - you have to script this outside of the TSM Service wherein the script detects backup starts and stops.
     
  6. ears

    ears New Member

    Joined:
    Jul 27, 2010
    Messages:
    42
    Likes Received:
    0
    one of our applications has issues when tsm is run on the client. I have been asked to kill the other application (service) once the tsm backups start and then once the backups finish start the application (service again) - thanks
     
  7. moon-buddy

    moon-buddy Moderator

    Joined:
    Aug 24, 2005
    Messages:
    6,149
    Likes Received:
    275
    Occupation:
    Electronics Engineer, Security Professional
    Location:
    Somewhere in the US
    OK - so you are not referring to the TSM Scheduler service.

    This means you can use the pre and post commands built-in to the TSM dsm.opt environment.

    To stop or start a service, use net stop/start - see net /? for help
     

Share This Page