In addition to using Plesk Migrator, you can back up data on a source server, transfer the resulting archive file to the destination server, and restore the data there. Backing up and restoring can be performed through the Plesk user interface or by means of command-line utilities pleskbackup
and pleskrestore
. The utilities are located in the /usr/local/psa/bin/
directory on Linux systems, and %plesk_cli%
on Windows systems.
Important: The backup and restore utilities and the corresponding functions in Plesk are available only if you install the optional Plesk components that are not included in typical installations. You can install these components by using the web-based installation and update wizard: in Server Administration Panel, go to Tools & Settings > Updates and Upgrades > Add Components, and select Plesk Backup Manager in the Server backup solutions group.
To back up data on the source server using Plesk user interface:
Follow the instructions in the Administrator's Guide for your Plesk version:
To back up all data on the source server using command-line utilities:
/usr/local/psa/bin/pleskbackup server <backup_file_name>
."%plesk_cli%\pleskbackup.exe" --server
."%plesk_cli%\pleskbackup.exe" --all <backup_file_name>
.If you want to save backup files to an FTP server, specify a URL like ftp://[<login>[:<password>]@]<server>/<file_path>
instead of <backup_file_name>
.
If you want to improve backup security, encrypt the backup by adding the -backup-password <your_password> option. Learn more about password-protected backups in the Administrator's Guide, section Backup and Restoration.
If you want to perform a selective backup by means of command-line tools, follow the instructions in the Advanced Administration Guide for Linux and for Windows.
After the data you want to migrate is backed up, upload the backup file to the server and restore the data it contains.
To upload backup file to the destination server and restore data by means of the GUI:
To restore all data on the destination server by means of the pleskrestore command-line utility:
/usr/local/psa/bin/pleskrestore --create-map <path to backup file> -map <path to mapping file>
"%plesk_cli%\pleskrestore.exe" --create-map <path to backup file> -map <path to mapping file>
[ip-map]
. It should contain entries like in the following example:[ip-map]
# Unchanged IP addresses:
# Please review default IP addresses mapping below:
10.52.30.170 shared -> 10.52.30.170 shared # ip address does not exist 10.52.30.170
10.52.120.243 exclusive -> 10.52.120.243 exclusive # ip address does not exist 10.52.120.243
->
characters, replace the present IP addresses with those that should be used on the destination server, and make sure that the allocation scheme for the new addresses is correctly indicated by the words shared
and exclusive
. Shared
indicates a shared IP address, and exclusive
, a dedicated IP address. /usr/local/psa/bin/pleskrestore --restore <path_to_backup_file> -level server -map <path to mapping file>
"%plesk_cli%\pleskrestore.exe" --restore <path_to_backup_file> -level server -map <path to mapping file>
If the backup was protected by password, use the -backup-password
option to specify the password that you used for encryption.
If the restoration fails with the error message Unable to resolve all conflicts
, refer to the section Troubleshooting Migration & Transfer Issues.
Note: If you want to perform a selective restoration by means of command-line tools, follow the instructions in the Advanced Administration Guide for Linux and for Windows.
After data are restored, each transferred website is associated with a separate hosting service subscription not linked to any particular hosting plan. To simplify further maintenance, you can now review properties of all new subscriptions and associate them with hosting plans.