Submitted by tstav on Fri, 06/16/2017 - 04:24 Pro Licensee
Can you please tell me if there is a way to migrate a domain from PLESK Onyx 17.0.17?
Status:
Active
Can you please tell me if there is a way to migrate a domain from PLESK Onyx 17.0.17?
Comments
Submitted by andreychek on Fri, 06/16/2017 - 09:50 Comment #1
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.
Submitted by Progamernoob on Thu, 10/12/2017 - 13:11 Comment #2
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 ; doneHowever 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)
Submitted by JamieCameron on Sat, 10/14/2017 - 01:24 Comment #3
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?
Submitted by Progamernoob on Tue, 10/17/2017 - 19:56 Comment #4
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.
Submitted by JamieCameron on Wed, 10/18/2017 - 22:51 Comment #5
You can email me the backup (or the place to download it from) at jcameron@virtualmin.com
Submitted by anil3a on Thu, 09/20/2018 - 00:06 Comment #6
Thanks guys. I successfully migrated a domain from Plesk Onyx Version 17.8.11 to Virtualmin version 6.03.