Documentation / Professional Edition / User Guide / Tools / myarmexport

myarmexport -- exports ARM data to a database or file

The myarmexport command line tool is used to export any ARM data from one database type to another or to a XML or an MyARM data file.

Command line options


myarmexport [options] export-url [appName][:tranName] [appName2][:tranName2]
URL like database specification where to export the data to. See appendix "Database URL notation".
appName:tranName, appName2:tranName2
If specified only export 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 myarmexport 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 exporting. 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 exported.
-t, --trans
selects transactions instances to be exported.
-m, --metrics
selects system addresses to be exported.
-u, --users
selects users to be exported.
-s, --systems
selects system addresses to be exported.
-r, --rts
selects real time statistics (RTS) data to be exported.
-e, --rte
selects real time events to be exported.
-l, --logs
selects log messages to be exported.
-c, --cfg
selects runtime configuration to be exported.

Other options

selects all ARM data to be exported.
-d, --defs
selects only ARM definitions for export. Without this option definitions and instances are exported.
-e name, --engine name
selects the storage engine to use for the created database. Currently this is only supported for the MySQL database.


ruppert@myarm /opt/myarm/data $ myarmexport --all myarm:///data.myarm
Exported entities:
Applications: Definitions 1 (Properties 0), Instances 4 (Properties 0)
Transactions: Definitions 3 (Properties 0), Instances 40 (Properties 0)
Metrics     : Definitions 0, Instances 0
Systems     : 1
Users       : 0
Logs        : 236
ruppert@myarm /opt/myarm/data $ ls -l data.myarm
-rw-r--r-- 1 ruppert ruppert 33541 May 12 13:51 data.myarm
See Also
myarmoptions, myarmimport, myarmdefinition, myarmquery, myarmconfig, myarmmisc