cloning: Server Cloning Settings
The cloning
utility is used to prepare Plesk for cloning to a different virtual machine. As some Plesk parameters have to be unique for each new instance of Plesk (for example, IP pool, SSL certificates, and so on), you should reset these parameters before cloning. This may be done with the cloning
utility. The utility resets the following items:
- The IP pool.
- Plesk GUIDs.
- The administrator's password.
- SSL certificates (only the default certificate, cloning does not change user-defined certificates).
- The license key.
The utility can also be run on the clone Plesk in order to turn off automatic updates.
Usage
cloning <command> [
<option_1> [<param>]
[<option_2> [<param>]]
]
Example
The following command resets all initialization settings and remove the license key on the next start:
plesk bin cloning -u -prepare-public-image true -reset-license true
Commands
Command | Parameter | Description | Example |
---|---|---|---|
|
|
Updates server cloning settings. Requires at least one of the following options: |
To reset all initialization settings and remove the license key on the next start: plesk bin cloning -u -prepare-public-image true -reset-license true |
|
|
Displays current server cloning settings. |
To display current cloning settings: plesk bin cloning -i |
|
|
Displays help on the use of the utility. |
To view help on the use of the utility: plesk bin cloning -h |
Options
Option | Parameter | Description | Example |
---|---|---|---|
|
|
If true, Plesk will reset all of its unique parameters (IP pool, GUIDs, administrator's password, and the default SSL certificate) to the default state on next server boot. Turn this option on before making an image of this Plesk server that you will use for further VPS deployments. Used with |
To reset Plesk unique parameters on next server boot: plesk bin cloning -u prepare-public-image true |
|
|
If you turn this option on and clone your Plesk server, the Plesk license key will not be copied to a new Plesk deployment. It will get the default license key instead. Used with |
To reset the Plesk license after cloning: plesk bin cloning -u reset-license true |
|
|
If true, the Plesk configuration will be reset when you clone your Plesk server. Used with |
To reset the Plesk configuration after cloning: plesk bin cloning -u -reset-init-conf true |
|
|
The cloned Plesk server will not receive updates as part of cloning procedure if you turn on the Note that Plesk will receive updates later if automatic updates are allowed in Tools & Settings > Update and Upgrade Settings. Used with |
To skip installing Plesk updates after cloning, run the following command on the clone right after you clone the Plesk server: plesk bin cloning -u -skip-update true |