CPanel to Virtualmin domain migration
Command line:
virtualmin migrate-domain --source filename --type cpanel --user cpaneluser --pass cpanelpass
Note: For some reason, virtualmin seems to insist on the sourec file being an full path name, i.e., something like , otherwise the command returns with an error that says "Source file does not exist"/path/to/backup/file.tar.zg
The migrate-domain command is documented here: http://www.virtualmin.com/documentation/developer/cli/migrate_domain
You may run out of space in Virtualmin's temp directory if migrating a large CPanel backup file. To get around that, change the temp directory used by Virtualmin to a partition with enough space:
Webmin > Webmin > Webmin Configuration > Advanced > change what the "Temporary files directory" is set to


