I’m migrating a FreeBSD 8.0 system running webmin 1.620 and virtualmin 3.98.gpl to a fresh Debian Wheezy system running webmin 1.701 and virtualmin 4.10.gpl. There are about 54 domains on the old system.
I installed a fresh Wheezy system. I added my favorite utilities including my own firewall scripts. I added the following to apt/sources.list:
# usermin & webmin
deb http://download.webmin.com/download/repository sarge contrib
# procmail-wrapper virtualmin-base
deb http://software.virtualmin.com/gpl/debian/ virtualmin-wheezy main
deb http://software.virtualmin.com/gpl/debian/ virtualmin-universal main
I ran install.sh
I ran out of disk space in /tmp, so I “mv /tmp/.webmin /var/tmp” and in
Webmin -> Webmin -> Webmin Configuration -> Advanced Options, and changing
“Temporary files directory” to /var/tmp/.webmin
I followed the instructions at http://www.virtualmin.com/documentation/system/migrate
I scp’ied the backups from the FreeBSD system.
I ran virtualmin restore-domain --source /var/migration-backups/virtualmin.tar.gz --all-virtualmin
No apparent errors:
[code]Checking for missing features …
… all features in backup are supported
Checking for errors in backup …
… no errors found
Starting restore…
Extracting backup archive file …
… done
Restoring Virtualmin settings …
Restoring Virtualmin configuration …
… done
Restoring templates and plans ..
.. done
Restoring email templates ..
.. done
Restoring custom fields, links, categories and shells ..
.. done
Restoring custom script installers ..
.. done
Restoring scheduled backups and keys ..
.. done
Restoring FTP directory restrictions ..
.. done
Restoring DKIM settings ..
.. not installed
Restoring greylisting settings ..
.. not installed
Restoring rate limiting settings ..
Restoring mail server configuration ..
.. done
… done
Applying FTP server configuration …
… done
Restore completed successfully.[/code]
I ran virtualmin restore-domain --source /var/migration-backups/ --all-domains --all-features
There is just one error at the end:
[code]Checking for missing features …
… all features in backup are supported
Checking for errors in backup …
… no errors found
Starting restore…
Extracting backup archive files …
… done
Restoring backup for virtual server chinamedicinemall.com …
Restoring virtual server password, quota and other details …
… done
Updating administration password and quotas ..
.. done
Restoring Cron jobs ..
.. done
Extracting TAR file of home directory ..
.. done
Setting ownership of home directory ..
.. done
Restoring Apache virtual host configuration ..
.. done
Checking restored PHP execution mode ..
.. mode Apache mod_php OK for this system
Restoring allowed MySQL hosts ..
.. done
Re-loading MySQL database chinamed ..
.. done
Restoring Webmin ACL files ..
.. done
Re-creating mail and FTP users ..
Error: makemap failed : sh: 1: makemap: not found
Error
makemap failed : sh: 1: makemap: not found[/code]
In Debian makemap is provided by the sendmail-bin package, but that conflicts with postfix which is required for virtualmin. So I do not know how to resolve that error.
Is that error the reason why only 1 of the 45 domains got migrated (according to the “List Virtual Servers” screen in the GUI)?
Is there a listing of all the places virtualmin stores data so I can audit the restore and determine what got migrated and what is missing?
Why is it not seeing the other 55 files like *.{info,dom,tar.gz} in /var/migration-backups/ ? Should I try to specify each domain one at a time? How?