WordPress Migration and Backup
If you are a web designer or web developer you must come across times when you are required to move a website from one server to another server. Specifically, if you are working is any of the website designing company or digital marketing company. The usual process of designing a website is to design and develop it on company’s local resources and deploy it to production servers once the customer approves everything. In case of a static website this is a relatively easy task, but if you are moving a dynamic website it could be a very tedious task – especially if it is a WordPress website especially with a lot of plugins and custom themes.
Luckily, we have got a few options to move WordPress website from one server to another quite easily one of the most famous one is All in One WP Migration plugin. This plugin comes in two options the first one is free – which we will be using today – and the second one is premium extension to remove the 512 MB file size restriction namely “Unlimited Extension”, although the premium extension is only $69 at the time of this blog post. If you are a Freelance Web Designer or a Full-Service Digital Marketing Company or even if you are employed and working for only a Website Designing and Development Company/Firm/Agency, we highly recommend purchasing the premium extension of the plugin.
The premium extension has a lot more than just the file size freedom. You can back up you WordPress website and restore it from same backup file with a single click, please note that this is not external full backups that we are used to with in regular situations, these backups are more like website versioning or staging website versions, more on this later in separate article. You can import it at whatever, whenever and wherever you want to restore your WordPress website from your own hosting account. The Premium extension of the plugin will definitely add more value to your tool-set than its actual price. The company that created and maintain this plugin is called ServMask has many other premium extensions to the plugin that will help you do much more that just migrations of WordPress websites.
Using All In One WP Migration Plugin
We have been using the plug-in for quite a long time and very satisfied with the results. The free version has a restriction of maximum 512 MB of file size on import. To overcome this limitation, you can upgrade by adding the premium extension where the file size has no limits. However today we are going to share one trick with you that will work for you with the free version to bypass the file size restriction of 512 MB. Please note that this is not any magic trick, it is just a hidden feature that is seldom used so we thought of bringing it to light and explore the possibilities.
Also note that the method we are going to share with you today is just not to overcome the 512 MB file size limitations, this method also makes it faster to move a WordPress website and helps avoid all the additional configurations required to be done on server side. We will talk about those configurations later in another article. So, let’s get started with the migration process.
Bypass 512 MB Limit of file size on import process
To bypass the 512 MB limit of All in One WP Migration, all you have to do is to follow the same process of backing up your WordPress website except that at the time of export you have to click the advanced setting and select or check all the options except for the database option.
So now you are backing up only and only the database of the source WordPress website. This definitely will reduce the backup file size, and your exported file size will be less than 512 MB. However, the story does not end here. In the next phase go to the C-Panel (or whatever Control Panel you are using) then file manager of source WordPress website, and back up your WP-content folder by zipping it, and then downloading it to your local hard drive.
Backup left-out content manually
You can achieve this step also by using FTP clients like FileZilla, just download the full WP-content folder and all its content via FTP to your local hard drive and zip it locally.
In the next step, login to your target C-Panel (the destination C-Panel account, where you are migrating to) and upload the WP-content zip file to the WordPress installation root directory and unzip it to overwrite the existing WP-content folder. Now login to your target WordPress installation and import the database backup created by All in One WP Migration plugin that you just exported in step 1 with help of All in One WP Migration plugin on the source WordPress website.
Finalizing the process of WordPress Migration
Finally go to WordPress admin panel and continue with All in One WP Migration process. In most cases it will advise to save your permalink structure twice and you are done with the migration process. However, if you are migrating from a server with an older version of PHP to a server with a newer version of PHP you might get some warnings or errors. Although this is yet another part of the whole process, we advised to keep the PHP versions on both source WordPress website and target WordPress website’s servers the same to avoid such issues.
Apart from keeping the PHP version same, below are some common configurations that you can do to sort out most common problems. One of which is of course the All in One WP Migrations stops/halts import process at some level of progress. Sometimes at 100%, funny isn’t it?
- BACKUP & RESTORE OR JUST VERSIONING
- MIGRATE WORDPRESS WEBSITE WITH ALL IN ONE WP MIGRATION PLUGIN
If your import is failing, please do the following configuration for your PHP either directly in C-Panel or by creating a php.ini file in the WordPress root directory:
- max_execution_time = 300
- max_input_time = 300
- post_max_size = 512M
- upload_max_file size = 512M
Please let us know your feedback on this little trick and let us know if it worked for you or even you might have encountered any issue or problem do share with us here in the comments below.