IBM Tivoli Monitoring, Version 6.3

tacmd exportCalendarEntries

Description

Use the tacmd exportCalendarEntries command to export all the calendar entries available in the Tivoli® Enterprise Portal Server to the specified XML file. You can optionally specify one or more calendar entry names to be exported by using the -n|--name|--names option.
Note: If you want to use the current tacmd tepsLogin values for username, password, and server hostname, do not enter any of these options for the exportCalendarEntries command. If you specify values for some, but not all of these options, you are prompted to specify the username and password if they are missing.

CLI syntax

tacmd exportCalendarEntries
                       {-x|--file} XMLFILE
                       [{-u|--username} TEPS_USER]
                       [{-w|--password} TEPS_PASSWORD]
                       [{-s|--server} TEPS_HOSTNAME]
                       [{-n|--name|--names} CALENDAR_ENTRY_NAME...]
                       [{-f|–force}]

where:
-x|--file
Specifies the name of the xml file accessible to the local file system where the calendar entry names are exported. The file name can either be a relative or absolute file name.
-u|--username
Specifies the identifier of the user to authenticate on the Tivoli Enterprise Portal Server.
-w|--password
Specifies the password of the user to authenticate on the Tivoli Enterprise Portal Server.
-s|--server
Specifies the Tivoli Enterprise Portal Server hostname from where the calendar entries are exported.
-n|--name|--names
Specifies the name of the calendar entries to export.
-f|–force
Exports the calendar entries without prompting for confirmation.

CLI example

This example exports all the calendar entries from the Tivoli Enterprise Portal Server on localhost to the specified XML file:
tacmd  exportCalendarEntries -x D:\IBM\ITM\BIN\All_Calendarentries.xml 
-u sysadmin -w ******
This example exports all the calendar entries from the Tivoli Enterprise Portal Server on LEVER2 to the specified XML file:
tacmd  exportCalendarEntries -x D:\IBM\ITM\BIN\All_Calendarentries.xml -u sysadmin 
-w ***** -s LEVER2
This example exports only the calendar entries matching the names time_entries or task_entries to the specified XML file:
tacmd  exportCalendarEntries -x D:\IBM\ITM\BIN\BackUp_Calendarentries.xml 
-u sysadmin -w ****** -n “time_entries” “ task_entries”

Return values

See Table 1.

Related commands

Return to Table 1.



Feedback