Copy (cp)

usage: adr.bat cp [-h] [--test] [--verbose] [--type {item,template}] [--query query_string]
                  source_server_url destination_server_url

Copy items, sessions, datasets and templates from one ADR server to another.

positional arguments:
source_server_url       ADR server URL. Example: http://nexus:cei@127.0.0.1:8000
destination_server_url
                        Target ADR server URL. Example: http://nexus:cei@127.0.0.1:8000

options:
-h, --help            show this help message and exit
--test                Validate the operation, but do not perform it
--verbose             Include progress and other information
--type {item,template}
                        Select the object type to copy. Default: item
--query query_string  Specify a query string using URI syntax.  Default: no filter

This tool copies a selected collection of objects (data items or templates) from one server to another. Globally Unique Identifiers (GUIDs) are preserved and any referenced session and dataset objects are copied as well.

Argument/OptionDescription
Arguments
source_server_urlSpecifies the hostname, port, username and password of the ADR server to read items from. For example: http://nexus:cei@127.0.0.1:8000 specifies a server running on the local machine (127.0.0.1) on port 8000. The username is nexus and the password is cei.
destination_server_urlSpecifies the hostname, port, username and password of the ADR server to copy items into. For example: http://nexus:cei@127.0.0.1:8000 specifies a server running on the local machine (127.0.0.1) on port 8000. The username is nexus and the password is cei.
Options
-h, --helpDisplays the usage message and exits.
--verboseDisplays additional status and progress information during the operation.
--testSimulates the operation without actually performing it. This is helpful when debugging command lines, especially when used in conjunction with the --verbose option.
--type {item,template}Specifies the type of objects to copy. This command can copy data items or templates.
--query query_stringUses the query string to select the specific objects of the specified type (--type {option}) to perform the operation on. See Query Expressions for the syntax.