Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Universal Controller supports the following CLI functions for Imports and Exports, which are listed alphabetically on this page.

  • Export Bulk
  • Export Trigger
  • Import Bulk
  • Import Trigger

Syntax, parameters, and examples for each function are provided.
 

...

Description

Performs a bulk import of records into your Controller database.
 
The location from where records are imported is specified by the System Default CLI Bulk Import Path (opswise.bulk_import.path.default) Universal Controller system property.
 
The default directory, where $CATALINA_HOME is the base Tomcat installation directory, is either:

  • $CATALINA_HOME/opswise_import
  • $CATALINA_HOME\opswise_import
Note
titleNote

The data being imported must have been exported using the Export Bulk command.


Syntax

uagcmd ops-import-bulk global parameters
 

Note
titleNote

For backward-compatibility, you can exclude uagcmd from the command line for this function and all pre-6.2.0.0 CLI functions.


Example


Panel
uagcmd ops-import-bulk -c config.cfg


...

Description

Imports into your Universal Controller database the trigger records in the path specified in the import-file= parameter.

Syntax

uagcmd ops-import-trigger global parameters import-file=file
 

Note
titleNote

For backward-compatibility, you can exclude uagcmd from the command line for this function and all pre-6.2.0.0 CLI functions.


Parameter

  • import-file=
    Required; Path containing one or more XML files that were exported via 10944513 ops-export-trigger or via the Universal Controller user interface using the Export -> XML feature.
     

    Note
    titleNote

    This is the path on the Controller server where the XML files are stored, not a local path to where the command is run.


Example


Panel
uagcmd ops-import-trigger --c config.cfg import-file=ops\import


...