listservices
The
listservices
command exports a list of services or a list of service templates to a CSV file.
The syntax is:
listservices {/output {services | servicetemplates} /file
output-file
[/
encoding
encoding
] /user
username
{/password
password
| /passwordfile
passwordfile
} | /help}
where:
• /output is either services (export services) or servicetemplates (export service templates).
• /file is the output file path.
• /encoding is the encoding of the output file, either UTF-8 or Shift_JIS.
• /user is a user ID.
The Submit role is required to output services list. The Modify role is required to output service
templates list.
• /password is the password of the user that is specified in /user.
• /passwordfile is the absolute or relative path of the password file.
listtasks
The
listtasks
command exports a list of services or a list of tasks to a CSV file.
The syntax is:
listtasks {[/startrange {
yyyy-mm-dd
| ,
yyyy-mm-dd
|
yyyy-mm-dd
,
yyyy-mm-
dd
}] /output {
tasks
|
histories
|
taskdetails
} {/file
outputfile
| /
taskdetaildir
directoryname
} [/encoding
encoding
] /user
username
{/password
password
| /passwordfile
passwordfile
} | /help}
where:
• /startrange is the date range of the task start date. Use this to limit the contents of the list to tasks run
within a specific period of time.
• /output is either of the following output data types: tasks (export tasks), histories (export histories),
taskdetails (export task with properties)
• /file is an output file with an absolute or relative path.
• /taskdetaildir is an output file with an absolute or relative path. /taskdetaildir is required instead of /file
when /output taskdetails is specified.
• /encoding is the encoding of the output file, either UTF-8 or Shift_JIS
• /user is a user ID. The Admin role is required to output taskdetails.
• /password is the password of the user that is specified in /user.
• /passwordfile is the absolute or relative path of the password file.
restoresystem
The
restoresystem
command restores the system configuration and database information from the
specified directory where the data was backed up.
CLI commands
99