Create-schedule operation
The create-schedule operation creates a client schedule. IBM Tivoli Storage Manager uses this schedule to perform automatic backup and archive operations for the client computer at specified intervals or times.
The following table describes the elements for the adapter request:
Adapter request elements for the create-schedule operation
The following figure shows a sample adapter request for the create-schedule operation:
Sample adapter request for the create-schedule operation
<tsm-request>
<operation-name>create-schedule</operation-name>
<command-request>
<timeout-secs>30</timeout-secs>
<command-options>
<domain-name>standard</domain-name>
<schedule-name>schedule00002</schedule-name>
<type>client</type>
<description>this my desctiption</description>
<options>
<subdir>yes</subdir>
<domain>all-local -c: -systemobject</domain>
</options>
<action>incremental</action>
<start-date>10/02/2009</start-date>
<priority>5</priority>
<objects>C:\ab.txt</objects>
<start-time>NOW+00:05</start-time>
<duration>2</duration>
<duration-unit>hours</duration-unit>
<period>1</period>
<period-unit>days</period-unit>
<day-of-week>any</day-of-week>
<expiration>never</expiration>
</command-options>
<command-arguments />
</command-request>
</tsm-request>
<operation-name>create-schedule</operation-name>
<command-request>
<timeout-secs>30</timeout-secs>
<command-options>
<domain-name>standard</domain-name>
<schedule-name>schedule00002</schedule-name>
<type>client</type>
<description>this my desctiption</description>
<options>
<subdir>yes</subdir>
<domain>all-local -c: -systemobject</domain>
</options>
<action>incremental</action>
<start-date>10/02/2009</start-date>
<priority>5</priority>
<objects>C:\ab.txt</objects>
<start-time>NOW+00:05</start-time>
<duration>2</duration>
<duration-unit>hours</duration-unit>
<period>1</period>
<period-unit>days</period-unit>
<day-of-week>any</day-of-week>
<expiration>never</expiration>
</command-options>
<command-arguments />
</command-request>
</tsm-request>
The following figure shows the adapter response for the sample request:
Sample adapter response for the create-schedule operation
<tsm-response>
<metadata>
<status>success</status>
<count>1</count>
</metadata>
<commands-output>
<command-output>
<metadata>
<command> dsmadmc -id=admin -password=admin define schedule 'standard' 'schedule00002' type='client' options='-subdir="yes" -domain="all-local -c: -systemobject"' action='incremental' startdate='10/02/2009' priority='5' objects='C:\ab.txt' starttime='NOW+00:05' duration='2' durunits='hours' period='1' perunits='days' dayofweek='any' expiration='never' description='this my desctiption'</command>
<line-count>9</line-count>
<execution-milliseconds>2828</execution-milliseconds>
<exit-code>0</exit-code>
<status>success</status>
</metadata>
<output>
<line index="1">IBM Tivoli Storage Manager</line>
<line index="2">Command Line Administrative Interface - Version 5, Release 5, Level 0.0</line>
<line index="3">(c) Copyright by IBM Corporation and other(s) 1990, 2007. All Rights Reserved.</line>
<line index="4">Session established with server SERVER1: Linux/i386</line>
<line index="5"> Server Version 5, Release 5, Level 0.0</line>
<line index="6"> Server date/time: 05/08/2009 12:09:50 Last access: 05/08/2009 12:05:37</line>
<line index="7">ANS8000I Server command: 'define schedule 'standard' 'schedule00002' type='client' options='-subdir=yes -domain=all-local -c: -systemobject' action='incremental' startdate='10/02/2009' priority='5' objects='C:\ab.txt' starttime='NOW+00:05' duration='2' durunits='hours' period='1' perunits='days' dayofweek='any' expiration='never' description='this my desctiption''</line>
<line index="8">ANR2500I Schedule SCHEDULE00002 defined in policy domain STANDARD.</line>
<line index="9">ANS8002I Highest return code was 0.</line>
</output>
</command-output>
</commands-output>
</tsm-response>
<metadata>
<status>success</status>
<count>1</count>
</metadata>
<commands-output>
<command-output>
<metadata>
<command> dsmadmc -id=admin -password=admin define schedule 'standard' 'schedule00002' type='client' options='-subdir="yes" -domain="all-local -c: -systemobject"' action='incremental' startdate='10/02/2009' priority='5' objects='C:\ab.txt' starttime='NOW+00:05' duration='2' durunits='hours' period='1' perunits='days' dayofweek='any' expiration='never' description='this my desctiption'</command>
<line-count>9</line-count>
<execution-milliseconds>2828</execution-milliseconds>
<exit-code>0</exit-code>
<status>success</status>
</metadata>
<output>
<line index="1">IBM Tivoli Storage Manager</line>
<line index="2">Command Line Administrative Interface - Version 5, Release 5, Level 0.0</line>
<line index="3">(c) Copyright by IBM Corporation and other(s) 1990, 2007. All Rights Reserved.</line>
<line index="4">Session established with server SERVER1: Linux/i386</line>
<line index="5"> Server Version 5, Release 5, Level 0.0</line>
<line index="6"> Server date/time: 05/08/2009 12:09:50 Last access: 05/08/2009 12:05:37</line>
<line index="7">ANS8000I Server command: 'define schedule 'standard' 'schedule00002' type='client' options='-subdir=yes -domain=all-local -c: -systemobject' action='incremental' startdate='10/02/2009' priority='5' objects='C:\ab.txt' starttime='NOW+00:05' duration='2' durunits='hours' period='1' perunits='days' dayofweek='any' expiration='never' description='this my desctiption''</line>
<line index="8">ANR2500I Schedule SCHEDULE00002 defined in policy domain STANDARD.</line>
<line index="9">ANS8002I Highest return code was 0.</line>
</output>
</command-output>
</commands-output>
</tsm-response>
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*