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
- How to move your WordPress blog to Azure VM (Part 1 of 4)
- How to move your WordPress blog to Azure VM (Part 2 of 4)
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:
Notice how I chose to select custom export instead of quick method. When selecting custom, quite a few more options become available:
Note that I left all tables selected for export (default), and chose to save output on server.
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”.
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: http://codex.wordpress.org/WordPress_Backups#Database_Backup_Instructions
Now that we have both site content and database backup, let’s look at restoring the data to the WordPress site we created earlier.