Exporting definitions, templates and schedules

The export operation exports all specified user documents to an output file.

usage

report_impexp -e -c <a|d|t|s> -u <user_id> -p <password> -m <pattern_match> 
		-f <file> -l <server_directory> [-r <true|false>]

options

The options and parameters to be used with the report_impexp tool for exporting report definitions, templates, schedules and folders are described in the following table.

Table 1. Options for report_impexp tool - export user documents
Option Description
-e Initiates the export process.
-c

Content or type of object to export. The command line options for -c are as follows:

[all|definition|template|schedule]

  • all - selects report definitions, report templates, schedules and folders
  • definition - selects report definitions and folders
  • template - selects report templates and folders
  • schedule - selects schedules and folders

Shortcuts [a|def|t|s]

  • a - all of the types below
  • def - report definitions
  • t - report templates
  • s - report schedules

The all definitions and template selections will include any dependent folders.

-u <user> The username of the user invoking the export tool.
-p <password> The user's password.
-m <pattern_match> Pattern matches for user documents using standard wildcards. Quotes must be placed around the wildcards. For example, for all report definitions use "*".
-f <file> File to export documents to. This must be an xml file.
-l <server_directory>

Location on server to export the file to. This must be a user folder location or path that has been defined during report definition. For example, /Users/sysadm . User folder locations can be checked in the GUI. Locations can be found in the Browse tab, see the Using Tivoli Netcool Performance Manager - Wireless Component.

The user should have permission to read the document contents of the selected location.

-r

Optional. Recursive search (sub-directories) of source root location for other files that match the search pattern specified by the -m option. The -r option is specified by one of the following parameters:

true

false

Examples

report_impexp -e -c all -u <user> -p <password> -m "*" 
		-f export.xml -l /Users/username -r true