ExportRepository command (Import/Export tool)
Export a repository to a .dat file.
Synopsis
java -jar TAImportExportTool.jar --ExportRepository [--server<value>] [--port<value>]
--repoName<value> --destinationFile<value> [--overwrite<true|false>]
TAImportExportTool.jar
An executable .jar file used to invoke the Import/Export tool.
The file can be found at TA_INSTALL_DIR\binclient.
–ExportRepository
Invokes the export repository function.
–server <value>
(Optional, default = localhost) Full hostname or IP address of the repository server in which the repository is to reside.
注意:If this argument is not defined, localhost is used as the default.–port <value>
(Optional, default = 53404) Dedicated port number used to connect to the repository server.
注意:At present, only the port number 53404 may be used, and serves as the default value. Hence, please ensure that this port is always available.–repoName <value>
Name of repository to be exported.
注意:If the repository namecontains any spaces, enclose it between a pair of double quotation marks.–destinationFile <value>
Path, with optional file name, specifying the location to which the exported file is to be written.
The file must have a .dat extension.
注意:- If the specified path does not include a file name, the name is automatically generated.
- Network paths are also supported.
- If the pathcontains any spaces, enclose it between a pair of double quotation marks.
–overwrite <true|false>
(Optional) Specify whether the existing file, if any, should be overwritten.
注意:If this parameter is not specified, or its value is empty, its value defaults to true.