CLI

## export

    export [option] [menu]
    The "export" command exports all objects of the specified menu/submenu
    and all underlying submenus. This allows you to export a configuration or a part of
    the configuration for backup purposes or in order to import it on another system
    (using the "import" command).

    "export" can generate the configuration data in many different output formats:

    If no file is specified, "export" will write the data structure to standard out.

Name | Value | Description | Example
--- | --- | --- | ---
xml |  | export the configuration in XML format |
json |  | use JSON as the export format for the configuration data |
csv |  | export the configuration in CSV format (comma-separated-value) |
csv-no-data |  | export only the submenus and parameter names in CSV format (no values) |
normal |  | use the human readable standard format |
tree |  | export only the submenus and parameter names as a tree (no values) |
capabilities |  | export with capabilities |
capabilities-rw |  | use with capabilities where ro-objects only shows its data |
data |  | export with data (--capabilities in json only) |
verbose |  | export with more information (--capabilities in json only) |
raw |  | prints enums as value instead of names |
not-raw |  | always prints enums as names |
table |  | export menu as a table (useful on list-like menus) |
xtable |  | export menu as a table and swaps rows with columns |
use-unit |  | include units if available |
no-unit |  | do not include units |
output | filepath | export the content into a file | myoutput.json
| menu |  | /status/system

See also:
import: reads a previously exported data structure into the system configuration.

#### REST-API Support:

This command is not supported.