Resolution
To do this follow the steps below:1. Upload migration agent and modules to the source server. For example for Plesk, there are two folders: /usr/local/psa/PMM/agents/shared and /usr/local/psa/PMM/agents/PleskX. Use the command below to copy the Migration Manager:
destination ~# scp -r /usr/local/psa/PMM/agents/shared/* /usr/local/psa/PMM/agents/PleskX/* root@source:/temporary_migration_directory/ 2. Login to source server and change to directory /temporary_migration_directory.
Run migration agent (PleskX.pl) with parameter --help to get all available options of the migration agent. Start dumping with options you need. For example:
source ~# cd /temporary_migration_directory
temporary_migration_directory ~# chmod 755 PleskX.pl
temporary_migration_directory ~# ./PleskX.pl --dump-all 3. This will create dump configuration file dump.xml and content dump archives in current directory /temporary_migration_directory.
4. On the destination server create directory /work_dir and copy file dump.xml from /temporary_migration_directory to it.:
source ~# scp /temporary_migration_directory/dump.xml root@destination:/work_dir/5. Create subdirectory /work_dir/archives and copy other content dump files to this directory (/work_dir/archives).
source ~# scp -r /temporary_migration_directory/* root@destination:/work_dir/archives/6. Then you can restore the data via Plesk Control Panel.
Login to Plesk Control Panel as administrator and change to the Migration Manager page (Server -> Migration Manager). Start new migration and select Data import. Pay attention for choosing correct Working directory for the data importing, it should the directory where you put the data (/work_dir).
Keywords: manual migration pmm utility