cloning.exe: Server Cloning Settings
The cloning.exe
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, IIS passwords, and so on), you should reset these parameters before cloning. This may be done with the cloning.exe
utility. The utility resets the following items:
- The IP pool.
- Plesk GUIDs.
- Passwords for all IIS users (Anonymous and Application pool users for the Plesk website and all sites created by Plesk: Horde, Atmail, and all customer sites).
- The administrator's password.
- The license key.
The utility can also be run on the clone Plesk in order to turn off automatic updates.
Location
%plesk_cli%
Usage
cloning.exe <command> [
<option_1> [<param>]
[<option_2> [<param>]]
]
Example
The following command resets all initialization settings and remove the license key on the next start:
cloning.exe -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: cloning.exe -u -prepare-public-image true -reset-license true |
|
|
Displays current server cloning settings. |
To display current cloning settings: cloning.exe -i |
|
|
Displays help on the use of the utility. |
To view help on the use of the utility: cloning.exe -h |
Options
Option | Parameter | Description | Example |
---|---|---|---|
|
|
If true, Plesk will reset all of its unique parameters (IP pool, GUIDs, administrator's password, and passwords of all IIS users) 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: cloning.exe -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: cloning.exe -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: cloning.exe -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: cloning.exe -u -skip-update true |