hello all - i had quite a time of it migrating my virtualmin-server.
here is a suggestion on what to do LONG BEFORE you actually need to migrate - use virtualbox to run a test-server of your new environment. i have not tried this using vmware (yet).
- on your current server, get your virtualmin migration file:
virtualmin backup-domain [--test] \
--dest /tmp/virtualmin/myMigrationFile.tgz \
--all-domains \
--all-features --except-feature dir \
--all-virtualmin ;
-
download your favorite linux distro ISO-file (ISO files are more entertaining for some reason)
-
download virtualbox.org
-
create a virtual-machine of your linux from step two.
-
yum --assumeyes update ; ## or whatever update tool your linux uses
note: you may need ftp as well !
- install webmin and virtualmin:
##install webmin:
mkdir ~/webmin && cd ~/webmin ;
wget http://sourceforge.net/projects/webadmin/files/webmin/1.630/webmin-1.630.tar.gz/download ;
gzip -d webmin* && tar -xvf webmin* && cd webmin* ;
./setup.sh ;
##install virtualmin:
curl http://software.virtualmin.com/gpl/scripts/install.sh > install.sh ;
chmod 755 ./install.sh ;
./install.sh ; ## this step took a LONG LONG LONG time ! possibly over several hours, believe it or not
-
copy files over (ftp?) from first step to your new server
-
import your virtual-server from the first step:
virtualmin restore-domain [--test] \
--source /tmp/virtualmin/myMigrationFile.tgz \
--all-virtualmin \
--all-features \
--all-domains ;
- have a look in /etc/httpd/conf/httpd.conf to make sure all the VS’s are there.
and a special thanks to eric andreychek for his extraordinary patience.