config export command
The config export command exports the configuration information currently in use in the cluster to a file that can be edited and then reimported into the system. The exported file contains the configuration values for the configuration type requested.
Environment
- Windows 2008
- Linux®
Authorization
Administrative user
Syntax
execute config export <datasource|fabric|fabric_endpoint|grid|sys_config> export_file
Option descriptions
- datasource|fabric|fabric_endpoint|grid|sys_config
- One of the five configuration types.
- export_file
- The full path name to the directory where the exported file is stored. The directory must exist before you run the command. If you do not specify a path, the file is stored in install_dir\Members\bin.
Examples
- Example: Exporting a file to a specified directory
- This command exports the data source properties file as datasource.properties to C:\AS4 Microservices\export_files.
execute config export datasource C:\AS4 Microservices\export_files\datasources.properties
- Example: Exporting a file to the directory from where the command is run
- This command exports the data source properties file as datasource.properties to install_dir\Members\bin.
execute config export datasource datasources.properties