用途
export_config 命令可导出请求的 BAR 组件的当前 XML 定义。
语法
export_config -n|-name Name -t|-type Type -r|repository_replication -f|-file File
示例
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
参数
- n|name Name
- 要导出的组件的名称。对于 general, repository_backup, and disk_file_system 类型,此参数为可选。
- t|type Type
- 要导出的组件或存储库备份的类型。请输入以下值之一:
- 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
- 将导出的目标组指定为复制目标。
- f|file filename
- 要向其中写入 XML 定义的文件的完整文件路径和文件名。
用法说明
此命令可与 configuration 命令一起用于更新 BAR 配置。
XML 文件示例
此命令不需要 XML 文件作为输入。您必须提供一个文件名称和位置,XML 文件结果将作为输出导出到该位置。