Documentation / Standard Edition / User Guide / Tools / myarmimport

myarmimport -- imports ARM data from a database or XML file

The myarmimport command line tool is used to import any ARM data from a database or a XML file into the currently configured database.

Command line options


myarmimport [options] import-url [appName][:tranName] \
URL like database specification where to import from. See "Database URL notation".
appName:tranName, appName2:tranName2
If specified only import instances and/or definitions of ARM applications which matches this application and/or transaction name. For details about specifying application and/or transaction names read the section "Application and transaction names".

In addition to the options listed below, the myarmimport command supports standard options described in appendix "Standard options" and the constraint options in appendix "Constraints options".

Entity selection options

With one or more of the following entity selection options entities are selected for importing. If a name is omitted all instances of the appropriate entity are deleted. Otherwise only the instances with the name(s) provided are deleted.

-a, --apps
selects application instances to be imported.
-t, --trans
selects transactions instances to be imported.
-u, --users
selects users to be imported.
-m, --metrics
selects system addresses to be imported.
-l, --logs
selects log messages to be imported.

Other options

selects all ARM data to be imported.
-d, --defs
selects only ARM definition data to be imported. Without this option definition and instance data is imported.

Usage example

The following example shows the output of an import of some transaction data from an XML file called chain.xml.

ruppert@debian:/opt/myarm$ myarmimport -t xml:///chain.xml
Imported entities:
Applications: Definitions 1 (Properties 0), Instances 0 (Properties 0)
Transactions: Definitions 3 (Properties 0), Instances 160 (Properties 0)
Metrics     : Definitions 0, Instances 0
Systems     : 0
Users       : 0

The output of the myarmimport program gives an overview which and how many entities (definitions and instances) are imported.

See Also
myarmoptions, myarmexport, myarmdefinition, myarmquery, myarmconfig, myarmmisc