Chris_Lemmer
New Pleskian
Plesk Migrator provide GUI for Plesk-to-Plesk migrations, but significant amount of specific features and advanced settings are not exposed yet. Most of them will be available in near future - we are working on it right now.
So, if you chose to use Plesk Migrator via CLI, you need to perform several steps, listed below:
1. Configuring. You need to specify access to source and target server and also several other settings. No need to start with blank page, you can choose one of samples, available here: /usr/local/psa/admin/plib/modules/panel-migrator/backend/conf/samples/. For example, plesk-unix.simple.ini - just copy it into /usr/local/psa/admin/plib/modules/panel-migrator/backend/conf/config.ini - default location, there Plesk Migrator will search configuration file:
cp /usr/local/psa/admin/plib/modules/panel-migrator/backend/conf/samples/plesk-unix.simple.ini /usr/local/psa/var/modules/panel-migrator/conf/config.ini
Then open just created config.ini and specify target server IP, source server IP and source server root ssh password. More options, available for configuration, could be found in other samples: look at the plesk-unix.ini (w/o suffix 'simple'), for example.
2. Specifying of hosting objects, existing on source server: domains, clients, reseller, etc., that should be migrated. You just need to run:
/usr/local/psa/admin/sbin/modules/panel-migrator/plesk-migrator generate-migration-list
You could check result and perform some manipulations with generated list (/usr/local/psa/var/modules/panel-migrator/sessions/migration-session/migration-list by default), but if you want to migrate all server, just leave it as is.
3. Performing the migration:
/usr/local/psa/admin/sbin/modules/panel-migrator/plesk-migrator transfer-accounts
After that, if no critical issues found, all domains, clients, resellers and etc, listed in migration list, will be created on target server. Hosting settings - addon domains, subdomains, aliases, databases, mail boxes, accounts, etc will be created as well. Content (files, e-mails, databases) will be copied automatically from source to target. So, all migration actions will be done after successfully completion of transfer-accounts command.
4. Checking the result: optional step, but could be very usefull to verify that migrated domains works fine:
/usr/local/psa/admin/sbin/modules/panel-migrator/plesk-migrator test-all
There are a lot of other useful commands, that could be used to tune migration process as you need, documentation will be updated soon.
Need to note, but before you run transfer-accounts would be nice to run pre-migration checks:
/usr/local/psa/admin/sbin/modules/panel-migrator/plesk-migrator check
This command will report all potential issues which you can face then performing the migration before any action will be executed.
Hi there,
Thanks so much for your detailed reply.
I just have a question now. I have migrated an account and it seems to work. However, it just seems to have a few issues. Some of the databases don't seem writable and I am also not able to add new databases on the migrated account. The "create database" button is missing.
However, when I create a fresh new account on the target servers, I can create new databases. It's just the migrated accounts where I can't.
Could it maybe be because the root user doesn't have rights on the external MySQL server?
Thanks
Chris