How to move your WordPress blog to Azure VM (Part 3 of 4)

This continues our series of posts showing how to move your WordPress blog ti Azure VM

Backup existing WordPress site content

Backing up site content for your existing WordPress site can be accomplished using FTP or other file transfer options. Many web hosting companies provide a control panel that allows you to visually explore contents of your website in the browser and also allow you to download site content. I chose to download my content using FTP. You should backup all the files from your WordPress root folder including wp-admin, wp-content and wp-includes folders.

Backup existing WordPress site database

You can back up your WordPress database using one of many known methods. Your website host may provide you with phpmyadmin access which allows you to manage your MySQL databases including backup and restore functionality. As my web host did provide phpmyadmin, I decided to leverage it. After logging into phpmyadmin portal, I selected my database and selected “Export” tab:

WordPress in Azure deployment guide

Notice how I chose to select custom export instead of quick method. When selecting custom, quite a few more options become available:

WordPress in Azure deployment guide

Note that I left all tables selected for export (default), and chose to save output on server.

WordPress in Azure deployment guide

Next, I selected output compatibility to “MySQL40”. I came upon discovery of this setting after my initial export failed to import properly using default option “None”.

I did not have to change any other settings so I proceeded with export:WordPress in Azure deployment guide

You can opt for MySQL Workbench or other options for backing up your WordPress database if you like.

You can find detailed WordPress backup instructions on this page:

Now that we have both site content and database backup, let’s look at restoring the data to the WordPress site we created earlier.

Bhargav Shukla
Bhargav Shukla

As Director of Technology for Strategic Alliances at KEMP Technologies, Bhargav anticipates technological changes and trends, creates technical architecture and drives strategic direction of KEMP products. Prior to KEMP Bhargav worked for Microsoft, helping enterprise customer on challenging and large (100K+ seats) deployments of Unified Messaging products - Microsoft Exchange and Microsoft Lync. Bhargav is one of very few people in the world to hold the prestigious dual Microsoft Certified Master certification for Microsoft Exchange 2010 and Lync 2010. Bhargav's deep experience in enterprise technologies and Microsoft platforms has enabled him to serve on the board of Microsoft Certified Architects for Exchange 2010, one of the trainer for Exchange and Lync MCSM programs, the Judges Panel for PowerShell scripting games and to speak at TechEd 2011, TechEd 2012 and other public events. In 17 years of IT experience, Bhargav has worked on multitude of technologies including Messaging, Directory Services, Information Security, Virtualization among others.