cPanel migration to Virtualmin

7 posts / 0 new
Last post
#1 Fri, 11/23/2018 - 18:08
NTM

cPanel migration to Virtualmin

Hello,

How can I do to migrate website and emails from a cPanel account to Virtualmin? It's not just to migrate email users, I also want you to copy the contents of your email accounts.

It's possible?

Cumps

Sat, 11/24/2018 - 10:00
TheRavenKing

Yes, it is possible, in Virtualmin, Add servers, Migrate virtual server. You can upload the backup file or use any other location. Just take time to read the options. To avoid any issues use the cpanel account name and password, don't use the Work out from backup.

Sun, 12/02/2018 - 17:41 (Reply to #2)
NTM

Thanks. I'll try. Other question... It's necessary create emails before on Virtualmin or when I import backup to Virtualmin he creates all emails and transfer email data files?

Sun, 12/02/2018 - 14:19
NTM

Thanks. I'll try. Other question... It's necessary create emails before on Virtualmin or when I import backup to Virtualmin he creates all emails and transfer email data files?

Sun, 12/02/2018 - 14:52
euronetwork

The migration of a new set-up cPanel WHM 11.48.5 (build 3) domain on a freshly installed Webmin 1.900 / Virtualmin 6.04.gpl fails with the error message

[root@server cpanel_backup]# virtualmin migrate-domain --type cpanel --source /cpanel_backup/backup-12.2.2018_19-57-46_cptovmin

Validating migration file .. .. validation failed : Could not find mail aliases file for cp2vmin.com in backup

As said, the domain was just initialised within cPanel, than a full backup was send over to the virtualmin server as a tar archive. The archive was extracted into the folder /cpanel_backup/backup-12.2.2018_19-57-46_cptovmin

Which is the missing mail alias file, where do I expect it to be in the cPanel backup?

Thu, 12/20/2018 - 13:09
paulopinto

Hello,

I'm having the same problem and couldn't make any advacement regarding this. Any solution to the "mail aliases" validation failure?

EDIT: For everybody having this problem. I analised the code from github and found out that the import mechanism requires a file in the "vf" folder, located in the root of your backup, named after the domain you are trying to migrate. So, if you are trying to migrate the account "example.com" you need to go to the folder example/vf and create an example.com empty text file.

Hope this helps

Fri, 12/21/2018 - 14:03
euronetwork

Yes, the problem is solved as described in an answer at https://github.com/virtualmin/virtualmin-gpl/issues/66#issuecomment-4439...

Topic locked