The Windows Scheduler provides a convenient tool for automating the running of TSM with Command Line parameters. The following example takes you through the steps to schedule an automatic backup of TSM each evening at 1:00am however you can use the same procedure to schedule any of the TSM Command Line Parameters. The screens might vary slightly for different versions of Windows. From the Windows Control Panel, select Scheduled Tasks to display the Scheduled Tasks window.
Click the Add Scheduled Task option to start up the Scheduled Task Wizard.
Press the Browse button and select TSM.EXE from your live TSM directory.
Enter a descriptive name for the schedule and choose Daily.
Enter the start time, select Every Day and enter the date you want the schedule to commence.
Enter a windows network user name and password that has rights to run and log in to TSM. (This is not necessarily the same as the TSM login name and password)
Select the “Open advanced properties for this task when I click Finish” option and press Finish.
The advanced properties lets you adjust various aspects of the scheduled activity. Select the Run command and enter BACKUP on the end like so “c:\tsm\tsm.exe backup” (substitute the actual path to your live TSM system.
Note: You can substitute any of the other TSM Command Line Parameters in place of BACKUP to automate that command line option.
Press OK to save your changes.
That is all that is required. From now on, TSM should automatically do a backup at 1:00 am each morning.