12.07.2015 Views

IBM Tivoli Storage Manager for UNIX and Linux Backup-Archive ...

IBM Tivoli Storage Manager for UNIX and Linux Backup-Archive ...

IBM Tivoli Storage Manager for UNIX and Linux Backup-Archive ...

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Note:1. If the postschedulecmd comm<strong>and</strong> does not complete with return code 0, theclient will report that the scheduled event completed with return code 8 (unlessthe scheduled operation encounters a more severe error yielding a higherreturn code). If you do not want the postschedulecmd comm<strong>and</strong> to be governedby this rule, you can create a script or batch file that invokes the comm<strong>and</strong> <strong>and</strong>exits with return code 0. Then configure postschedulecmd to invoke the scriptor batch file. The return code <strong>for</strong> the postnschedulecmd comm<strong>and</strong> is nottracked, <strong>and</strong> does not influence the return code of the scheduled event.2. The server can also define the postschedulecmd option (<strong>and</strong> thepostnschedulecmd option).Supported ClientsThis option is valid <strong>for</strong> all clients. The <strong>Tivoli</strong> <strong>Storage</strong> <strong>Manager</strong> client API does notsupport this option. The server can also define this option.Options FilePlace this option in the dsm.sys file. You can set this option on the Scheduler tab,Schedule Comm<strong>and</strong> button of the Preferences editor.Syntax►►POSTSChedulecmdPOSTNSChedulecmd″cmdstring″►◄Parameters″cmdstring″Specifies the comm<strong>and</strong> to process. You can enter a comm<strong>and</strong> to be executedafter a schedule with this option. Use only one postschedulecmd option.If the comm<strong>and</strong> string contains blanks, enclose the comm<strong>and</strong> string inquotation marks. If you placed quotation marks within the comm<strong>and</strong> string,then enclose the entire comm<strong>and</strong> string in single quotes.Use a blank, or null, string <strong>for</strong> cmdstring if you want to prevent any comm<strong>and</strong>sfrom running that the <strong>Tivoli</strong> <strong>Storage</strong> <strong>Manager</strong> server administrator uses <strong>for</strong>postschedulecmd or preschedulecmd. If you specify a blank or null string oneither option, it prevents the administrator from using a comm<strong>and</strong> on bothoptions.If your administrator uses a blank or null string on the postschedulecmdoption, you cannot run a post-schedule comm<strong>and</strong>.For Mac OS X, if the postschedulecmd schedule comm<strong>and</strong> is a <strong>UNIX</strong> shellscript, enter the name of the script to run. For example, if ″presched.sh″ is a<strong>UNIX</strong> shell script, enter this comm<strong>and</strong>:postschedulecmd "/Volumes/La Pomme/Scripting/presched.sh"ExamplesOptions file:postschedulecmd "/Volumes/La Pomme/Scripting/postsched.sh"Options file:postschedulecmd "restart database"366 <strong>IBM</strong> <strong>Tivoli</strong> <strong>Storage</strong> <strong>Manager</strong> <strong>for</strong> <strong>UNIX</strong> <strong>and</strong> <strong>Linux</strong> <strong>Backup</strong>-<strong>Archive</strong> Clients Version 6.1: Installation <strong>and</strong> User’s Guide

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!