The Linux site migration tool allows you to migrate sites from Linux web servers running Apache to the cloud.
Note: only Apache is supported at this point in time.
Make sure that all prerequisites are installed, and then run:
wget https://www.movemetothecloud.net/Azure-Apache-Migration-Tool.tar.gz
tar -xvzf Azure-Apache-Migration-Tool.tar.gz
cd Azure-Apache-Migration-Tool
You can also download the tool here
To run the tool, execute: perl migrate_tool_main.pl
and follow the prompts.
This requires some perl libraries. Most should be included with your distro, the most notable missing piece is perl LWP HTTPS support. By default we don't include this library because it takes OS specific dependencies.
sudo apt-get install liblwp-protocol-https-perl
sudo yum install perl-LWP-Protocol-https
sudo yum install perl-Digest-MD5
sudo yum install perl-Compress-Raw-Zlib
sudo zypper install perl-LWP-Protocol-https
The tool parses the main Apache configuration file, detects all sites and their root directories. We then allow you to create the sites and databases using our website. Once the sites and databases are created, we read in the publishing settings, and move the site and databases into the cloud.
Currently we support the following PHP frameworks: