3.2.5. prlctl migrate

Migrates a container from one server to another.

Syntax. 

prlctl migrate [<source_server>/]<CT_name> <destination_server>[/<CT_name>]
               [--dst=<path>] [--keep-src|--remove-src] [--no-compression] [--ssh <options>]

Table 3.11. Options

NameDescription

<CT_name>

The source container name.

<source_server>

The source server information. Use the following format to specify this info: [<user>[:<password>]@]<server_IP_address_or_hostname>[:<port>].

<destination_server>

The destination server information. If omitted, the migration will be performed locally. Use the following format to specify this info: [<user>[:<password>]@]<server_IP_address_or_hostname>[:<port>].

--dst=<path>

Name and path of the directory on the destination server where the container files should be stored.

--keep-src

Do not remove the original container from the source server. Cannot be used together with --remove-src.

--remove-src

Remove the original container from the source server. Cannot be used together with --keep-src.

--no-compression

Disable data compression during migration.

--ssh

Additional options to pass to ssh to connect to the destination server. All standard ssh options are supported.

Note

Note: Do not specify the destination server hostname or IP address as an ssh option.