This website is deprecated, and remains online only for historic access to old issues and docs for historic versions of Virtualmin. It has been unmaintained for several years, and should not be relied on for up-to-date information. Please visit www.virtualmin.com instead.
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.
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.
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?
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?
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
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?
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.
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.
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?
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?
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?
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
Yes, the problem is solved as described in an answer at https://github.com/virtualmin/virtualmin-gpl/issues/66#issuecomment-4439...