The migrate
utility is used to automatically transfer or migrate a
large number of Plesk accounts (subscriptions). This utility offers the
functionality of Migration and Transfer Manager via the command-line
interface. When you need to migrate or transfer over fifty accounts or
subscriptions, doing that using the Plesk UI might be impossible. Using
the migrate
utility helps to perform such operations.
With this utility you can do the following:
- Check for problems that might occur after transfer (or migration).
- Create lists of Plesk objects to transfer (or migrate).
- Choose type of data to transfer (or migrate).
- Choose whether to replace existing objects.
- Transfer (or migrate) the specified Plesk objects.
- Restore the data of previous migrations (transfers) from temporary
files on the destination server.
Usage
migrate.exe <command> [
<option_1> [<param>]
[<option_2> [<param>]]
... [<option_N> [<param>]]
]
Example
The following command transfers the mail-related data of subscriptions
example1.com and example2.com from a server with IP address
192.168.1.100 and the administrator’s credentials Administrator and
mypassword:
plesk bin migrate.exe --migrate_subscription example1.com,example2.com -host 192.168.1.100 -login Administrator -password mypassword -mail-only
Note: Before starting migration or transfer, check for potential problems
by using the commands --check-subscription
, --check-customer
,
or --check-reseller
.
Commands
Command | Parameter | Description | Example |
---|---|---|---|
--list-subscriptions or -ls
|
Displays the list of subscriptions available for transfer (or migration). |
To display a list of all subscriptions on the source server |