4 4 3 Beefalo:SEP sesam CLI: Difference between revisions

From SEPsesam
(Fixed heading levels and excluded items from print for SCA book.)
(Prepared for translation.)
Line 1: Line 1:
<noinclude>{{Copyright SEP AG|en}}
<translate><noinclude><languages />
{{Copyright SEP AG|en}}


{{Navigation_latest|release=[[SEP_sesam_Release_Versions|4.4.3/4.4.3 ''Beefalo V2'']]|link=[[Archive:SEP_Sesam_CLI|documentation archive]]}}<br />
{{Navigation_latest|release=[[SEP_sesam_Release_Versions|4.4.3/4.4.3 ''Beefalo V2'']]|link=[[Archive:SEP_Sesam_CLI|documentation archive]]}}</translate><br />
</noinclude>===Overview===
</noinclude>===<translate>Overview</translate>===
<noinclude><div class="boilerplate metadata" id="Additional resources" style="background-color:#ecedf1; color:#8695a7; border: 1px ridge #cdd3db; margin: 0.5em; padding: 0.5em; float: right; width: 35%; "><center><b>Additional resources</b></center>
<noinclude><div class="boilerplate metadata" id="Additional resources" style="background-color:#ecedf1; color:#8695a7; border: 1px ridge #cdd3db; margin: 0.5em; padding: 0.5em; float: right; width: 35%; "><center><b><translate>Additional resources</translate></b></center>
{|style="margin: auto; margin-bottom:1em; width:100%; border:0px solid grey;"
{|style="margin: auto; margin-bottom:1em; width:100%; border:0px solid grey;"
| rowspan="2" style="padding:0px 10px 0px;" | [[File:SEP_next.png|45px|link=Special:MyLanguage/4 4 3 Beefalo:SEP sesam CLI|]]
| rowspan="2" style="padding:0px 10px 0px;" | [[File:SEP_next.png|45px|link=Special:MyLanguage/4 4 3 Beefalo:SEP sesam CLI|]]
| style="padding:0px 40px 0px 10px; color: grey; font-size: 90%; text-align:left;" | See also: <!--[[Special:MyLanguage/4 4 3 Beefalo:CLI Configuration Example|CLI configuration example]] – -->[[SBC CLI]] – [[Special:MyLanguage/SEP_sesam_GUI|SEP sesam GUI]]
| style="padding:0px 40px 0px 10px; color: grey; font-size: 90%; text-align:left;" | <translate>See also: <!--[[Special:MyLanguage/4 4 3 Beefalo:CLI Configuration Example|CLI configuration example]] – -->[[Special:MyLanguage/SBC_CLI|SBC CLI]] – [[Special:MyLanguage/Useful_SEP_sesam_Commands|Useful SEP sesam Commands]] – [[Special:MyLanguage/SEP_sesam_GUI|SEP sesam GUI]]</translate>
|}
|}


{|style="margin: auto; margin-bottom:1em; width:100%; border:0px solid grey;"
{|style="margin: auto; margin-bottom:1em; width:100%; border:0px solid grey;"
| rowspan="2" style="padding:0px 10px 0px;" | [[File:SEP Troubleshooting.png|45px|link=Special:MyLanguage/Troubleshooting_Guide|Troubleshooting Guide]]
| rowspan="2" style="padding:0px 10px 0px;" | [[File:SEP Troubleshooting.png|45px|link=Special:MyLanguage/Troubleshooting_Guide|Troubleshooting Guide]]
| style="padding:0px 40px 0px 10px; color: grey; font-size: 90%; text-align:left;" | Problems? See: [[Special:MyLanguage/Troubleshooting_Guide|Troubleshooting Guide]] – [[SBC Messages]]
| style="padding:0px 40px 0px 10px; color: grey; font-size: 90%; text-align:left;" | <translate>Problems? See: [[Special:MyLanguage/Troubleshooting_Guide|Troubleshooting Guide]] – [[SBC Messages]]</translate>
|}
|}
</div></noinclude>
</div></noinclude>
The SEP sesam ''command line interface'' (CLI) is a utility that provides an alternate way of executing SEP sesam commands in UNIX and Windows environments. SEP sesam command line interface provides two CLI components: administration utility ''SEP sesam CLI'' and client utility ''[[SBC CLI]]''. The latter is used to back up and restore data '''locally on the host'''.  
<translate>The SEP sesam ''command line interface'' (CLI) is a utility that provides an alternate way of executing SEP sesam commands in UNIX and Windows environments. SEP sesam command line interface provides two CLI components: administration utility ''SEP sesam CLI'' and client utility ''[[SBC CLI]]''. The latter is used to back up and restore data '''locally on the host'''.  


SEP sesam CLI administration utility provides all of the functions available via SEP sesam graphical management interface and also additional CLI commands that are not available in the GUI. Note that different commands can be available depending on your SEP sesam license.
SEP sesam CLI administration utility provides all of the functions available via SEP sesam graphical management interface and also additional CLI commands that are not available in the GUI. Note that different commands can be available depending on your SEP sesam license.
Line 20: Line 21:
SEP sesam CLI commands can be used to install and configure a [[Special:MyLanguage/SEP_sesam_Glossary#SEP_sesam_environment|SEP sesam environment]] automatically without a GUI. They enable administrators to access SEP sesam database and manage the whole SEP sesam environment, for example, to install, configure and manage SEP sesam Servers and Clients centrally without a GUI. Every CLI command (except a native SQL statement) checks and follows the internal structure and dependencies of the SEP sesam database.
SEP sesam CLI commands can be used to install and configure a [[Special:MyLanguage/SEP_sesam_Glossary#SEP_sesam_environment|SEP sesam environment]] automatically without a GUI. They enable administrators to access SEP sesam database and manage the whole SEP sesam environment, for example, to install, configure and manage SEP sesam Servers and Clients centrally without a GUI. Every CLI command (except a native SQL statement) checks and follows the internal structure and dependencies of the SEP sesam database.


==== Features ====
==== Features ====</translate>
* Automatic configuration of SEP sesam environments after installation (e.g., on implementation)
* <translate>Automatic configuration of SEP sesam environments after installation (e.g., on implementation)</translate>
* Change the SEP sesam configuration without using the SEP sesam GUI
* <translate>Change the SEP sesam configuration without using the SEP sesam GUI</translate>
* Script-based mass installation and configuration (e.g., provider environment)
* <translate>Script-based mass installation and configuration (e.g., provider environment)</translate>
* Operate tests for installation and configuration in SEP sesam environments
* <translate>Operate tests for installation and configuration in SEP sesam environments</translate>
* Get SEP sesam status, log and version information
* <translate>Get SEP sesam status, log and version information</translate>
* Determine SEP sesam object information for further use in other programs
* <translate>Determine SEP sesam object information for further use in other programs


====Running CLI commands====
====Running CLI commands====
You must have SEP sesam administrator privileges to run SEP sesam CLI commands and use the command prompt as an administrator. All commands are run from the {{Sesamroot|/bin/sesam/}} directory. If you want to execute SEP sesam commands globally (and not from the actual ''run directory''), set the SEP sesam profile as described in [[Special:MyLanguage/FAQ#profile_setting|What happens when I set a profile?]].
You must have SEP sesam administrator privileges to run SEP sesam CLI commands and use the command prompt as an administrator. All commands are run from the {{Sesamroot|/bin/sesam/}} directory. If you want to execute SEP sesam commands globally (and not from the actual ''run directory''), set the SEP sesam profile as described in [[Special:MyLanguage/FAQ#profile_setting|What happens when I set a profile?]].


Line 35: Line 37:
The SEP sesam general syntax for a CLI command is:
The SEP sesam general syntax for a CLI command is:
  sm_cmd <command> [–option] [<object>] [[–<parameter>] <value>]
  sm_cmd <command> [–option] [<object>] [[–<parameter>] <value>]
where the following information is provided for each command
where the following information is provided for each command</translate>
*''sm_cmd'': A command line tool that invokes the command line interface.
*''sm_cmd'': <translate>A command line tool that invokes the command line interface.</translate>
*Usage: The actual syntax of the command, including the arguments.
*<translate>Usage: The actual syntax of the command, including the arguments.</translate>
*Description: A brief summary of what the command does.
*<translate>Description: A brief summary of what the command does.</translate>
*Arguments: The definition of options used in the command.
*<translate>Arguments: The definition of options used in the command.</translate>
*Example: Example of the command usage of the specified command and its options.
*<translate>Example: Example of the command usage of the specified command and its options.


====Command conventions====
====Command conventions====


The parameters for a command are order-dependent and might include required and optional values or keyword choices, depending on how the information is bracketed. Required parameters are marked with an asterisk (*). An example is provided below.
The parameters for a command are order-dependent and might include required and optional values or keyword choices, depending on how the information is bracketed. Required parameters are marked with an asterisk (*). An example is provided below.</translate>
;| vertical bar:Separates the choices between two or more options or arguments.
;| <translate>vertical bar:Separates the choices between two or more options or arguments.</translate>
;[ ] square brackets:Indicate optional values.
;[ ] <translate>square brackets:Indicate optional values.</translate>
;< > angle brackets:Indicate that the enclosed element is mandatory.
;< > <translate>angle brackets:Indicate that the enclosed element is mandatory.</translate>


;''Example:''
;''<translate>Example:</translate>''


  sm_cmd <get|list|add|modify|backup|remove|restart> taskevent [OPTIONS...]
  sm_cmd <get|list|add|modify|backup|remove|restart> taskevent [OPTIONS...]
   
   
One of the actions bracketed with < > symbols, in this case <tt><get|list|add|modify|backup|remove|restart></tt>, is required, while the [OPTIONS...] are enclosed with [ ] symbols, therefore the information requested is optional. The following options are available for our sample <tt>taskevent</tt> command.
<translate>One of the actions bracketed with < > symbols, in this case <tt><get|list|add|modify|backup|remove|restart></tt>, is required, while the [OPTIONS...] are enclosed with [ ] symbols, therefore the information requested is optional. The following options are available for our sample <tt>taskevent</tt> command.</translate>
    
    
  OPTIONS:
  OPTIONS:
     -@ [param]    follow up (command to be run after the event completes)
     -@ [param]    <translate>follow up (command to be run after the event completes)</translate>
     -G [ID]        task group
     -G [ID]        <translate>task group</translate>
     -S [ID]        name of the interface
     -S [ID]        <translate>name of the interface</translate>
     -Z [number]    stop task if it runs longer than (e.g. 8:00 means that the task is automatically stopped after 8 hours)
     -Z [number]    <translate>stop task if it runs longer than (e.g. 8:00 means that the task is automatically stopped after 8 hours)</translate>
     -d [ID]        drive number
     -d [ID]        <translate>drive number</translate>
     -j [ID]        backup task
     -j [ID]        <translate>backup task</translate>
     -l [param]    backup level (C = Copy, F = Full, D = Differential, I = Incremental)
     -l [param]    <translate>backup level (C = Copy, F = Full, D = Differential, I = Incremental)</translate>
     -m [ID]     * media pool
     -m [ID]       <translate>media pool</translate>
     -s [0|1]      source-side deduplication
     -s [0|1]      <translate>source-side deduplication


Let's say that we want to run a backup event for a backup task named ''win-cli_c_drive'' and use the target media pool (to which the data will be backed up) ''MP_disk_week''. The command would look like this:
Let's say that we want to run a backup event for a backup task named ''win-cli_c_drive'' and use the target media pool (to which the data will be backed up) ''MP_disk_week''. The command would look like this:</translate>


  sm_cmd backup taskevent -j win-cli_c_drive -m MP_disk_week
  sm_cmd backup taskevent -j win-cli_c_drive -m MP_disk_week
   
   
====Getting help====
<translate>====Getting help====


To list all available options, use the main help <tt>sm_cmd help</tt>. To show help for specific object, use <tt>sm_cmd help <object></tt>, for example, <tt>sm_cmd help client</tt>.
To list all available options, use the main help <tt>sm_cmd help</tt>. To show help for specific object, use <tt>sm_cmd help <object></tt>, for example, <tt>sm_cmd help client</tt>.
Line 76: Line 78:
===={{anchor|action_commands}}Common action commands====
===={{anchor|action_commands}}Common action commands====


The action command is used to perform an action or retrieve information/status about the resource. Most SEP sesam CLI resources have the following action commands:
The action command is used to perform an action or retrieve information/status about the resource. Most SEP sesam CLI resources have the following action commands:</translate>
;get:The get command retrieves information about the resource or the operation that is currently defined.  
;get:<translate>The <tt>get</tt> command retrieves information about the resource or the operation that is currently defined.</translate>
;list:The list command returns a list of objects for the specified resource. If the optional ''<object_name_or_id>'' is also specified, then the results are filtered by that value.  
;list:<translate>The <tt>list</tt> command returns a list of objects for the specified resource. If the optional ''<object_name_or_id>'' is also specified, then the results are filtered by that value.</translate>
;add:The add command creates a new object or event. If the optional ''<object_name_or_id>'' is also specified, then the objects are created according to the specified value.  
;add:<translate>The <tt>add</tt> command creates a new object or event. If the optional ''<object_name_or_id>'' is also specified, then the objects are created according to the specified value.</translate>
;modify:The modify command changes an existing resource based on the specified object options.
;modify:<translate>The <tt>modify</tt> command changes an existing resource based on the specified object options.</translate>
;remove:The remove command deletes the specified object.
;remove:<translate>The <tt>remove</tt> command deletes the specified object.


====Before you begin====
====Before you begin====
SEP sesam CLI is a very powerful command-line tool. You should be aware of its implications on your entire environment before you start using it.
SEP sesam CLI is a very powerful command-line tool. You should be aware of its implications on your entire environment before you start using it.


'''Recommendations for using the SEP sesam CLI'''
'''Recommendations for using the SEP sesam CLI'''</translate>
*SEP sesam's optional command line commands are written directly to the SEP sesam database. Therefore all command line entries should be checked and verified!
*<translate>SEP sesam's optional command line commands are written directly to the SEP sesam database. Therefore all command line entries should be checked and verified!</translate>
*SEP sesam executes the commands immediately the ''<Enter>/<Return>'' key is pressed, which means that entries cannot be corrected, as is the case with the SEP Sesam GUI. It is extremely important that you are familiar with CLI and use it cautiously in order not to cause a system failure of the backup environment. Note that an erroneous entry can lead to '''complete data loss or other damage to the database'''. Such mistakes can void the warranty of your SEP sesam licensing agreement.
*<translate>SEP sesam executes the commands immediately the ''<Enter>/<Return>'' key is pressed, which means that entries cannot be corrected, as is the case with the SEP Sesam GUI. It is extremely important that you are familiar with CLI and use it cautiously in order not to cause a system failure of the backup environment. Note that an erroneous entry can lead to '''complete data loss or other damage to the database'''. Such mistakes can void the warranty of your SEP sesam licensing agreement.</translate>
<!-- *Have a look at a [[Special:MyLanguage/4 4 3 Beefalo:CLI Configuration Example|CLI configuration example]] for the creation of a new SEP sesam environment by SEP sesam CLI. Only after becoming familiar with SEP sesam should you attempt to use the CLI and write your first scripts.-->
<!-- *Have a look at a [[Special:MyLanguage/4 4 3 Beefalo:CLI Configuration Example|CLI configuration example]] for the creation of a new SEP sesam environment by SEP sesam CLI. Only after becoming familiar with SEP sesam should you attempt to use the CLI and write your first scripts.-->
{{note|Before you start scripting with the SEP sesam CLI, you should familiarize yourself with the SEP sesam environment. Read the SEP sesam documentation carefully and work on the SEP sesam installation and configuration to understand how the SEP sesam objects work together.}}
{{<translate>note</translate>|<translate>Before you start scripting with the SEP sesam CLI, you should familiarize yourself with the SEP sesam environment. Read the SEP sesam documentation carefully and work on the SEP sesam installation and configuration to understand how the SEP sesam objects work together.</translate>}}


===SEP sesam CLI usage===
<translate>===SEP sesam CLI usage===</translate>
{| border="2" cellpadding="4" cellspacing="0" style="width:90%; margin: 1em 1em 1em 0; background: #fcfcfc; border: 1px #aaa solid; border-collapse: collapse;"
{| border="2" cellpadding="4" cellspacing="0" style="width:90%; margin: 1em 1em 1em 0; background: #fcfcfc; border: 1px #aaa solid; border-collapse: collapse;"
|- style="background:#FFCC01; color:#002F55"
|- style="background:#FFCC01; color:#002F55"
! scope="col" style="text-align:left;" | Command
! scope="col" style="text-align:left;" | <translate>Command</translate>
! scope="col" style="text-align:left;"| Description
! scope="col" style="text-align:left;"| <translate>Description</translate>
|-  
|-  
|[[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#account|sm_cmd ''<nowiki><get|list|add|modify|remove|send></nowiki>'' account]]|| Create and administer email accounts.
|[[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#account|sm_cmd ''<nowiki><get|list|add|modify|remove|send></nowiki>'' account]]|| <translate>Create and administer email accounts.</translate>
  |-
  |-
|[[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#acl|sm_cmd ''<nowiki><get|list|remove|check></nowiki>'' acl]]|| List or delete access control list (ACL).  
|[[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#acl|sm_cmd ''<nowiki><get|list|remove|check></nowiki>'' acl]]|| <translate>List or delete access control list (ACL).</translate>
  |-
  |-
|[[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#allevent|sm_cmd list allevent]]|| List all SEP sesam events.  
|[[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#allevent|sm_cmd list allevent]]|| <translate>List all SEP sesam events.</translate>
  |-
  |-
|[[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#allresult|sm_cmd list allresult]]|| List all results within the specified time period.  
|[[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#allresult|sm_cmd list allresult]]|| <translate>List all results within the specified time period.</translate>
  |-
  |-
|[[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#backup|sm_cmd backup]]||  Start the backup task or task group.  
|[[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#backup|sm_cmd backup]]||  <translate>Start the backup task or task group.</translate>
  |-
  |-
|[[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#clear_cache|sm_cmd clear cache]]||  Clear the entire server cach.  
|[[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#clear_cache|sm_cmd clear cache]]||  <translate>Clear the entire server cach.</translate>
  |-
  |-
|[[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#calendar|sm_cmd ''<nowiki><get|list|add|modify|remove></nowiki>'' calendar]]||Create and administer calendars.
|[[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#calendar|sm_cmd ''<nowiki><get|list|add|modify|remove></nowiki>'' calendar]]||Create and administer calendars.
  |-
  |-
|[[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#calendarevent|sm_cmd ''<nowiki><get|list|add|modify|remove></nowiki>'' calendarevent]]|| Create and administer calendar events.
|[[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#calendarevent|sm_cmd ''<nowiki><get|list|add|modify|remove></nowiki>'' calendarevent]]|| <translate>Create and administer calendar events.</translate>
  |-
  |-
|[[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#calendarsheet|sm_cmd ''<nowiki><download|show></nowiki>'' calendarsheet]]||Display or download calendar information.
|[[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#calendarsheet|sm_cmd ''<nowiki><download|show></nowiki>'' calendarsheet]]||<translate>Display or download calendar information.</translate>
  |-
  |-
|[[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#client|sm_cmd ''<nowiki><get|list|add|modify|remove|dir></nowiki>'' client]]|| Create and administer clients.   
|[[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#client|sm_cmd ''<nowiki><get|list|add|modify|remove|dir></nowiki>'' client]]|| <translate>Create and administer clients.</translate>  
  |-
  |-
|[[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#command|sm_cmd ''<nowiki><get|list|add|modify|start|remove></nowiki>'' command]]|| Create and administer commands.  
|[[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#command|sm_cmd ''<nowiki><get|list|add|modify|start|remove></nowiki>'' command]]|| <translate>Create and administer commands.</translate>
  |-
  |-
|[[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#commandevent|sm_cmd ''<nowiki><get|list|add|modify|remove></nowiki>'' commandevent]]|| Create and administer command events.   
|[[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#commandevent|sm_cmd ''<nowiki><get|list|add|modify|remove></nowiki>'' commandevent]]|| <translate>Create and administer command events.</translate>  
  |-
  |-
|[[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#credential|sm_cmd ''<nowiki><get|list|add|modify|enable|disable|link|unlink|remove></nowiki>'' credential]]|| Configure and administer credentials.
|[[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#credential|sm_cmd ''<nowiki><get|list|add|modify|enable|disable|link|unlink|remove></nowiki>'' credential]]|| <translate>Configure and administer credentials.</translate>
  |-
  |-
|[[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#current|sm_cmd ''<nowiki><download|show></nowiki>'' current]]||Display or download the current drive information.   
|[[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#current|sm_cmd ''<nowiki><download|show></nowiki>'' current]]||<translate>Display or download the current drive information.</translate>  
  |-
  |-
|[[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#datastore|sm_cmd ''<nowiki><get|list|add|modify|remove></nowiki>'' datastore]]||Create and administer data stores.  
|[[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#datastore|sm_cmd ''<nowiki><get|list|add|modify|remove></nowiki>'' datastore]]||<translate>Create and administer data stores.</translate>
  |-
  |-
|[[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#default|sm_cmd ''<nowiki><get|list|add|modify|remove></nowiki>'' default]]||Configure and administer default keys.  
|[[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#default|sm_cmd ''<nowiki><get|list|add|modify|remove></nowiki>'' default]]||<translate>Configure and administer default keys.</translate>
  |-
  |-
|[[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#dir|sm_cmd dir ''<nowiki><argument></nowiki>'']]||List all specified clients, elements, VMs, etc.  
|[[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#dir|sm_cmd dir ''<nowiki><argument></nowiki>'']]||<translate>List all specified clients, elements, VMs, etc.</translate>
  |-
  |-
|[[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#drive|sm_cmd ''<nowiki><get|list|add|modify|remove|start|mount|dismount|unload></nowiki>'' drive]]|| Create and administer drives.
|[[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#drive|sm_cmd ''<nowiki><get|list|add|modify|remove|start|mount|dismount|unload></nowiki>'' drive]]|| <translate>Create and administer drives.</translate>
  |-
  |-
|[[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#drivegroup|sm_cmd ''<nowiki><get|list|add|modify|remove></nowiki>'' drivegroup]]|| Create and administer drive groups.   
|[[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#drivegroup|sm_cmd ''<nowiki><get|list|add|modify|remove></nowiki>'' drivegroup]]|| <translate>Create and administer drive groups.</translate>  
  |-
  |-
|[[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#group|sm_cmd ''<nowiki><get|list|add|modify|remove></nowiki>'' group]]|| Create and administer user groups.   
|[[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#group|sm_cmd ''<nowiki><get|list|add|modify|remove></nowiki>'' group]]|| <translate>Create and administer user groups.</translate>  
  |-
  |-
|[[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#interface|sm_cmd ''<nowiki><get|list|add|remove></nowiki>'' interface]]|| Create and administer [[Special:MyLanguage/SEP_sesam_Glossary#interfaces#|interfaces]].  
|[[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#interface|sm_cmd ''<nowiki><get|list|add|remove></nowiki>'' interface]]|| <translate>Create and administer [[Special:MyLanguage/SEP_sesam_Glossary#interfaces#|interfaces]].</translate>
  |-
  |-
|[[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#start_inventory|sm_cmd start inventory]]|| Start [[Special:MyLanguage/SEP_sesam_Glossary#archive_adjustment|archive adjustment]].   
|[[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#start_inventory|sm_cmd start inventory]]|| <translate>Start [[Special:MyLanguage/SEP_sesam_Glossary#archive_adjustment|archive adjustment]].</translate>  
  |-
  |-
|[[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#license|sm_cmd ''<nowiki><show|update|report></nowiki>'' license]]|| Check the SEP sesam license information and update the license.
|[[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#license|sm_cmd ''<nowiki><show|update|report></nowiki>'' license]]|| <translate>Check the SEP sesam license information and update the license.</translate>
  |-
  |-
|[[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#loader|sm_cmd ''<nowiki><get|list|add|modify|remove|load|unload|import|export></nowiki>'' loader]]|| Create and administer [[Special:MyLanguage/SEP_sesam_Glossary#loader|loaders]].
|[[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#loader|sm_cmd ''<nowiki><get|list|add|modify|remove|load|unload|import|export></nowiki>'' loader]]|| <translate>Create and administer [[Special:MyLanguage/SEP_sesam_Glossary#loader|loaders]].</translate>
  |-
  |-
|[[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#loaderdevice|sm_cmd ''<nowiki><get|list|add|modify|remove></nowiki>'' loaderdevice]]|| Create and administer loader devices.  
|[[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#loaderdevice|sm_cmd ''<nowiki><get|list|add|modify|remove></nowiki>'' loaderdevice]]|| <translate>Create and administer loader devices.</translate>
  |-
  |-
|[[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#location|sm_cmd ''<nowiki><get|list|add|modify|remove></nowiki>'' location]]|| Create and administer [[Special:MyLanguage/SEP_sesam_Glossary#location|locations]].  
|[[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#location|sm_cmd ''<nowiki><get|list|add|modify|remove></nowiki>'' location]]|| <translate>Create and administer [[Special:MyLanguage/SEP_sesam_Glossary#location|locations]].</translate>
  |-
  |-
|[[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#log|sm_cmd ''<nowiki><download|show|list></nowiki>'' log]]|| Monitor and download [[Special:MyLanguage/SEP_sesam_Glossary#logging|log files]] from the server.   
|[[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#log|sm_cmd ''<nowiki><download|show|list></nowiki>'' log]]|| <translate>Monitor and download [[Special:MyLanguage/SEP_sesam_Glossary#logging|log files]] from the server.</translate>  
  |-
  |-
|[[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#media|sm_cmd ''<nowiki><get|list|add|modify|remove></nowiki>'' media]]|| Create and administer storage [[Special:MyLanguage/SEP_sesam_Glossary#medium|media]].  
|[[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#media|sm_cmd ''<nowiki><get|list|add|modify|remove></nowiki>'' media]]|| <translate>Create and administer storage [[Special:MyLanguage/SEP_sesam_Glossary#medium|media]].</translate>
  |-
  |-
|[[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#mediapool|sm_cmd ''<nowiki><get|list|add|modify|remove></nowiki>'' mediapool]]||Create and administer [[Special:MyLanguage/SEP_sesam_Glossary#media_pool|media pools]].  
|[[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#mediapool|sm_cmd ''<nowiki><get|list|add|modify|remove></nowiki>'' mediapool]]||<translate>Create and administer [[Special:MyLanguage/SEP_sesam_Glossary#media_pool|media pools]].</translate>
  |-
  |-
|[[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#mediapoolevent|sm_cmd ''<nowiki><get|list|add|modify|start|init|remove></nowiki>'' mediapoolevent]]|| Create and administer [[Special:MyLanguage/Creating_a_Media_Event|media events]].   
|[[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#mediapoolevent|sm_cmd ''<nowiki><get|list|add|modify|start|init|remove></nowiki>'' mediapoolevent]]|| <translate>Create and administer [[Special:MyLanguage/Creating_a_Media_Event|media events]].</translate>  
  |-
  |-
|[[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#migrate|sm_cmd migrate]]||Start a migration immediately.   
|[[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#migrate|sm_cmd migrate]]||<translate>Start a migration immediately.</translate>  
  |-
  |-
|[[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#migration|sm_cmd ''<nowiki><get|list|add|modify|remove|start></nowiki>'' migration]]|| Create and administer migration events.   
|[[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#migration|sm_cmd ''<nowiki><get|list|add|modify|remove|start></nowiki>'' migration]]|| <translate>Create and administer migration events.</translate>  
  |-
  |-
|[[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#migrationtask|sm_cmd ''<nowiki><get|list|add|modify|remove></nowiki>'' migrationtask]]|| Create and administer migration tasks.   
|[[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#migrationtask|sm_cmd ''<nowiki><get|list|add|modify|remove></nowiki>'' migrationtask]]|| <translate>Create and administer migration tasks.</translate>  
  |-
  |-
|[[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#newdayevent|sm_cmd ''<nowiki><get|list|add|modify|start|remove></nowiki>'' newdayevent]]|| Create and administer [[Special:MyLanguage/SEP_sesam_Glossary#NEWDAY|NEWDAY events]].
|[[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#newdayevent|sm_cmd ''<nowiki><get|list|add|modify|start|remove></nowiki>'' newdayevent]]|| <translate>Create and administer [[Special:MyLanguage/SEP_sesam_Glossary#NEWDAY|NEWDAY events]].</translate>
  |-
  |-
|[[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#notification|sm_cmd ''<nowiki><get|list|add|modify></nowiki>'' notification]]|| Create and modify [[Special:MyLanguage/SEP_sesam_Glossary#notification|notifications]].   
|[[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#notification|sm_cmd ''<nowiki><get|list|add|modify></nowiki>'' notification]]|| <translate>Create and modify [[Special:MyLanguage/SEP_sesam_Glossary#notification|notifications]].</translate>  
  |-
  |-
|[[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#opersystem|sm_cmd ''<nowiki><get|list></nowiki>'' opersystem]]||List a specific OS or all operating systems.  
|[[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#opersystem|sm_cmd ''<nowiki><get|list></nowiki>'' opersystem]]||<translate>List a specific OS or all operating systems.</translate>
  |-
  |-
|[[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#render|sm_cmd render]]|| Renders the specified template.
|[[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#render|sm_cmd render]]|| <translate>Renders the specified template.</translate>
  |-
  |-
|[[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#list_restart|sm_cmd ''<nowiki><list|restart></nowiki>'']]|| Check and restart backups/migrations.  
|[[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#list_restart|sm_cmd ''<nowiki><list|restart></nowiki>'']]|| <translate>Check and restart backups/migrations.</translate>
  |-
  |-
|[[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#restoreevent|sm_cmd ''<nowiki><get|list|add|modify|restore|start|remove></nowiki>'' restoreevent]]|| Create and administer restore events.   
|[[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#restoreevent|sm_cmd ''<nowiki><get|list|add|modify|restore|start|remove></nowiki>'' restoreevent]]|| <translate>Create and administer restore events.</translate>  
  |-
  |-
|[[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#restoretask|sm_cmd ''<nowiki><get|list|add|modify|start|remove></nowiki>'' restoretask]]|| Create and administer restore tasks.   
|[[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#restoretask|sm_cmd ''<nowiki><get|list|add|modify|start|remove></nowiki>'' restoretask]]|| <translate>Create and administer restore tasks.</translate>  
  |-
  |-
|[[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#result|sm_cmd ''<nowiki><get|list></nowiki>'' result]]|| Monitor the results according to set filters (e.g., clients, tasks).   
|[[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#result|sm_cmd ''<nowiki><get|list></nowiki>'' result]]|| <translate>Monitor the results according to set filters (e.g., clients, tasks).</translate>  
  |-
  |-
|[[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#saveset|sm_cmd <dir> saveset]]|| Browse for the saveset ID.   
|[[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#saveset|sm_cmd <dir> saveset]]|| <translate>Browse for the saveset ID.</translate>  
  |-
  |-
|[[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#schedule|sm_cmd ''<nowiki><get|list|add|modify|rename|remove|start></nowiki>'' schedule]]|| Configure and administer schedules.   
|[[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#schedule|sm_cmd ''<nowiki><get|list|add|modify|rename|remove|start></nowiki>'' schedule]]|| <translate>Configure and administer schedules.</translate>  
  |-
  |-
|[[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#services|sm_cmd ''<nowiki><download|show></nowiki>'' services]]|| Monitor and download different files or logs.   
|[[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#services|sm_cmd ''<nowiki><download|show></nowiki>'' services]]|| <translate>Monitor and download different files or logs.</translate>  
  |-
  |-
|[[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#session|sm_cmd list session]]|| List all active sessions.   
|[[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#session|sm_cmd list session]]|| <translate>List all active sessions.</translate>  
  |-
  |-
|[[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#start|sm_cmd start ''<nowiki><task|restore|migration|command></nowiki>'']]|| Start an [[Special:MyLanguage/SEP_sesam_Glossary#event|event]].
|[[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#start|sm_cmd start ''<nowiki><task|restore|migration|command></nowiki>'']]|| <translate>Start an [[Special:MyLanguage/SEP_sesam_Glossary#event|event]].</translate>
  |-
  |-
|[[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#start_report|sm_cmd start report]]|| Create a customized report.  
|[[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#start_report|sm_cmd start report]]|| <translate>Create a customized report.</translate>
  |-
  |-
|[[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#task|sm_cmd ''<nowiki><get|list|add|modify|start|remove></nowiki>'' task]]||Create and administer [[Special:MyLanguage/SEP_sesam_Glossary#task|tasks]].  
|[[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#task|sm_cmd ''<nowiki><get|list|add|modify|start|remove></nowiki>'' task]]||<translate>Create and administer [[Special:MyLanguage/SEP_sesam_Glossary#task|tasks]].</translate>
  |-
  |-
|[[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#taskevent|sm_cmd ''<nowiki><get|list|add|modify|backup|remove|restart></nowiki>'' taskevent]]|| Create and administer [[Special:MyLanguage/SEP_sesam_Glossary#event|task events]].  
|[[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#taskevent|sm_cmd ''<nowiki><get|list|add|modify|backup|remove|restart></nowiki>'' taskevent]]|| <translate>Create and administer [[Special:MyLanguage/SEP_sesam_Glossary#event|task events]].</translate>
  |-
  |-
|[[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#taskgen|sm_cmd add taskgen]]|| Generate tasks according to the specified [[Special:MyLanguage/SEP_sesam_Glossary#task_type|task type]].  
|[[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#taskgen|sm_cmd add taskgen]]|| <translate>Generate tasks according to the specified [[Special:MyLanguage/SEP_sesam_Glossary#task_type|task type]].</translate>
  |-
  |-
|[[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#taskgroup|sm_cmd ''<nowiki><get|list|add|modify|start|remove></nowiki>'' taskgroup]]|| Create and administer [[Special:MyLanguage/SEP_sesam_Glossary#task_group|task groups]].  
|[[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#taskgroup|sm_cmd ''<nowiki><get|list|add|modify|start|remove></nowiki>'' taskgroup]]|| <translate>Create and administer [[Special:MyLanguage/SEP_sesam_Glossary#task_group|task groups]].</translate>
  |-
  |-
|[[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#taskgrouprelation|sm_cmd ''<nowiki><get|list|add|modify|remove></nowiki>'' taskgrouprelation]]|| Create and administer task group relations.   
|[[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#taskgrouprelation|sm_cmd ''<nowiki><get|list|add|modify|remove></nowiki>'' taskgrouprelation]]|| <translate>Create and administer task group relations.</translate>  
  |-
  |-
|[[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#update|sm_cmd ''<nowiki><download|list></nowiki>'' update]]||Monitor and download JAR (<tt>.jar</tt>) updates.   
|[[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#update|sm_cmd ''<nowiki><download|list></nowiki>'' update]]||<translate>Monitor and download JAR (<tt>.jar</tt>) updates.</translate>  
  |-
  |-
|[[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#user|sm_cmd ''<nowiki><get|list|add|modify|remove|reset></nowiki>'' user]]|| Create and administer users.  
|[[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#user|sm_cmd ''<nowiki><get|list|add|modify|remove|reset></nowiki>'' user]]|| <translate>Create and administer users.</translate>
  |-
  |-
|[[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#version|sm_cmd show version]]|| Display SEP sesam Server and Client package version.  
|[[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#version|sm_cmd show version]]|| <translate>Display SEP sesam Server and Client package version.</translate>
  |-
  |-
|[[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#vsphere|sm_cmd ''<nowiki><resetcbt|check|generate|list></nowiki>'' vsphere]]|| Reset CBT, monitor vSphere environment and generate vSphere task group.
|[[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#vsphere|sm_cmd ''<nowiki><resetcbt|check|generate|list></nowiki>'' vsphere]]|| <translate>Reset CBT, monitor vSphere environment and generate vSphere task group.</translate>
  |-
  |-
  |}
  |}


===Configuration and administration commands===
<translate>===Configuration and administration commands===


The following are the commands that allow you to configure and execute the administrator’s tasks for SEP sesam.
The following are the commands that allow you to configure and execute the administrator’s tasks for SEP sesam.</translate>


===={{anchor|account}}(EMAIL) ACCOUNT (account)====
===={{anchor|account}}(EMAIL) ACCOUNT (account)====


;Usage:   
;<translate>Usage:</translate>  
  sm_cmd <get|list|add|modify|remove|send> account [OPTIONS...]  
  sm_cmd <get|list|add|modify|remove|send> account [OPTIONS...]  


;Description: By using [[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#action_commands|action commands]] – <tt>get, list, add, modify, remove</tt> – you can get a single email account, list all email accounts depending on list options (see options listed in main help <tt>sm_cmd help</tt>), create a new email account, modify an existing account, and delete the specified account. Additionally, you can send a message to the given email account and attach multiple local files by using <tt>send mail [OPTIONS...] ID</tt>.
;<translate>Description: By using [[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#action_commands|action commands]] – <tt>get, list, add, modify, remove</tt> – you can get a single email account, list all email accounts depending on list options (see options listed in main help <tt>sm_cmd help</tt>), create a new email account, modify an existing account, and delete the specified account. Additionally, you can send a message to the given email account and attach multiple local files by using <tt>send mail [OPTIONS...] ID</tt>.</translate>


===={{anchor|acl}}ACL ====
===={{anchor|acl}}ACL ====


;Usage:  
;<translate>Usage:</translate>
  sm_cmd <get|list|remove|check> acl [OPTIONS...]  
  sm_cmd <get|list|remove|check> acl [OPTIONS...]  


;Description: By using [[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#action_commands|action commands]] – <tt>get, list, remove</tt> – you can get a single access control list (ACL), list all ACL entries depending on list options (see options listed in main help <tt>sm_cmd help</tt>) or list all ACL entries of a given user and/or object, and delete the specified ACL (ID=all will delete all configured ACLs).
;<translate>Description: By using [[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#action_commands|action commands]] – <tt>get, list, remove</tt> – you can get a single access control list (ACL), list all ACL entries depending on list options (see options listed in main help <tt>sm_cmd help</tt>) or list all ACL entries of a given user and/or object, and delete the specified ACL (ID=all will delete all configured ACLs).</translate>


===={{anchor|backup}}BACKUP====
===={{anchor|backup}}BACKUP====


;Usage:   
;<translate>Usage:</translate>  
  sm_cmd backup  [OPTIONS...]
  sm_cmd backup  [OPTIONS...]


;Description: By using the <tt>backup</tt> command you can start the task or task group backup according to the specified parameters.
;<translate>Description: By using the <tt>backup</tt> command you can start the task or task group backup according to the specified parameters.</translate>


===={{anchor|clear_cache}}CLEAR CACHE====
===={{anchor|clear_cache}}CLEAR CACHE====


;Usage:   
;<translate>Usage:</translate>  
  sm_cmd clear cache [OPTIONS...]
  sm_cmd clear cache [OPTIONS...]
or
<translate>or</translate>
  sm_cmd clear cache -t
  sm_cmd clear cache -t


;Description: By using the <tt>clear cache</tt> command you can clear the entire server cache according to the specified parameters; the  '-t' parameter sets table filter for clear cache.
;<translate>Description: By using the <tt>clear cache</tt> command you can clear the entire server cache according to the specified parameters; the  '-t' parameter sets table filter for clear cache.</translate>


===={{anchor|calendar}}CALENDAR====
===={{anchor|calendar}}CALENDAR====


;Usage:   
;<translate>Usage:</translate>  
  sm_cmd <get|list|add|modify|remove> calendar [OPTIONS...]  
  sm_cmd <get|list|add|modify|remove> calendar [OPTIONS...]  


;Description: By using [[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#action_commands|action commands]] – <tt>get, list, add, modify, remove</tt> – you can get a single calendar, list all calendars depending on list options (see options listed in main help <tt>sm_cmd help</tt>), create a new calendar with an automatically generated ID, modify and delete a calendar; ID can be a character string ID or a numeric ID value.  
;<translate>Description: By using [[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#action_commands|action commands]] – <tt>get, list, add, modify, remove</tt> – you can get a single calendar, list all calendars depending on list options (see options listed in main help <tt>sm_cmd help</tt>), create a new calendar with an automatically generated ID, modify and delete a calendar; ID can be a character string ID or a numeric ID value.</translate>


===={{anchor|calendarevent}}CALENDAR EVENT (calendarevent)====
===={{anchor|calendarevent}}CALENDAR EVENT (calendarevent)====


;Usage:  
;<translate>Usage:</translate>
  sm_cmd <get|list|add|modify|remove> calendarevent [OPTIONS...]  
  sm_cmd <get|list|add|modify|remove> calendarevent [OPTIONS...]  
;Description: By using [[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#action_commands|action commands]] – <tt>get, list, add, modify, remove</tt> – you can get a single calendar event, list all calendar events depending on list options (see options listed in main help <tt>sm_cmd help</tt>), create a new calendar event, modify and delete a calendar event.  
;<translate>Description: By using [[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#action_commands|action commands]] – <tt>get, list, add, modify, remove</tt> – you can get a single calendar event, list all calendar events depending on list options (see options listed in main help <tt>sm_cmd help</tt>), create a new calendar event, modify and delete a calendar event.</translate>


===={{anchor|client}}CLIENT====
===={{anchor|client}}CLIENT====


;Usage:  
;<translate>Usage:</translate>
  sm_cmd <get|list|add|modify|remove|dir> client [OPTIONS...]
  sm_cmd <get|list|add|modify|remove|dir> client [OPTIONS...]


;Description: By using [[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#action_commands|action commands]] – <tt>get, list, add, modify, remove</tt> – you can get a single client, list all clients depending on list options (see options listed in main help <tt>sm_cmd help</tt>), create, modify and delete a client. By using <tt>sm_cmd dir client ID</tt> you can also browse the directory of the client (check ''sm_cmd help dir'' for details).
;<translate>Description: By using [[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#action_commands|action commands]] – <tt>get, list, add, modify, remove</tt> – you can get a single client, list all clients depending on list options (see options listed in main help <tt>sm_cmd help</tt>), create, modify and delete a client. By using <tt>sm_cmd dir client ID</tt> you can also browse the directory of the client (check ''sm_cmd help dir'' for details).</translate>


===={{anchor|command}}COMMAND====
===={{anchor|command}}COMMAND====


;Usage:
;<translate>Usage:</translate>
  sm_cmd <get|list|add|modify|start|remove> command [OPTIONS...]
  sm_cmd <get|list|add|modify|start|remove> command [OPTIONS...]
        
        
;Description: By using [[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#action_commands|action commands]] – <tt>get, list, add, modify, start, remove</tt> – you can get a single command, list all commands depending on list options (see options listed in main help <tt>sm_cmd help</tt>), create, modify and execute a command, as well as delete the specified command.
;<translate>Description: By using [[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#action_commands|action commands]] – <tt>get, list, add, modify, start, remove</tt> – you can get a single command, list all commands depending on list options (see options listed in main help <tt>sm_cmd help</tt>), create, modify and execute a command, as well as delete the specified command.</translate>


===={{anchor|commandevent}}COMMAND EVENT (commandevent)====
===={{anchor|commandevent}}COMMAND EVENT (commandevent)====


;Usage:
;<translate>Usage:</translate>
  sm_cmd <get|list|add|modify|remove> commandevent [OPTIONS...]
  sm_cmd <get|list|add|modify|remove> commandevent [OPTIONS...]


;Description: By using [[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#action_commands|action commands]] – <tt>get, list, add, modify, remove</tt> – you can get a single command event, list all events depending on list options (see options listed in main help <tt>sm_cmd help</tt>), create a new command event with an automatically generated ID, modify and remove a command event.
;<translate>Description: By using [[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#action_commands|action commands]] – <tt>get, list, add, modify, remove</tt> – you can get a single command event, list all events depending on list options (see options listed in main help <tt>sm_cmd help</tt>), create a new command event with an automatically generated ID, modify and remove a command event.</translate>


===={{anchor|credential}}CREDENTIAL====
===={{anchor|credential}}CREDENTIAL====


;Usage:
;<translate>Usage:</translate>
  sm_cmd <get|list|add|modify|enable|disable|link|unlink|remove> credential [OPTIONS...]
  sm_cmd <get|list|add|modify|enable|disable|link|unlink|remove> credential [OPTIONS...]


;Description: By using [[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#action_commands|action commands]] – <tt>get, list, add, modify, remove</tt> – you can get an existing credential set (by ID or name), list all credential sets depending on list options (see options listed in main help <tt>sm_cmd help</tt>), add a new credential set, modify and delete an existing credential set (only if there are no more references). Additionally, you can link/unlink a credential set to/from a SEP sesam object, i.e., a data store. Specifically for LDAP or AD credential sets, you can enable or disable a credential set (by ID or name).
;<translate>Description: By using [[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#action_commands|action commands]] – <tt>get, list, add, modify, remove</tt> – you can get an existing credential set (by ID or name), list all credential sets depending on list options (see options listed in main help <tt>sm_cmd help</tt>), add a new credential set, modify and delete an existing credential set (only if there are no more references). Additionally, you can link/unlink a credential set to/from a SEP sesam object, i.e., a data store. Specifically for LDAP or AD credential sets, you can enable or disable a credential set (by ID or name).</translate>


===={{anchor|datastore}}DATA STORE (datastore)====
===={{anchor|datastore}}DATA STORE (datastore)====


;Usage:
;<translate>Usage:</translate>
  sm_cmd <get|list|add|modify|remove> datastore [OPTIONS...]
  sm_cmd <get|list|add|modify|remove> datastore [OPTIONS...]


;Description: By using [[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#action_commands|action commands]] – <tt>get, list, add, modify, remove</tt> – you can get a single data store, list all data stores depending on list options (see options listed in main help <tt>sm_cmd help</tt>), create and modify a data store, and remove a data store with all dependencies.
;<translate>Description: By using [[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#action_commands|action commands]] – <tt>get, list, add, modify, remove</tt> – you can get a single data store, list all data stores depending on list options (see options listed in main help <tt>sm_cmd help</tt>), create and modify a data store, and remove a data store with all dependencies.</translate>


===={{anchor|default}}DEFAULT KEY (default)====
===={{anchor|default}}DEFAULT KEY (default)====


;Usage:
;<translate>Usage:</translate>
  sm_cmd <get|list|add|modify|remove> default [OPTIONS...]
  sm_cmd <get|list|add|modify|remove> default [OPTIONS...]


;Description: By using [[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#action_commands|action commands]] – <tt>get, list, add, modify, remove</tt> – you can get the value of the default key, list all default keys (see options listed in main help <tt>sm_cmd help</tt>), add a new default key and its value, modify the value of the default key, and delete the specified default key.
;<translate>Description: By using [[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#action_commands|action commands]] – <tt>get, list, add, modify, remove</tt> – you can get the value of the default key, list all default keys (see options listed in main help <tt>sm_cmd help</tt>), add a new default key and its value, modify the value of the default key, and delete the specified default key.</translate>


===={{anchor|drive}}DRIVE====
===={{anchor|drive}}DRIVE====


;Usage:
;<translate>Usage:</translate>
  sm_cmd <get|list|add|modify|remove|start|mount|dismount|unload> drive [OPTIONS...]
  sm_cmd <get|list|add|modify|remove|start|mount|dismount|unload> drive [OPTIONS...]


;Description: By using [[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#action_commands|action commands]] – <tt>get, list, add, modify, remove</tt> – you can get a single drive, list all drives (see options listed in main help <tt>sm_cmd help</tt>), create a new drive with an automatically generated ID, modify and delete a drive. By using <tt>sm_cmd start drive ID</tt> you can configure the specified drive. Additionally, you can mount and dismount a drive by using <tt>sm_cmd <mount|dismount> drive ID</tt> and eject the tape in the drive with <tt>sm_cmd unload drive ID</tt>.
;<translate>Description: By using [[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#action_commands|action commands]] – <tt>get, list, add, modify, remove</tt> – you can get a single drive, list all drives (see options listed in main help <tt>sm_cmd help</tt>), create a new drive with an automatically generated ID, modify and delete a drive. By using <tt>sm_cmd start drive ID</tt> you can configure the specified drive. Additionally, you can mount and dismount a drive by using <tt>sm_cmd <mount|dismount> drive ID</tt> and eject the tape in the drive with <tt>sm_cmd unload drive ID</tt>.</translate>


===={{anchor|drivegroup}}DRIVE GROUP (drivegroup)====
===={{anchor|drivegroup}}DRIVE GROUP (drivegroup)====


;Usage:
;<translate>Usage:</translate>
  sm_cmd <get|list|add|modify|remove> drivegroup [OPTIONS...]
  sm_cmd <get|list|add|modify|remove> drivegroup [OPTIONS...]


;Description: By using [[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#action_commands|action commands]] – <tt>get, list, add, modify, remove</tt> – you can get a single drive group, list all drive groups (see options listed in main help <tt>sm_cmd help</tt>), create a new drive group, modify and delete a drive group.
;<translate>Description: By using [[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#action_commands|action commands]] – <tt>get, list, add, modify, remove</tt> – you can get a single drive group, list all drive groups (see options listed in main help <tt>sm_cmd help</tt>), create a new drive group, modify and delete a drive group.</translate>


===={{anchor|group}}(USER) GROUP (group)====
===={{anchor|group}}(USER) GROUP (group)====


;Usage:
;<translate>Usage:</translate>
  sm_cmd <get|list|add|modify|remove> group [OPTIONS...]
  sm_cmd <get|list|add|modify|remove> group [OPTIONS...]


;Description: By using [[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#action_commands|action commands]] – <tt>get, list, add, modify, remove</tt> – you can get a single user group, list all user groups (see options listed in main help <tt>sm_cmd help</tt>), create a new user group, modify and delete a user group.
;<translate>Description: By using [[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#action_commands|action commands]] – <tt>get, list, add, modify, remove</tt> – you can get a single user group, list all user groups (see options listed in main help <tt>sm_cmd help</tt>), create a new user group, modify and delete a user group.</translate>


===={{anchor|interface}}INTERFACE====
===={{anchor|interface}}INTERFACE====


;Usage:
;<translate>Usage:</translate>
  sm_cmd <get|list|add|remove> interface [OPTIONS...]
  sm_cmd <get|list|add|remove> interface [OPTIONS...]


;Description: By using [[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#action_commands|action commands]] – <tt>get, list, add, remove</tt> – you can get a single interface, list all interfaces (see options listed in main help <tt>sm_cmd help</tt>), create a new interface, and delete the specified interface.
;<translate>Description: By using [[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#action_commands|action commands]] – <tt>get, list, add, remove</tt> – you can get a single interface, list all interfaces (see options listed in main help <tt>sm_cmd help</tt>), create a new interface, and delete the specified interface.</translate>


===={{anchor|start_inventory}}INVENTORY (start inventory)====
===={{anchor|start_inventory}}INVENTORY (start inventory)====


;Usage:
;<translate>Usage:</translate>
  sm_cmd start inventory [OPTIONS...]
  sm_cmd start inventory [OPTIONS...]


;Description: By using the <tt>start inventory</tt> command you can start archive adjustment to make a comparison between media in the loader (tape library) and the SEP sesam media archive database, and perform a database synchronization with the selected loader.
;<translate>Description: By using the <tt>start inventory</tt> command you can start archive adjustment to make a comparison between media in the loader (tape library) and the SEP sesam media archive database, and perform a database synchronization with the selected loader.</translate>


===={{anchor|license}}LICENSE====
===={{anchor|license}}LICENSE====


;Usage:
;<translate>Usage:</translate>
  sm_cmd <show|update|report> license [OPTIONS...]
  sm_cmd <show|update|report> license [OPTIONS...]


;Description: By using <tt>update</tt>, <tt>show</tt> and <tt>report</tt> commands you can check your license and generate a report, as well as update your current license.
;<translate>Description: By using <tt>update</tt>, <tt>show</tt> and <tt>report</tt> commands you can check your license and generate a report, as well as update your current license.</translate>


===={{anchor|loader}}LOADER====
===={{anchor|loader}}LOADER====


;Usage:
;<translate>Usage:</translate>
  sm_cmd <get|list|add|modify|remove|load|unload|import|export> loader [OPTIONS...]
  sm_cmd <get|list|add|modify|remove|load|unload|import|export> loader [OPTIONS...]


;Description: By using [[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#action_commands|action commands]] – <tt>get, list, add, modify, remove</tt> – you can get a single loader, list all loaders (see options listed in main help <tt>sm_cmd help</tt>), create a new loader, modify and delete the loader. By using <tt>sm_cmd load loader [OPTIONS...]</tt> you can move the tape cartridge from the specified magazine slot into the specified drive and initiate the opposite operation by using <tt>sm_cmd unload loader [OPTIONS...]</tt>. You can also import the tape cartridge into the magazine and export it by using <tt>sm_cmd <import|export> loader [OPTIONS...]</tt>.  
;<translate>Description: By using [[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#action_commands|action commands]] – <tt>get, list, add, modify, remove</tt> – you can get a single loader, list all loaders (see options listed in main help <tt>sm_cmd help</tt>), create a new loader, modify and delete the loader. By using <tt>sm_cmd load loader [OPTIONS...]</tt> you can move the tape cartridge from the specified magazine slot into the specified drive and initiate the opposite operation by using <tt>sm_cmd unload loader [OPTIONS...]</tt>. You can also import the tape cartridge into the magazine and export it by using <tt>sm_cmd <import|export> loader [OPTIONS...]</tt>.</translate>


===={{anchor|loaderdevice}}LOADER DEVICE (loaderdevice)====
===={{anchor|loaderdevice}}LOADER DEVICE (loaderdevice)====


;Usage:
;<translate>Usage:</translate>
  sm_cmd <get|list|add|modify|remove> loaderdevice [OPTIONS...]
  sm_cmd <get|list|add|modify|remove> loaderdevice [OPTIONS...]


;Description: By using [[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#action_commands|action commands]] – <tt>get, list, add, modify, remove</tt> – you can get a single loader device, list all loader devices (see options listed in main help <tt>sm_cmd help</tt>) and create a new loader device for the existing loader by specifying its ID and the slot. You can also modify or delete an existing loader.  
;<translate>Description: By using [[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#action_commands|action commands]] – <tt>get, list, add, modify, remove</tt> – you can get a single loader device, list all loader devices (see options listed in main help <tt>sm_cmd help</tt>) and create a new loader device for the existing loader by specifying its ID and the slot. You can also modify or delete an existing loader.</translate>


===={{anchor|location}}LOCATION====
===={{anchor|location}}LOCATION====


;Usage:
;<translate>Usage:</translate>
  sm_cmd <get|list|add|modify|remove> location [OPTIONS...]
  sm_cmd <get|list|add|modify|remove> location [OPTIONS...]


;Description: By using [[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#action_commands|action commands]] – <tt>get, list, add, modify, remove</tt> – you can get a single location (an ID can be a character string or a numeric ID value), list all locations (see options listed in main help <tt>sm_cmd help</tt>), create a new location with an automatically generated ID, modify and delete a location.
;<translate>Description: By using [[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#action_commands|action commands]] – <tt>get, list, add, modify, remove</tt> – you can get a single location (an ID can be a character string or a numeric ID value), list all locations (see options listed in main help <tt>sm_cmd help</tt>), create a new location with an automatically generated ID, modify and delete a location.</translate>


===={{anchor|media}}MEDIA====
===={{anchor|media}}MEDIA====


;Usage:
;<translate>Usage:</translate>
  sm_cmd <get|list|add|modify|remove> media [OPTIONS...]
  sm_cmd <get|list|add|modify|remove> media [OPTIONS...]


;Description: By using [[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#action_commands|action commands]] – <tt>get, list, add, modify, remove</tt> – you can get a single medium, list all media (see options listed in main help <tt>sm_cmd help</tt>), add a new medium to the media archive (the media label is set automatically), modify a medium, and remove the data set of the specified media from the archive (only possible if the drive/EOL is not active).
;<translate>Description: By using [[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#action_commands|action commands]] – <tt>get, list, add, modify, remove</tt> – you can get a single medium, list all media (see options listed in main help <tt>sm_cmd help</tt>), add a new medium to the media archive (the media label is set automatically), modify a medium, and remove the data set of the specified media from the archive (only possible if the drive/EOL is not active).</translate>


===={{anchor|mediapool}}MEDIA POOL (mediapool)====
===={{anchor|mediapool}}MEDIA POOL (mediapool)====


;Usage:
;<translate>Usage:</translate>
  sm_cmd <get|list|add|modify|remove> mediapool [OPTIONS...]
  sm_cmd <get|list|add|modify|remove> mediapool [OPTIONS...]


;Description: By using [[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#action_commands|action commands]] – <tt>get, list, add, modify, remove</tt> – you can get a single media pool, list all media pools (see options listed in main help <tt>sm_cmd help</tt>), create a new media pool, modify and delete an existing media pool.
;<translate>Description: By using [[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#action_commands|action commands]] – <tt>get, list, add, modify, remove</tt> – you can get a single media pool, list all media pools (see options listed in main help <tt>sm_cmd help</tt>), create a new media pool, modify and delete an existing media pool.</translate>


===={{anchor|mediapoolevent}}MEDIA POOL EVENT (mediapoolevent)====
===={{anchor|mediapoolevent}}MEDIA POOL EVENT (mediapoolevent)====


;Usage:
;<translate>Usage:</translate>
  sm_cmd <get|list|add|modify|start|init|remove> mediapoolevent [OPTIONS...]
  sm_cmd <get|list|add|modify|start|init|remove> mediapoolevent [OPTIONS...]


;Description: By using [[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#action_commands|action commands]] – <tt>get, list, add, modify, remove</tt> – you can get a single media pool event, list all media events (see options listed in main help <tt>sm_cmd help</tt>), create and modify a media event, and delete the specified media pool event(s). You can also start a media pool event by using <tt>sm_cmd start mediapoolevent [OBJECT OPTIONS...]</tt> and initialize a media pool with <tt>sm_cmd init mediapoolevent [OBJECT OPTIONS...]</tt>.
;<translate>Description: By using [[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#action_commands|action commands]] – <tt>get, list, add, modify, remove</tt> – you can get a single media pool event, list all media events (see options listed in main help <tt>sm_cmd help</tt>), create and modify a media event, and delete the specified media pool event(s). You can also start a media pool event by using <tt>sm_cmd start mediapoolevent [OBJECT OPTIONS...]</tt> and initialize a media pool with <tt>sm_cmd init mediapoolevent [OBJECT OPTIONS...]</tt>.</translate>


===={{anchor|migrate}}MIGRATE====
===={{anchor|migrate}}MIGRATE====


;Usage:
;<translate>Usage:</translate>
  sm_cmd migrate  [OPTIONS...]
  sm_cmd migrate  [OPTIONS...]


;Description: By using the <tt>migrate</tt> command you can start migration immediately.
;<translate>Description: By using the <tt>migrate</tt> command you can start migration immediately.</translate>


===={{anchor|migration}}MIGRATION====
===={{anchor|migration}}MIGRATION====


;Usage:
;<translate>Usage:</translate>
  sm_cmd <get|list|add|modify|remove|start> migration [OPTIONS...]
  sm_cmd <get|list|add|modify|remove|start> migration [OPTIONS...]


;Description: By using [[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#action_commands|action commands]] – <tt>get, list, add, modify, remove</tt> – you can get a single migration event, list all migration events (see options listed in main help <tt>sm_cmd help</tt>), create (with an automatically generated ID) and modify a migration event, and remove the migration event(s). By using <tt>sm_cmd start migration [OBJECT OPTIONS...]</tt> you can immediately start the specified migration process.  
;<translate>Description: By using [[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#action_commands|action commands]] – <tt>get, list, add, modify, remove</tt> – you can get a single migration event, list all migration events (see options listed in main help <tt>sm_cmd help</tt>), create (with an automatically generated ID) and modify a migration event, and remove the migration event(s). By using <tt>sm_cmd start migration [OBJECT OPTIONS...]</tt> you can immediately start the specified migration process.</translate>


===={{anchor|migrationtask}}MIGRATION TASK (migrationtask)====
===={{anchor|migrationtask}}MIGRATION TASK (migrationtask)====


;Usage:
;<translate>Usage:</translate>
  sm_cmd <get|list|add|modify|remove> migrationtask [OPTIONS...]
  sm_cmd <get|list|add|modify|remove> migrationtask [OPTIONS...]


;Description: By using [[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#action_commands|action commands]] – <tt>get, list, add, modify, remove</tt> – you can get a single migration task, list all migration tasks (see options listed in main help <tt>sm_cmd help</tt>), create a new migration task, modify and delete an existing migration task.
;<translate>Description: By using [[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#action_commands|action commands]] – <tt>get, list, add, modify, remove</tt> – you can get a single migration task, list all migration tasks (see options listed in main help <tt>sm_cmd help</tt>), create a new migration task, modify and delete an existing migration task.</translate>


===={{anchor|newdayevent}}NEWDAY EVENT (newdayevent)====
===={{anchor|newdayevent}}NEWDAY EVENT (newdayevent)====


;Usage:
;<translate>Usage:</translate>
  sm_cmd <get|list|add|modify|start|remove> newdayevent [OPTIONS...]
  sm_cmd <get|list|add|modify|start|remove> newdayevent [OPTIONS...]


;Description: By using [[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#action_commands|action commands]] – <tt>get, list, add, modify, remove</tt> – you can get a single NEWDAY event, list all NEWDAY events (see options listed in main help <tt>sm_cmd help</tt>), create a new NEWDAY event (with an automatically generated ID), modify and delete a NEWDAY event. You can also immediately start a NEWDAY event by using <tt>sm_cmd start newdayevent [OBJECT OPTIONS...]</tt>.  
;<translate>Description: By using [[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#action_commands|action commands]] – <tt>get, list, add, modify, remove</tt> – you can get a single NEWDAY event, list all NEWDAY events (see options listed in main help <tt>sm_cmd help</tt>), create a new NEWDAY event (with an automatically generated ID), modify and delete a NEWDAY event. You can also immediately start a NEWDAY event by using <tt>sm_cmd start newdayevent [OBJECT OPTIONS...]</tt>.</translate>


===={{anchor|notification}}NOTIFICATION====
===={{anchor|notification}}NOTIFICATION====


;Usage:
;<translate>Usage:</translate>
  sm_cmd <get|list|add|modify> notification [OPTIONS...]
  sm_cmd <get|list|add|modify> notification [OPTIONS...]


;Description: By using [[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#action_commands|action commands]] – <tt>get, list, add, modify</tt> – you can get the specified notification, list all notifications (see options listed in main help <tt>sm_cmd help</tt>), create a new notification, and modify a single notification or all notifications for one object. Notification module options are: <tt>[LICENSE|LICENSE_EULA|LICENSE_INFO|LICENSE_VIOLATION|CBT_INFO|CLI_INFO|RSS_INFO|EMAIL_INFO|EXCHANGEDOTNET_INFO|MOSS_INFO|KERNEL]</tt>
;<translate>Description: By using [[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#action_commands|action commands]] – <tt>get, list, add, modify</tt> – you can get the specified notification, list all notifications (see options listed in main help <tt>sm_cmd help</tt>), create a new notification, and modify a single notification or all notifications for one object. Notification module options are:</translate> <tt>[LICENSE|LICENSE_EULA|LICENSE_INFO|LICENSE_VIOLATION|CBT_INFO|CLI_INFO|RSS_INFO|EMAIL_INFO|EXCHANGEDOTNET_INFO|MOSS_INFO|KERNEL]</tt>


===={{anchor|render}}RENDER====
===={{anchor|render}}RENDER====


;Usage:
;<translate>Usage:</translate>
  sm_cmd render  [OPTIONS...]
  sm_cmd render  [OPTIONS...]


;Description: By using the <tt>render</tt> command you can render a template with the specified input data i.e. to generate a report.
;<translate>Description: By using the <tt>render</tt> command you can render a template with the specified input data i.e. to generate a report.</translate>


===={{anchor|list_restart}}RESTART BACKUPS/MIGRATIONS (<list|restart>)====
===={{anchor|list_restart}}RESTART BACKUPS/MIGRATIONS (<list|restart>)====


;Usage:
;<translate>Usage:</translate>
  sm_cmd <list|restart>  [OPTIONS...]
  sm_cmd <list|restart>  [OPTIONS...]


;Description: By using the <tt>list restart</tt> command you can list all results where the backups/migrations can be restarted and then restart the selected backup/migration.
;<translate>Description: By using the <tt>list restart</tt> command you can list all results where the backups/migrations can be restarted and then restart the selected backup/migration.</translate>


===={{anchor|restoreevent}}RESTORE EVENT (restoreevent)====
===={{anchor|restoreevent}}RESTORE EVENT (restoreevent)====


;Usage:
;<translate>Usage:</translate>
  sm_cmd <get|list|add|modify|restore|start|remove> restoreevent [OPTIONS...]
  sm_cmd <get|list|add|modify|restore|start|remove> restoreevent [OPTIONS...]


;Description: By using [[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#action_commands|action commands]] – <tt>get, list, add, modify, remove</tt> – you can get a single restore event, list all restore events (see options listed in main help <tt>sm_cmd help</tt>), create (with an automatically generated ID) and modify a restore event, and remove the selected restore event(s). By using <tt>sm_cmd restore restoreevent [OPTIONS...]</tt> you can add and start a restore job. Use <tt>sm_cmd start restoreevent [OBJECT OPTIONS...]</tt> to immediately start the selected restore job.
;<translate>Description: By using [[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#action_commands|action commands]] – <tt>get, list, add, modify, remove</tt> – you can get a single restore event, list all restore events (see options listed in main help <tt>sm_cmd help</tt>), create (with an automatically generated ID) and modify a restore event, and remove the selected restore event(s). By using <tt>sm_cmd restore restoreevent [OPTIONS...]</tt> you can add and start a restore job. Use <tt>sm_cmd start restoreevent [OBJECT OPTIONS...]</tt> to immediately start the selected restore job.</translate>


===={{anchor|restoretask}}RESTORE TASK (restoretask)====
===={{anchor|restoretask}}RESTORE TASK (restoretask)====


;Usage:
;<translate>Usage:</translate>
  sm_cmd <get|list|add|modify|start|remove> restoretask [OPTIONS...]
  sm_cmd <get|list|add|modify|start|remove> restoretask [OPTIONS...]


;Description: By using [[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#action_commands|action commands]] – <tt>get, list, add, modify, remove</tt> – you can get a single restore task, list all restore tasks (see options listed in main help <tt>sm_cmd help</tt>), modify and delete a restore task. By using <tt>sm_cmd add restoretask [OBJECT OPTIONS...]</tt> you can create a new restore task. Use <tt>sm_cmd start restoretask [OBJECT OPTIONS...]</tt> to immediately start the restore defined by the specified restore task.
;<translate>Description: By using [[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#action_commands|action commands]] – <tt>get, list, add, modify, remove</tt> – you can get a single restore task, list all restore tasks (see options listed in main help <tt>sm_cmd help</tt>), modify and delete a restore task. By using <tt>sm_cmd add restoretask [OBJECT OPTIONS...]</tt> you can create a new restore task. Use <tt>sm_cmd start restoretask [OBJECT OPTIONS...]</tt> to immediately start the restore defined by the specified restore task.</translate>


===={{anchor|schedule}}SCHEDULE====
===={{anchor|schedule}}SCHEDULE====


;Usage:
;<translate>Usage:</translate>
  sm_cmd <get|list|add|modify|rename|remove|start> schedule [OPTIONS...]
  sm_cmd <get|list|add|modify|rename|remove|start> schedule [OPTIONS...]


;Description: By using [[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#action_commands|action commands]] – <tt>get, list, add, modify, remove</tt> – you can get a single schedule, list all schedules (see options listed in main help <tt>sm_cmd help</tt>), create, modify and delete a schedule. By using <tt>sm_cmd rename schedule [OBJECT OPTIONS...] ID</tt> you can rename an existing schedule. Use <tt>sm_cmd start schedule [OBJECT OPTIONS...] ID</tt> to immediately start all events of the specified schedule.
;<translate>Description: By using [[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#action_commands|action commands]] – <tt>get, list, add, modify, remove</tt> – you can get a single schedule, list all schedules (see options listed in main help <tt>sm_cmd help</tt>), create, modify and delete a schedule. By using <tt>sm_cmd rename schedule [OBJECT OPTIONS...] ID</tt> you can rename an existing schedule. Use <tt>sm_cmd start schedule [OBJECT OPTIONS...] ID</tt> to immediately start all events of the specified schedule.</translate>


===={{anchor|start}}START====
===={{anchor|start}}START====


;Usage:
;<translate>Usage:</translate>
  sm_cmd  start <task|restore|migration|command> [OPTIONS...]
  sm_cmd  start <task|restore|migration|command> [OPTIONS...]


;Description:
;<translate>Description:
By using the <tt>start</tt> command you can start the specified event, such as backup, restore, migration, and command event.
By using the <tt>start</tt> command you can start the specified event, such as backup, restore, migration, and command event.</translate>


===={{anchor|task}}TASK====
===={{anchor|task}}TASK====


;Usage:
;<translate>Usage:</translate>
  sm_cmd <get|list|add|modify|start|remove> task [OPTIONS...]
  sm_cmd <get|list|add|modify|start|remove> task [OPTIONS...]


;Description: By using [[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#action_commands|action commands]] – <tt>get, list, add, modify, remove</tt> – you can get a single backup task, list all backup tasks (see options listed in main help <tt>sm_cmd help</tt>), create a new task, modify and delete a task. By using <tt>sm_cmd start task [OPTIONS...]</tt> you can immediately start the selected backup task or all tasks of the selected task group.
;<translate>Description: By using [[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#action_commands|action commands]] – <tt>get, list, add, modify, remove</tt> – you can get a single backup task, list all backup tasks (see options listed in main help <tt>sm_cmd help</tt>), create a new task, modify and delete a task. By using <tt>sm_cmd start task [OPTIONS...]</tt> you can immediately start the selected backup task or all tasks of the selected task group.</translate>


===={{anchor|taskevent}}TASK EVENT (taskevent)====
===={{anchor|taskevent}}TASK EVENT (taskevent)====


;Usage:
;<translate>Usage:</translate>
  sm_cmd <get|list|add|modify|backup|remove|restart> taskevent [OPTIONS...]
  sm_cmd <get|list|add|modify|backup|remove|restart> taskevent [OPTIONS...]


;Description: By using [[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#action_commands|action commands]] – <tt>get, list, add, modify, remove</tt> – you can get a single task event, list all task events (see options listed in main help <tt>sm_cmd help</tt>), create (with an automatically generated ID) and modify a task event, and delete the specified task event(s). By using <tt>sm_cmd restart taskevent [OPTIONS...]</tt> you can immediately restart backup/migration according to the specified savesets or [[Special:MyLanguage/SEP_sesam_Glossary#backup_day|sesam day]]. In the latter case, only failed backups will be restarted.
;<translate>Description: By using [[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#action_commands|action commands]] – <tt>get, list, add, modify, remove</tt> – you can get a single task event, list all task events (see options listed in main help <tt>sm_cmd help</tt>), create (with an automatically generated ID) and modify a task event, and delete the specified task event(s). By using <tt>sm_cmd restart taskevent [OPTIONS...]</tt> you can immediately restart backup/migration according to the specified savesets or [[Special:MyLanguage/SEP_sesam_Glossary#backup_day|sesam day]]. In the latter case, only failed backups will be restarted.</translate>


===={{anchor|taskgen}}(GENERATE) TASKS (taskgen)====
===={{anchor|taskgen}}(GENERATE) TASKS (taskgen)====


;Usage:
;<translate>Usage:</translate>
  sm_cmd add taskgen [OPTIONS...]
  sm_cmd add taskgen [OPTIONS...]


;Description: By using the <tt>add taskgen</tt> command you can generate tasks of the specified task type. This is mainly used for the generation of VM backup tasks. For Details, see [[Special:MyLanguage/Automating_Backup_of_Virtual_Machines#Generating_VM_tasks|Generating VM tasks]].
;<translate>Description: By using the <tt>add taskgen</tt> command you can generate tasks of the specified task type. This is mainly used for the generation of VM backup tasks. For Details, see [[Special:MyLanguage/Automating_Backup_of_Virtual_Machines#Generating_VM_tasks|Generating VM tasks]].</translate>


===={{anchor|taskgroup}}TASK GROUP (taskgroup)====
===={{anchor|taskgroup}}TASK GROUP (taskgroup)====


;Usage:
;<translate>Usage:</translate>
  sm_cmd <get|list|add|modify|start|remove> taskgroup [OPTIONS...]
  sm_cmd <get|list|add|modify|start|remove> taskgroup [OPTIONS...]


;Description: By using [[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#action_commands|action commands]] – <tt>get, list, add, modify, remove</tt> – you can get a single task group, list all task groups (see options listed in main help <tt>sm_cmd help</tt>), create and modify a task group, and remove the specified task group with all relations to the tasks. By using <tt>sm_cmd start taskgroup [OPTIONS...]</tt> you can immediately start all backup tasks of the specified task group.  
;<translate>Description: By using [[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#action_commands|action commands]] – <tt>get, list, add, modify, remove</tt> – you can get a single task group, list all task groups (see options listed in main help <tt>sm_cmd help</tt>), create and modify a task group, and remove the specified task group with all relations to the tasks. By using <tt>sm_cmd start taskgroup [OPTIONS...]</tt> you can immediately start all backup tasks of the specified task group.</translate>


===={{anchor|taskgrouprelation}}TASK GROUP RELATIONS (taskgrouprelation)====
===={{anchor|taskgrouprelation}}TASK GROUP RELATIONS (taskgrouprelation)====


;Usage:
;<translate>Usage:</translate>
  sm_cmd <get|list|add|modify|remove> taskgrouprelation [OPTIONS...]
  sm_cmd <get|list|add|modify|remove> taskgrouprelation [OPTIONS...]


;Description: By using [[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#action_commands|action commands]] – <tt>get, list, add, modify, remove</tt> – you can get task group relations for the specified task group (see options listed in main help <tt>sm_cmd help</tt>), list all task group relations, create a new task group relation, modify an existing task group relation, and delete the specified task group relation. Use <tt>-j</tt> for task names separated by commas and <tt>-n</tt> for specifying the tasks start order <tt><[0-9]></tt>. Additionally, you can remove all tasks from a task group by using <tt>-A [0|1]</tt>.
;<translate>Description: By using [[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#action_commands|action commands]] – <tt>get, list, add, modify, remove</tt> – you can get task group relations for the specified task group (see options listed in main help <tt>sm_cmd help</tt>), list all task group relations, create a new task group relation, modify an existing task group relation, and delete the specified task group relation. Use <tt>-j</tt> for task names separated by commas and <tt>-n</tt> for specifying the tasks start order <tt><[0-9]></tt>. Additionally, you can remove all tasks from a task group by using <tt>-A [0|1]</tt>.</translate>


===={{anchor|update}}UPDATE JAR====
===={{anchor|update}}UPDATE JAR====


;Usage:
;<translate>Usage:</translate>
  sm_cmd <download|list> update [OPTIONS...]
  sm_cmd <download|list> update [OPTIONS...]


;Description: By using the <tt>download/list update</tt> command you can list available JAR (.jar) updates and download the selected JAR update(s) from the server.
;<translate>Description: By using the <tt>download/list update</tt> command you can list available JAR (.jar) updates and download the selected JAR update(s) from the server.</translate>


===={{anchor|user}}USER====
===={{anchor|user}}USER====


;Usage:
;<translate>Usage:</translate>
  sm_cmd <get|list|add|modify|remove|reset> user [OPTIONS...]
  sm_cmd <get|list|add|modify|remove|reset> user [OPTIONS...]


;Description: By using [[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#action_commands|action commands]] – <tt>get, list, add, modify, remove</tt> – you can get a single user, list all users (see options listed in main help <tt>sm_cmd help</tt>), create, modify and delete a user. By using <tt>sm_cmd reset user ID</tt> you can reset a password of the specified user (you have to be logged in to SEP sesam Server console).
;<translate>Description: By using [[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#action_commands|action commands]] – <tt>get, list, add, modify, remove</tt> – you can get a single user, list all users (see options listed in main help <tt>sm_cmd help</tt>), create, modify and delete a user. By using <tt>sm_cmd reset user ID</tt> you can reset a password of the specified user (you have to be logged in to SEP sesam Server console).</translate>


===={{anchor|vsphere}}vSPHERE====
===={{anchor|vsphere}}vSPHERE====


;Usage:
;<translate>Usage:</translate>
  sm_cmd <resetcbt|check|generate|list> vsphere [OPTIONS...]
  sm_cmd <resetcbt|check|generate|list> vsphere [OPTIONS...]


;Description: By using <tt>sm_cmd resetcbt vsphere [OPTIONS...]</tt> you can reset CBT by specifying the task name <tt>-j [ID]</tt> or directly via VM name and vSphere server input. To check the connection to vSphere server, use <tt>sm_cmd check vsphere [OPTIONS...]</tt>. To generate the vSphere tasks for the specified VMs, use <tt>sm_cmd generate vsphere [OPTIONS...]</tt>. For Details, see [[Special:MyLanguage/Automating_Backup_of_Virtual_Machines#Generating_VM_tasks|Generating VM tasks]]. By using the list command you can list license information or use <tt>list vsphere -V <VM> -c <VM server> -m snapshot</tt> to list VM snapshots.
;<translate>Description: By using <tt>sm_cmd resetcbt vsphere [OPTIONS...]</tt> you can reset CBT by specifying the task name <tt>-j [ID]</tt> or directly via VM name and vSphere server input. To check the connection to vSphere server, use <tt>sm_cmd check vsphere [OPTIONS...]</tt>. To generate the vSphere tasks for the specified VMs, use <tt>sm_cmd generate vsphere [OPTIONS...]</tt>. For Details, see [[Special:MyLanguage/Automating_Backup_of_Virtual_Machines#Generating_VM_tasks|Generating VM tasks]]. By using the list command you can list license information or use <tt>list vsphere -V <VM> -c <VM server> -m snapshot</tt> to list VM snapshots.
    
    
===Monitoring commands===
===Monitoring commands===
The following are the commands that display information about SEP sesam environment.
 
The following are the commands that display information about SEP sesam environment.</translate>


===={{anchor|allevent}}ALL EVENTS (allevent)====
===={{anchor|allevent}}ALL EVENTS (allevent)====
;Usage:   
;<translate>Usage:</translate>  
  sm_cmd list allevent [OPTIONS...]
  sm_cmd list allevent [OPTIONS...]
OR   
<translate>OR</translate>  
  sm_cmd list [LIST OPTIONS] allevent [FILTER OPTIONS...]
  sm_cmd list [LIST OPTIONS] allevent [FILTER OPTIONS...]
   
   
;Description: By using the <tt>list allevent</tt> command you can list all events or list all events depending on list options (see options listed in main help <tt>sm_cmd help</tt>) in a table format.
;<translate>Description: By using the <tt>list allevent</tt> command you can list all events or list all events depending on list options (see options listed in main help <tt>sm_cmd help</tt>) in a table format.</translate>


===={{anchor|allresult}}ALL RESULTS (allresult)====
===={{anchor|allresult}}ALL RESULTS (allresult)====
;Usage:
;<translate>Usage:</translate>
  sm_cmd list allresult [OPTIONS...]
  sm_cmd list allresult [OPTIONS...]
OR
<translate>OR</translate>
  sm_cmd list [LIST OPTIONS] allresult [FILTER OPTIONS...]
  sm_cmd list [LIST OPTIONS] allresult [FILTER OPTIONS...]


;Description: By using the <tt>list allresult</tt> command you can list all results or list all results depending on list options (see options listed in main help <tt>sm_cmd help</tt>).
;<translate>Description: By using the <tt>list allresult</tt> command you can list all results or list all results depending on list options (see options listed in main help <tt>sm_cmd help</tt>).</translate>


===={{anchor|calendarsheet}}CALENDAR SHEET (calendarsheet)====
===={{anchor|calendarsheet}}CALENDAR SHEET (calendarsheet)====
;Usage:  
;<translate>Usage:</translate>
  sm_cmd <download|show> calendarsheet [OPTIONS...]
  sm_cmd <download|show> calendarsheet [OPTIONS...]


;Description: By using the <tt><download|show> calendarsheet</tt> command you can download or display the calendar information for the specified time frame.
;<translate>Description: By using the <tt><download|show> calendarsheet</tt> command you can download or display the calendar information for the specified time frame.</translate>


===={{anchor|current}}CURRENT DRIVE (current)====
===={{anchor|current}}CURRENT DRIVE (current)====


;Usage:
;<translate>Usage:</translate>
  sm_cmd <download|show> current [OPTIONS...]
  sm_cmd <download|show> current [OPTIONS...]


;Description: By using the <tt><download|show> current</tt> command you can download or display the current drive information from the server.
;<translate>Description: By using the <tt><download|show> current</tt> command you can download or display the current drive information from the server.</translate>


===={{anchor|dir}}DIR====
===={{anchor|dir}}DIR====


;Usage:
;<translate>Usage:</translate>
  sm_cmd dir <argument> [OPTIONS...]
  sm_cmd dir <argument> [OPTIONS...]


;Description: By using the <tt>dir</tt> command you can list all configured clients, all elements with task type ''Path'' for a client, and client's root directory. By using <tt>"/<client name>/VMware vSphere:/" </tt> you can list client's VMware content. By using <tt>sm_cmd dir vsphere</tt> you can list all VMs and use additional options to list VMs from vCenter according to the specified parameters.
;<translate>Description: By using the <tt>dir</tt> command you can list all configured clients, all elements with task type ''Path'' for a client, and client's root directory. By using <tt>"/<client name>/VMware vSphere:/" </tt> you can list client's VMware content. By using <tt>sm_cmd dir vsphere</tt> you can list all VMs and use additional options to list VMs from vCenter according to the specified parameters.</translate>


===={{anchor|log}}LOG====
===={{anchor|log}}LOG====


;Usage:
;<translate>Usage:</translate>
  sm_cmd <download|show|list> log <alarm|backup|disaster|error|media|migration|notify|restore|sesam|state> [OPTIONS...]
  sm_cmd <download|show|list> log <alarm|backup|disaster|error|media|migration|notify|restore|sesam|state> [OPTIONS...]


;Description: By using the <tt><download|show|list></tt> log command you can download log files or other relevant information from the server to the local file system, display the content of these files from the server, and list available logs or other relevant information.
;<translate>Description: By using the <tt><download|show|list></tt> log command you can download log files or other relevant information from the server to the local file system, display the content of these files from the server, and list available logs or other relevant information.</translate>


===={{anchor|opersystem}}OPERATING SYSTEM (opersystem)====
===={{anchor|opersystem}}OPERATING SYSTEM (opersystem)====


;Usage:
;<translate>Usage:</translate>
  sm_cmd <get|list> opersystem [OPTIONS...]
  sm_cmd <get|list> opersystem [OPTIONS...]
AND
<translate>AND</translate>
  sm_cmd <get|list> os [OPTIONS...]
  sm_cmd <get|list> os [OPTIONS...]


;Description: By using [[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#action_commands|action commands]] – <tt>get, list</tt> – you can get a single operating system and list all operating systems (see options listed in main help <tt>sm_cmd help</tt>).
;<translate>Description: By using [[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#action_commands|action commands]] – <tt>get, list</tt> – you can get a single operating system and list all operating systems (see options listed in main help <tt>sm_cmd help</tt>).</translate>


===={{anchor|result}}RESULT====
===={{anchor|result}}RESULT====


;Usage:
;<translate>Usage:</translate>
  sm_cmd <get|list> result [OPTIONS...]
  sm_cmd <get|list> result [OPTIONS...]


;Description: By using [[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#action_commands|action commands]] – <tt>get, list</tt> – you can can get a single result for the specified resource and list all results filtered by options (see options listed in main help <tt>sm_cmd help</tt>).
;<translate>Description: By using [[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_CLI#action_commands|action commands]] – <tt>get, list</tt> – you can can get a single result for the specified resource and list all results filtered by options (see options listed in main help <tt>sm_cmd help</tt>).</translate>


===={{anchor|saveset}}SAVESET====
===={{anchor|saveset}}SAVESET====


;Usage:
;<translate>Usage:</translate>
  sm_cmd dir saveset [OPTIONS...]
  sm_cmd dir saveset [OPTIONS...]


;Description: By using the <tt>dir saveset</tt> command you can browse the specified saveset ID.
;<translate>Description: By using the <tt>dir saveset</tt> command you can browse the specified saveset ID.</translate>


===={{anchor|services}}SERVICES====
===={{anchor|services}}SERVICES====


;Usage:
;<translate>Usage:</translate>
  sm_cmd <download|show> services [OPTIONS...]
  sm_cmd <download|show> services [OPTIONS...]


;Description: By using the <tt>download/show services</tt> command you can display or download different data files and logs, such as backup log and restore log by specifying the relevant saveset ID, and media and migration log by specifying the ID of the media or migration state.
;<translate>Description: By using the <tt>download/show services</tt> command you can display or download different data files and logs, such as backup log and restore log by specifying the relevant saveset ID, and media and migration log by specifying the ID of the media or migration state.</translate>


===={{anchor|session}}SESSION====
===={{anchor|session}}SESSION====


;Usage:
;<translate>Usage:</translate>
  sm_cmd list session [OPTIONS...]
  sm_cmd list session [OPTIONS...]


;Description: By using the <tt>list session</tt> command you can list all active sessions (see options listed in main help <tt>sm_cmd help</tt>).
;<translate>Description: By using the <tt>list session</tt> command you can list all active sessions (see options listed in main help <tt>sm_cmd help</tt>).</translate>


===={{anchor|start_report}}START REPORT====
===={{anchor|start_report}}START REPORT====


;Usage:
;<translate>Usage:</translate>
  sm_cmd start report [OPTIONS...]
  sm_cmd start report [OPTIONS...]


;Description: By using the <tt>start report</tt> command you can create customized reports. Templates are located in the <tt><SESAM_BIN>/skel/templates/rythm</tt> directory.
;<translate>Description: By using the <tt>start report</tt> command you can create customized reports. Templates are located in the <tt><SESAM_BIN>/skel/templates/rythm</tt> directory.</translate>


===={{anchor|version}}VERSION====
===={{anchor|version}}VERSION====


;Usage:
;<translate>Usage:</translate>
  sm_cmd show version [OPTIONS...]
  sm_cmd show version [OPTIONS...]


;Description: By using the <tt>show version</tt> command you can identify the used version of the SEP sesam Server and Client package.
;<translate>Description: By using the <tt>show version</tt> command you can identify the used version of the SEP sesam Server and Client package.</translate>
<!--
<!--
===Troubleshooting commands===
===Troubleshooting commands===
The following are the commands that allow you to troubleshoot the SEP sesam environment.-->
The following are the commands that allow you to troubleshoot the SEP sesam environment.-->
<noinclude>==See also==
<translate><noinclude>==See also==
[[SBC CLI]] – [[Special:MyLanguage/Useful_SEP_sesam_Commands|Useful SEP sesam Commands]] – [[Special:MyLanguage/SEP_sesam_GUI|SEP sesam GUI]]</noinclude>
[[Special:MyLanguage/SBC_CLI|SBC CLI]] – [[Special:MyLanguage/Useful_SEP_sesam_Commands|Useful SEP sesam Commands]] – [[Special:MyLanguage/SEP_sesam_GUI|SEP sesam GUI]]</noinclude></translate>

Revision as of 09:42, 13 August 2020

Other languages:

Copyright © SEP AG 1999-2024. All rights reserved.

Any form of reproduction of the contents or parts of this manual is allowed only with the express written permission from SEP AG. When compiling and designing user documentation SEP AG uses great diligence and attempts to deliver accurate and correct information. However, SEP AG cannot issue a guarantee for the contents of this manual.

Docs latest icon.png Welcome to the latest SEP sesam documentation version 4.4.3/4.4.3 Beefalo V2. For previous documentation version(s), check documentation archive.


Overview

The SEP sesam command line interface (CLI) is a utility that provides an alternate way of executing SEP sesam commands in UNIX and Windows environments. SEP sesam command line interface provides two CLI components: administration utility SEP sesam CLI and client utility SBC CLI. The latter is used to back up and restore data locally on the host.

SEP sesam CLI administration utility provides all of the functions available via SEP sesam graphical management interface and also additional CLI commands that are not available in the GUI. Note that different commands can be available depending on your SEP sesam license.

SEP sesam CLI commands can be used to install and configure a SEP sesam environment automatically without a GUI. They enable administrators to access SEP sesam database and manage the whole SEP sesam environment, for example, to install, configure and manage SEP sesam Servers and Clients centrally without a GUI. Every CLI command (except a native SQL statement) checks and follows the internal structure and dependencies of the SEP sesam database.

Features

  • Automatic configuration of SEP sesam environments after installation (e.g., on implementation)
  • Change the SEP sesam configuration without using the SEP sesam GUI
  • Script-based mass installation and configuration (e.g., provider environment)
  • Operate tests for installation and configuration in SEP sesam environments
  • Get SEP sesam status, log and version information
  • Determine SEP sesam object information for further use in other programs

Running CLI commands

You must have SEP sesam administrator privileges to run SEP sesam CLI commands and use the command prompt as an administrator. All commands are run from the <SESAM_ROOT>/bin/sesam/ directory. If you want to execute SEP sesam commands globally (and not from the actual run directory), set the SEP sesam profile as described in What happens when I set a profile?.

Understanding the command structure

The SEP sesam general syntax for a CLI command is:

sm_cmd <command> [–option] [<object>] [[–<parameter>] <value>]

where the following information is provided for each command

  • sm_cmd: A command line tool that invokes the command line interface.
  • Usage: The actual syntax of the command, including the arguments.
  • Description: A brief summary of what the command does.
  • Arguments: The definition of options used in the command.
  • Example: Example of the command usage of the specified command and its options.

Command conventions

The parameters for a command are order-dependent and might include required and optional values or keyword choices, depending on how the information is bracketed. Required parameters are marked with an asterisk (*). An example is provided below.

| vertical bar
Separates the choices between two or more options or arguments.
[ ] square brackets
Indicate optional values.
< > angle brackets
Indicate that the enclosed element is mandatory.
Example:
sm_cmd <get|list|add|modify|backup|remove|restart> taskevent [OPTIONS...]

One of the actions bracketed with < > symbols, in this case <get|list|add|modify|backup|remove|restart>, is required, while the [OPTIONS...] are enclosed with [ ] symbols, therefore the information requested is optional. The following options are available for our sample taskevent command.

OPTIONS:
    -@ [param]     follow up (command to be run after the event completes)
    -G [ID]        task group
    -S [ID]        name of the interface
    -Z [number]    stop task if it runs longer than (e.g. 8:00 means that the task is automatically stopped after 8 hours)
    -d [ID]        drive number
    -j [ID]        backup task
    -l [param]     backup level (C = Copy, F = Full, D = Differential, I = Incremental)
    -m [ID]        media pool
    -s [0|1]       source-side deduplication

Let's say that we want to run a backup event for a backup task named win-cli_c_drive and use the target media pool (to which the data will be backed up) MP_disk_week. The command would look like this:

sm_cmd backup taskevent -j win-cli_c_drive -m MP_disk_week

Getting help

To list all available options, use the main help sm_cmd help. To show help for specific object, use sm_cmd help <object>, for example, sm_cmd help client.

Common action commands

The action command is used to perform an action or retrieve information/status about the resource. Most SEP sesam CLI resources have the following action commands:

get
The get command retrieves information about the resource or the operation that is currently defined.
list
The list command returns a list of objects for the specified resource. If the optional <object_name_or_id> is also specified, then the results are filtered by that value.
add
The add command creates a new object or event. If the optional <object_name_or_id> is also specified, then the objects are created according to the specified value.
modify
The modify command changes an existing resource based on the specified object options.
remove
The remove command deletes the specified object.

Before you begin

SEP sesam CLI is a very powerful command-line tool. You should be aware of its implications on your entire environment before you start using it.

Recommendations for using the SEP sesam CLI

  • SEP sesam's optional command line commands are written directly to the SEP sesam database. Therefore all command line entries should be checked and verified!
  • SEP sesam executes the commands immediately the <Enter>/<Return> key is pressed, which means that entries cannot be corrected, as is the case with the SEP Sesam GUI. It is extremely important that you are familiar with CLI and use it cautiously in order not to cause a system failure of the backup environment. Note that an erroneous entry can lead to complete data loss or other damage to the database. Such mistakes can void the warranty of your SEP sesam licensing agreement.
Information sign.png Note
Before you start scripting with the SEP sesam CLI, you should familiarize yourself with the SEP sesam environment. Read the SEP sesam documentation carefully and work on the SEP sesam installation and configuration to understand how the SEP sesam objects work together.

SEP sesam CLI usage

Command Description
sm_cmd <get|list|add|modify|remove|send> account Create and administer email accounts.
sm_cmd <get|list|remove|check> acl List or delete access control list (ACL).
sm_cmd list allevent List all SEP sesam events.
sm_cmd list allresult List all results within the specified time period.
sm_cmd backup Start the backup task or task group.
sm_cmd clear cache Clear the entire server cach.
sm_cmd <get|list|add|modify|remove> calendar Create and administer calendars.
sm_cmd <get|list|add|modify|remove> calendarevent Create and administer calendar events.
sm_cmd <download|show> calendarsheet Display or download calendar information.
sm_cmd <get|list|add|modify|remove|dir> client Create and administer clients.
sm_cmd <get|list|add|modify|start|remove> command Create and administer commands.
sm_cmd <get|list|add|modify|remove> commandevent Create and administer command events.
sm_cmd <get|list|add|modify|enable|disable|link|unlink|remove> credential Configure and administer credentials.
sm_cmd <download|show> current Display or download the current drive information.
sm_cmd <get|list|add|modify|remove> datastore Create and administer data stores.
sm_cmd <get|list|add|modify|remove> default Configure and administer default keys.
sm_cmd dir <argument> List all specified clients, elements, VMs, etc.
sm_cmd <get|list|add|modify|remove|start|mount|dismount|unload> drive Create and administer drives.
sm_cmd <get|list|add|modify|remove> drivegroup Create and administer drive groups.
sm_cmd <get|list|add|modify|remove> group Create and administer user groups.
sm_cmd <get|list|add|remove> interface Create and administer interfaces.
sm_cmd start inventory Start archive adjustment.
sm_cmd <show|update|report> license Check the SEP sesam license information and update the license.
sm_cmd <get|list|add|modify|remove|load|unload|import|export> loader Create and administer loaders.
sm_cmd <get|list|add|modify|remove> loaderdevice Create and administer loader devices.
sm_cmd <get|list|add|modify|remove> location Create and administer locations.
sm_cmd <download|show|list> log Monitor and download log files from the server.
sm_cmd <get|list|add|modify|remove> media Create and administer storage media.
sm_cmd <get|list|add|modify|remove> mediapool Create and administer media pools.
sm_cmd <get|list|add|modify|start|init|remove> mediapoolevent Create and administer media events.
sm_cmd migrate Start a migration immediately.
sm_cmd <get|list|add|modify|remove|start> migration Create and administer migration events.
sm_cmd <get|list|add|modify|remove> migrationtask Create and administer migration tasks.
sm_cmd <get|list|add|modify|start|remove> newdayevent Create and administer NEWDAY events.
sm_cmd <get|list|add|modify> notification Create and modify notifications.
sm_cmd <get|list> opersystem List a specific OS or all operating systems.
sm_cmd render Renders the specified template.
sm_cmd <list|restart> Check and restart backups/migrations.
sm_cmd <get|list|add|modify|restore|start|remove> restoreevent Create and administer restore events.
sm_cmd <get|list|add|modify|start|remove> restoretask Create and administer restore tasks.
sm_cmd <get|list> result Monitor the results according to set filters (e.g., clients, tasks).
sm_cmd <dir> saveset Browse for the saveset ID.
sm_cmd <get|list|add|modify|rename|remove|start> schedule Configure and administer schedules.
sm_cmd <download|show> services Monitor and download different files or logs.
sm_cmd list session List all active sessions.
sm_cmd start <task|restore|migration|command> Start an event.
sm_cmd start report Create a customized report.
sm_cmd <get|list|add|modify|start|remove> task Create and administer tasks.
sm_cmd <get|list|add|modify|backup|remove|restart> taskevent Create and administer task events.
sm_cmd add taskgen Generate tasks according to the specified task type.
sm_cmd <get|list|add|modify|start|remove> taskgroup Create and administer task groups.
sm_cmd <get|list|add|modify|remove> taskgrouprelation Create and administer task group relations.
sm_cmd <download|list> update Monitor and download JAR (.jar) updates.
sm_cmd <get|list|add|modify|remove|reset> user Create and administer users.
sm_cmd show version Display SEP sesam Server and Client package version.
sm_cmd <resetcbt|check|generate|list> vsphere Reset CBT, monitor vSphere environment and generate vSphere task group.

Configuration and administration commands

The following are the commands that allow you to configure and execute the administrator’s tasks for SEP sesam.

(EMAIL) ACCOUNT (account)

Usage
sm_cmd <get|list|add|modify|remove|send> account [OPTIONS...] 
Description
By using action commandsget, list, add, modify, remove – you can get a single email account, list all email accounts depending on list options (see options listed in main help sm_cmd help), create a new email account, modify an existing account, and delete the specified account. Additionally, you can send a message to the given email account and attach multiple local files by using send mail [OPTIONS...] ID.

ACL

Usage
sm_cmd <get|list|remove|check> acl [OPTIONS...] 
Description
By using action commandsget, list, remove – you can get a single access control list (ACL), list all ACL entries depending on list options (see options listed in main help sm_cmd help) or list all ACL entries of a given user and/or object, and delete the specified ACL (ID=all will delete all configured ACLs).

BACKUP

Usage
sm_cmd backup  [OPTIONS...]
Description
By using the backup command you can start the task or task group backup according to the specified parameters.

CLEAR CACHE

Usage
sm_cmd clear cache [OPTIONS...]

or

sm_cmd clear cache -t
Description
By using the clear cache command you can clear the entire server cache according to the specified parameters; the '-t' parameter sets table filter for clear cache.

CALENDAR

Usage
sm_cmd <get|list|add|modify|remove> calendar [OPTIONS...] 
Description
By using action commandsget, list, add, modify, remove – you can get a single calendar, list all calendars depending on list options (see options listed in main help sm_cmd help), create a new calendar with an automatically generated ID, modify and delete a calendar; ID can be a character string ID or a numeric ID value.

CALENDAR EVENT (calendarevent)

Usage
sm_cmd <get|list|add|modify|remove> calendarevent [OPTIONS...] 
Description
By using action commandsget, list, add, modify, remove – you can get a single calendar event, list all calendar events depending on list options (see options listed in main help sm_cmd help), create a new calendar event, modify and delete a calendar event.

CLIENT

Usage
sm_cmd <get|list|add|modify|remove|dir> client [OPTIONS...]
Description
By using action commandsget, list, add, modify, remove – you can get a single client, list all clients depending on list options (see options listed in main help sm_cmd help), create, modify and delete a client. By using sm_cmd dir client ID you can also browse the directory of the client (check sm_cmd help dir for details).

COMMAND

Usage
sm_cmd <get|list|add|modify|start|remove> command [OPTIONS...]
      
Description
By using action commandsget, list, add, modify, start, remove – you can get a single command, list all commands depending on list options (see options listed in main help sm_cmd help), create, modify and execute a command, as well as delete the specified command.

COMMAND EVENT (commandevent)

Usage
sm_cmd <get|list|add|modify|remove> commandevent [OPTIONS...]
Description
By using action commandsget, list, add, modify, remove – you can get a single command event, list all events depending on list options (see options listed in main help sm_cmd help), create a new command event with an automatically generated ID, modify and remove a command event.

CREDENTIAL

Usage
sm_cmd <get|list|add|modify|enable|disable|link|unlink|remove> credential [OPTIONS...]
Description
By using action commandsget, list, add, modify, remove – you can get an existing credential set (by ID or name), list all credential sets depending on list options (see options listed in main help sm_cmd help), add a new credential set, modify and delete an existing credential set (only if there are no more references). Additionally, you can link/unlink a credential set to/from a SEP sesam object, i.e., a data store. Specifically for LDAP or AD credential sets, you can enable or disable a credential set (by ID or name).

DATA STORE (datastore)

Usage
sm_cmd <get|list|add|modify|remove> datastore [OPTIONS...]
Description
By using action commandsget, list, add, modify, remove – you can get a single data store, list all data stores depending on list options (see options listed in main help sm_cmd help), create and modify a data store, and remove a data store with all dependencies.

DEFAULT KEY (default)

Usage
sm_cmd <get|list|add|modify|remove> default [OPTIONS...]
Description
By using action commandsget, list, add, modify, remove – you can get the value of the default key, list all default keys (see options listed in main help sm_cmd help), add a new default key and its value, modify the value of the default key, and delete the specified default key.

DRIVE

Usage
sm_cmd <get|list|add|modify|remove|start|mount|dismount|unload> drive [OPTIONS...]
Description
By using action commandsget, list, add, modify, remove – you can get a single drive, list all drives (see options listed in main help sm_cmd help), create a new drive with an automatically generated ID, modify and delete a drive. By using sm_cmd start drive ID you can configure the specified drive. Additionally, you can mount and dismount a drive by using sm_cmd <mount|dismount> drive ID and eject the tape in the drive with sm_cmd unload drive ID.

DRIVE GROUP (drivegroup)

Usage
sm_cmd <get|list|add|modify|remove> drivegroup [OPTIONS...]
Description
By using action commandsget, list, add, modify, remove – you can get a single drive group, list all drive groups (see options listed in main help sm_cmd help), create a new drive group, modify and delete a drive group.

(USER) GROUP (group)

Usage
sm_cmd <get|list|add|modify|remove> group [OPTIONS...]
Description
By using action commandsget, list, add, modify, remove – you can get a single user group, list all user groups (see options listed in main help sm_cmd help), create a new user group, modify and delete a user group.

INTERFACE

Usage
sm_cmd <get|list|add|remove> interface [OPTIONS...]
Description
By using action commandsget, list, add, remove – you can get a single interface, list all interfaces (see options listed in main help sm_cmd help), create a new interface, and delete the specified interface.

INVENTORY (start inventory)

Usage
sm_cmd start inventory [OPTIONS...]
Description
By using the start inventory command you can start archive adjustment to make a comparison between media in the loader (tape library) and the SEP sesam media archive database, and perform a database synchronization with the selected loader.

LICENSE

Usage
sm_cmd <show|update|report> license [OPTIONS...]
Description
By using update, show and report commands you can check your license and generate a report, as well as update your current license.

LOADER

Usage
sm_cmd <get|list|add|modify|remove|load|unload|import|export> loader [OPTIONS...]
Description
By using action commandsget, list, add, modify, remove – you can get a single loader, list all loaders (see options listed in main help sm_cmd help), create a new loader, modify and delete the loader. By using sm_cmd load loader [OPTIONS...] you can move the tape cartridge from the specified magazine slot into the specified drive and initiate the opposite operation by using sm_cmd unload loader [OPTIONS...]. You can also import the tape cartridge into the magazine and export it by using sm_cmd <import|export> loader [OPTIONS...].

LOADER DEVICE (loaderdevice)

Usage
sm_cmd <get|list|add|modify|remove> loaderdevice [OPTIONS...]
Description
By using action commandsget, list, add, modify, remove – you can get a single loader device, list all loader devices (see options listed in main help sm_cmd help) and create a new loader device for the existing loader by specifying its ID and the slot. You can also modify or delete an existing loader.

LOCATION

Usage
sm_cmd <get|list|add|modify|remove> location [OPTIONS...]
Description
By using action commandsget, list, add, modify, remove – you can get a single location (an ID can be a character string or a numeric ID value), list all locations (see options listed in main help sm_cmd help), create a new location with an automatically generated ID, modify and delete a location.

MEDIA

Usage
sm_cmd <get|list|add|modify|remove> media [OPTIONS...]
Description
By using action commandsget, list, add, modify, remove – you can get a single medium, list all media (see options listed in main help sm_cmd help), add a new medium to the media archive (the media label is set automatically), modify a medium, and remove the data set of the specified media from the archive (only possible if the drive/EOL is not active).

MEDIA POOL (mediapool)

Usage
sm_cmd <get|list|add|modify|remove> mediapool [OPTIONS...]
Description
By using action commandsget, list, add, modify, remove – you can get a single media pool, list all media pools (see options listed in main help sm_cmd help), create a new media pool, modify and delete an existing media pool.

MEDIA POOL EVENT (mediapoolevent)

Usage
sm_cmd <get|list|add|modify|start|init|remove> mediapoolevent [OPTIONS...]
Description
By using action commandsget, list, add, modify, remove – you can get a single media pool event, list all media events (see options listed in main help sm_cmd help), create and modify a media event, and delete the specified media pool event(s). You can also start a media pool event by using sm_cmd start mediapoolevent [OBJECT OPTIONS...] and initialize a media pool with sm_cmd init mediapoolevent [OBJECT OPTIONS...].

MIGRATE

Usage
sm_cmd migrate  [OPTIONS...]
Description
By using the migrate command you can start migration immediately.

MIGRATION

Usage
sm_cmd <get|list|add|modify|remove|start> migration [OPTIONS...]
Description
By using action commandsget, list, add, modify, remove – you can get a single migration event, list all migration events (see options listed in main help sm_cmd help), create (with an automatically generated ID) and modify a migration event, and remove the migration event(s). By using sm_cmd start migration [OBJECT OPTIONS...] you can immediately start the specified migration process.

MIGRATION TASK (migrationtask)

Usage
sm_cmd <get|list|add|modify|remove> migrationtask [OPTIONS...]
Description
By using action commandsget, list, add, modify, remove – you can get a single migration task, list all migration tasks (see options listed in main help sm_cmd help), create a new migration task, modify and delete an existing migration task.

NEWDAY EVENT (newdayevent)

Usage
sm_cmd <get|list|add|modify|start|remove> newdayevent [OPTIONS...]
Description
By using action commandsget, list, add, modify, remove – you can get a single NEWDAY event, list all NEWDAY events (see options listed in main help sm_cmd help), create a new NEWDAY event (with an automatically generated ID), modify and delete a NEWDAY event. You can also immediately start a NEWDAY event by using sm_cmd start newdayevent [OBJECT OPTIONS...].

NOTIFICATION

Usage
sm_cmd <get|list|add|modify> notification [OPTIONS...]
Description
By using action commandsget, list, add, modify – you can get the specified notification, list all notifications (see options listed in main help sm_cmd help), create a new notification, and modify a single notification or all notifications for one object. Notification module options are: [LICENSE|LICENSE_EULA|LICENSE_INFO|LICENSE_VIOLATION|CBT_INFO|CLI_INFO|RSS_INFO|EMAIL_INFO|EXCHANGEDOTNET_INFO|MOSS_INFO|KERNEL]

RENDER

Usage
sm_cmd render  [OPTIONS...]
Description
By using the render command you can render a template with the specified input data i.e. to generate a report.

RESTART BACKUPS/MIGRATIONS (<list|restart>)

Usage
sm_cmd <list|restart>  [OPTIONS...]
Description
By using the list restart command you can list all results where the backups/migrations can be restarted and then restart the selected backup/migration.

RESTORE EVENT (restoreevent)

Usage
sm_cmd <get|list|add|modify|restore|start|remove> restoreevent [OPTIONS...]
Description
By using action commandsget, list, add, modify, remove – you can get a single restore event, list all restore events (see options listed in main help sm_cmd help), create (with an automatically generated ID) and modify a restore event, and remove the selected restore event(s). By using sm_cmd restore restoreevent [OPTIONS...] you can add and start a restore job. Use sm_cmd start restoreevent [OBJECT OPTIONS...] to immediately start the selected restore job.

RESTORE TASK (restoretask)

Usage
sm_cmd <get|list|add|modify|start|remove> restoretask [OPTIONS...]
Description
By using action commandsget, list, add, modify, remove – you can get a single restore task, list all restore tasks (see options listed in main help sm_cmd help), modify and delete a restore task. By using sm_cmd add restoretask [OBJECT OPTIONS...] you can create a new restore task. Use sm_cmd start restoretask [OBJECT OPTIONS...] to immediately start the restore defined by the specified restore task.

SCHEDULE

Usage
sm_cmd <get|list|add|modify|rename|remove|start> schedule [OPTIONS...]
Description
By using action commandsget, list, add, modify, remove – you can get a single schedule, list all schedules (see options listed in main help sm_cmd help), create, modify and delete a schedule. By using sm_cmd rename schedule [OBJECT OPTIONS...] ID you can rename an existing schedule. Use sm_cmd start schedule [OBJECT OPTIONS...] ID to immediately start all events of the specified schedule.

START

Usage
sm_cmd  start <task|restore|migration|command> [OPTIONS...]
Description

By using the start command you can start the specified event, such as backup, restore, migration, and command event.

TASK

Usage
sm_cmd <get|list|add|modify|start|remove> task [OPTIONS...]
Description
By using action commandsget, list, add, modify, remove – you can get a single backup task, list all backup tasks (see options listed in main help sm_cmd help), create a new task, modify and delete a task. By using sm_cmd start task [OPTIONS...] you can immediately start the selected backup task or all tasks of the selected task group.

TASK EVENT (taskevent)

Usage
sm_cmd <get|list|add|modify|backup|remove|restart> taskevent [OPTIONS...]
Description
By using action commandsget, list, add, modify, remove – you can get a single task event, list all task events (see options listed in main help sm_cmd help), create (with an automatically generated ID) and modify a task event, and delete the specified task event(s). By using sm_cmd restart taskevent [OPTIONS...] you can immediately restart backup/migration according to the specified savesets or sesam day. In the latter case, only failed backups will be restarted.

(GENERATE) TASKS (taskgen)

Usage
sm_cmd add taskgen [OPTIONS...]
Description
By using the add taskgen command you can generate tasks of the specified task type. This is mainly used for the generation of VM backup tasks. For Details, see Generating VM tasks.

TASK GROUP (taskgroup)

Usage
sm_cmd <get|list|add|modify|start|remove> taskgroup [OPTIONS...]
Description
By using action commandsget, list, add, modify, remove – you can get a single task group, list all task groups (see options listed in main help sm_cmd help), create and modify a task group, and remove the specified task group with all relations to the tasks. By using sm_cmd start taskgroup [OPTIONS...] you can immediately start all backup tasks of the specified task group.

TASK GROUP RELATIONS (taskgrouprelation)

Usage
sm_cmd <get|list|add|modify|remove> taskgrouprelation [OPTIONS...]
Description
By using action commandsget, list, add, modify, remove – you can get task group relations for the specified task group (see options listed in main help sm_cmd help), list all task group relations, create a new task group relation, modify an existing task group relation, and delete the specified task group relation. Use -j for task names separated by commas and -n for specifying the tasks start order <[0-9]>. Additionally, you can remove all tasks from a task group by using -A [0|1].

UPDATE JAR

Usage
sm_cmd <download|list> update [OPTIONS...]
Description
By using the download/list update command you can list available JAR (.jar) updates and download the selected JAR update(s) from the server.

USER

Usage
sm_cmd <get|list|add|modify|remove|reset> user [OPTIONS...]
Description
By using action commandsget, list, add, modify, remove – you can get a single user, list all users (see options listed in main help sm_cmd help), create, modify and delete a user. By using sm_cmd reset user ID you can reset a password of the specified user (you have to be logged in to SEP sesam Server console).

vSPHERE

Usage
sm_cmd <resetcbt|check|generate|list> vsphere [OPTIONS...]
Description
By using sm_cmd resetcbt vsphere [OPTIONS...] you can reset CBT by specifying the task name -j [ID] or directly via VM name and vSphere server input. To check the connection to vSphere server, use sm_cmd check vsphere [OPTIONS...]. To generate the vSphere tasks for the specified VMs, use sm_cmd generate vsphere [OPTIONS...]. For Details, see Generating VM tasks. By using the list command you can list license information or use list vsphere -V <VM> -c <VM server> -m snapshot to list VM snapshots.

Monitoring commands

The following are the commands that display information about SEP sesam environment.

ALL EVENTS (allevent)

Usage
sm_cmd list allevent [OPTIONS...]

OR

sm_cmd list [LIST OPTIONS] allevent [FILTER OPTIONS...]

Description
By using the list allevent command you can list all events or list all events depending on list options (see options listed in main help sm_cmd help) in a table format.

ALL RESULTS (allresult)

Usage
sm_cmd list allresult [OPTIONS...]

OR

sm_cmd list [LIST OPTIONS] allresult [FILTER OPTIONS...]
Description
By using the list allresult command you can list all results or list all results depending on list options (see options listed in main help sm_cmd help).

CALENDAR SHEET (calendarsheet)

Usage
sm_cmd <download|show> calendarsheet [OPTIONS...]
Description
By using the <download|show> calendarsheet command you can download or display the calendar information for the specified time frame.

CURRENT DRIVE (current)

Usage
sm_cmd <download|show> current [OPTIONS...]
Description
By using the <download|show> current command you can download or display the current drive information from the server.

DIR

Usage
sm_cmd dir <argument> [OPTIONS...]
Description
By using the dir command you can list all configured clients, all elements with task type Path for a client, and client's root directory. By using "/<client name>/VMware vSphere:/" you can list client's VMware content. By using sm_cmd dir vsphere you can list all VMs and use additional options to list VMs from vCenter according to the specified parameters.

LOG

Usage
sm_cmd <download|show|list> log <alarm|backup|disaster|error|media|migration|notify|restore|sesam|state> [OPTIONS...]
Description
By using the <download|show|list> log command you can download log files or other relevant information from the server to the local file system, display the content of these files from the server, and list available logs or other relevant information.

OPERATING SYSTEM (opersystem)

Usage
sm_cmd <get|list> opersystem [OPTIONS...]

AND

sm_cmd <get|list> os [OPTIONS...]
Description
By using action commandsget, list – you can get a single operating system and list all operating systems (see options listed in main help sm_cmd help).

RESULT

Usage
sm_cmd <get|list> result [OPTIONS...]
Description
By using action commandsget, list – you can can get a single result for the specified resource and list all results filtered by options (see options listed in main help sm_cmd help).

SAVESET

Usage
sm_cmd dir saveset [OPTIONS...]
Description
By using the dir saveset command you can browse the specified saveset ID.

SERVICES

Usage
sm_cmd <download|show> services [OPTIONS...]
Description
By using the download/show services command you can display or download different data files and logs, such as backup log and restore log by specifying the relevant saveset ID, and media and migration log by specifying the ID of the media or migration state.

SESSION

Usage
sm_cmd list session [OPTIONS...]
Description
By using the list session command you can list all active sessions (see options listed in main help sm_cmd help).

START REPORT

Usage
sm_cmd start report [OPTIONS...]
Description
By using the start report command you can create customized reports. Templates are located in the <SESAM_BIN>/skel/templates/rythm directory.

VERSION

Usage
sm_cmd show version [OPTIONS...]
Description
By using the show version command you can identify the used version of the SEP sesam Server and Client package.

See also

SBC CLIUseful SEP sesam CommandsSEP sesam GUI