Purpose
The export_config command exports the current XML definition for the requested BAR component.
Syntax
export_config -n|-name Name -t|-type Type -r|repository_replication -f|-file File
Examples
export_config -n component1 -t system -f System1Config.xml
export_config -t general -f GeneralConfig.xml
export_config -t target_group -r -n replication-tg-S3 -f ReplicationGroup.xml
Parameters
- n|name Name
- The name of the component you want to export. This parameter is optional for the general, repository_backup, and disk_file_system types.
- t|type Type
-
The type of component or repository backup you want to export. Enter one of the following:
- system
- media_server
- nbu_server
- dd_boost
- repository_backup
- disk_file_system
- target_group
- general
- AWS_APP
- AZURE_APP
- GCP_APP
- NETWORK_FABRIC
- r|repository_replication
- Designates the target group for export as a replication target.
- f|file filename
- The full file path and file name of the file to which to write the XML definition.
Usage Notes
This command can be used with the configuration commands to update a BAR configuration.
XML File Example
This command does not require an XML file as input. You must supply a file name and location to which the XML file results are exported as output.