Migrate from PLESK Onyx 17.0.17

Can you please tell me if there is a way to migrate a domain from PLESK Onyx 17.0.17?

Status: 
Active

Comments

Howdy -- thanks for contacting us!

If you go into Add Servers -> Migrate Virtual Server, and choose "Plesk 9+ Backup", you should then be able to import your Plesk backup file(s).

Let us know if that works for you!

If you receive an error of some kind, let us know what error you're seeing.

Status:
Active
»
Needs review

Howdy,

I just migrated to Virtualmin using some Plesk backups from /var/lib/psa/dumps/domains/

So I copied all files to /plesk/ directory on the new server using scp scp oldhost:/var/lib/psa/dumps/domains/* /plesk/

Afterwards I tried to migrate al domains using : "virtualmin migrate-domain --source /plesk/* --type plesk9" or even without asterisk, it will always just migrate the first domain he finds - not any more.

So the workaround was for i in ls /plesk/; do  virtualmin migrate-domain --source /plesk/$i --type plesk9 ; done

However some databases were not imported, I checked the backup directories and they were backed up properly. I would like to say that those not imported databases are mostly Wordpress sites created with the Plesk tool. Example folder: "/plesk/somedomain/databases/wordpress_d_1"

SRC Host:
MariaDB [psa]> SELECT DISTINCT TABLE_SCHEMA from INFORMATION_SCHEMA.COLUMNS WHERE TABLE_SCHEMA LIKE "%wordpress%";
+--------------+
| TABLE_SCHEMA |
+--------------+
| wordpress_2  |
| wordpress_4  |
| wordpress_9  |
| wordpress_d  |
| wordpress_n  |
+--------------+
5 rows in set (0.38 sec)

Virtualmin Host:
MariaDB [(none)]> SELECT DISTINCT TABLE_SCHEMA from INFORMATION_SCHEMA.COLUMNS WHERE TABLE_SCHEMA LIKE "%wordpress%";
+--------------+
| TABLE_SCHEMA |
+--------------+
| wordpress_4  |
+--------------+
1 row in set (0.01 sec)

Yes, Virtualmin doesn't support wildcards in the migrate-domain command, sorry - you'd need to use a shell loop instead.

Regarding the missing database, this seems like a bug in our migration process. Would it be possible to get a copy of one of the problem backup files?

Status:
Needs review
»
Active

Hello,

of course I am willing to provide you with any backup for reproducing the error. However I just reinstalled Plesk to get the Websites running properly, I will switch to an external database in order to properly migrate all Websites to some Virtualmin Cluster then, but this might take some additional time though.

Feel free to contact me using the e-mail address I registered with, or just let me know how I could contact you. For now I am also running on Plesk 17.8 which is still marked as unstable, but Plesk should not have changed that much with creating backups though.

Thanks guys. I successfully migrated a domain from Plesk Onyx Version 17.8.11 to Virtualmin version 6.03.