Migrating a WordPress site is no easy task. It can either be done manually, which requires some advanced skills or with a migration plugin.
If you are reading this article, there is a good chance that your All-in-One WP migration stuck during the export or import process.
This process has to be done meticulously to make sure everything goes right. It’s a vital step for your site if you intend to move it elsewhere. So it makes sense that the migration has to be perfect to avoid any data corruption or data loss.
Unfortunately, on some occasions, the migration process can get stuck during the export or import phase. Mostly because of one of the following reasons:
- The free version doesn’t allow to import for big backup files
- Timeout issues
- Server space saturated
But rest assured, in this guide, we’ll show you exactly how you can fix all in one wp migration import problem. So let’s get started!
- About All in one WP migration plugin
- Solution #1: All in one wp migration stuck at 100%
- Solution #2: Disk quota exceeded in cPanel
- Solution #3: Timeout issues
- Solution #4: Check your Hosting settings
About All in one WP migration plugin
All-in-One WP Migration plugin is the most popular plugin out there for migrating a website. It’s simple to use; with a click of a button, you can export all your website’s files, including your WordPress core files, themes, plugins, media files, and your database compressed in one single file.
Migrating a website has never been easier, as in the early days, you either had to do all migration manually by yourself, which requires advanced technical knowledge and a lot of time, or you had to seek the services of a developer to take care of that for you.
So naturally, this plugin makes the process easier and accessible to anybody for free. Other migration plugins have a longer migration process, but with All in One wp migration, it consists of a simple export/import backup to your new destination.
Solution #1: All in one wp migration stuck at 100%
The first solution to try would be to use the restore feature of the plugin to import your backup. But this feature isn’t available in the free version of All in One wp migration plugin.
This is why we are going to use an old version of the plugin that will allow you to use the restoration feature. The old version of the plugin can be found here.
Basically, the process consists of 3 major steps:
1. Export your WordPress website backup .wpress file
Start by exporting your backup file. When the export finishes, you’ll get a .wpress file.
Keep in mind that this step may take a long time, depending on how big the size of your site is.
2. After you download the backup file, upload the .wpress file to your new server through FTP
After you download your .wpress file, it is time to upload it to the new server.
You can either upload it by FTP through Filezilla or better i recommend directly from within your hosting file manager, this method allows for a way faster upload.
Connect to your hosting panel, and click on File Manager.
Assuming you have already installed All in One wp migration plugin at your new server, then navigate to wp-content/ai1wm-backups/ directory and upload your file there.
3. Use the restore feature to install the .wpress file in your site
Once the .wpress file is successfully uploaded inside the ai1wm-backups directory, you’ll need to download the older version of the plugin so you can use the restore feature.
So if you already have installed the newest version of the plugin, delete it and upload the old plugin version provided above.
If you go to Backups settings, you’ll be able to find a new backup file you have uploaded earlier, all that is left for you to do is to click the Restore button.
After you initiate the restoration process, you’ll get a popup notifying you that your current site data we’ll be overwritten with the new restoration. Click on Proceed.
Now that your backup restoration has finished. You have one more thing left to do, which is to update your permalinks settings. Basically you just need to save them again, and your migration process has been successfully completed.
Solution #2: Disk quota exceeded in cPanel
One of the reasons why you might not be able to generate a new backup of your site is because your disk space is full. Therefore, you need to clear some space for it in order to create your backup file.
This problem can easily happen if you are adding content to your site on a regular basis. The two main causes to watch out for are the media directory that contains files such as (images, audio, documents, videos, etc.) and the backup directory that contains all your website backups.
I have created a dedicated guide for this matter on how you can free more disk space on your hosting account.
Solution #3: Timeout issues
This happens because of the time limitation set by default in your hosting account settings.
Basically, this means that your hosting has a maximum time limit for how long a request should last. Let’s say if “exporting a backup” takes an hour to be completed and your server’s maximum execution time is only 20 minutes, then this will likely cause a timeout error.
The bigger the size of your website is, the more time it will need to generate the .wpress file.
Sometimes the time to generate the file can take long. That’s why it is best to increase the time limitation on your server. There are two ways you can increase this limitation:
- Editing .htaccess file
- Editing wp-config.php
To edit the mentioned files, you can do it from your hosting file manager. Sometimes the htaccess file is hidden by default, so you need to select this option to make it visible.
php_value upload_max_filesize 128M
php_value post_max_size 128M
php_value memory_limit 256M
php_value max_execution_time 300
php_value max_input_time 300
Change the numbers to the values you need. Keep in mind that the first three lines are related to memory values in Megabytes. As for the last two lines, they represent values in seconds. So increase them if you feel that it’s necessary to do.
@ini_set( ‘upload_max_filesize’ , ‘128M’ );
@ini_set( ‘post_max_size’, ‘128M’);
@ini_set( ‘memory_limit’, ‘256M’ );
@ini_set( ‘max_execution_time’, ‘300’ );
@ini_set( ‘max_input_time’, ‘300’ );
Solution #4: Check your Hosting settings
In some cases, some of these problems are caused because some web hosting companies set limitations on their servers.
Unfortunately, some of these limitations cannot be changed simply because the hosting company wishes to save on its servers resources. That’s why it’s essential that you choose a web hosting that doesn’t impose these kinds of limitations on its users.
For this purpose, I highly recommend HostGator for the following reasons:
- They offer a free migration service, which means you don’t have to do a thing, they take care of everything for you.
- There is no file size limit in the File Manager, which means you can upload your .wpress file regardless of its size.
- They have fast servers, so your site is guaranteed to run faster compared with other hosts, and can transfer files at a much greater speed.
- HostGator offers high-quality services and their pricing is one of the cheapest in the web hosting industry.
- On top of all, HostGator offers Unlimited bandwidth so no need to worry about calculating your bandwidth anymore.
I have used Duplicator plugin in the past and I think that it’s a good alternative in case you are considering a new backup and migration plugin.
With that said, I hope this article helped you solve your problem!
If you are still facing any issues with your migration, do let us know in the comment section and I will help you in the best way I can ^_^