Assistance Required for Large File Restoration Errors with All-in-One WP Migrati

Here is a screenshot showing the exact errors I’m encountering:

I have allowed the plugin to run for over 30 minutes, but it remains stuck at 3%. Additionally, when attempting to access the homepage in a new tab, I encounter an “error establishing a database connection.” I would like to note that WP_DEBUG is already set to true in my wp-config.php file, and my PHP version is 7.4.2.

Please advise on the next steps to resolve these issues.

The source site is running PHP version 7.3.

The target site is running PHP version 7.4.2.

Plugin Author


Hello Mustafa,

It sounds like you’re facing challenges with restoring a large backup using the All-in-One WP Migration plugin. The errors you’re encountering suggest a potential issue with handling large files, which is quite common when dealing with backups over 3GB.

Given the console errors and the measures you’ve already implemented, here are a few additional steps and recommendations to help resolve this issue:

1. Large file operations may exceed default script execution times, leading to timeouts. Increase the max_execution_time in your php.ini file:
max_execution_time = 300 // You may need to increase it further depending on the backup size

2. Ensure that your server configuration supports large file operations. This includes settings in php.ini for upload_max_filesize and post_max_size:

upload_max_filesize = 4096M
post_max_size = 4096M

Adjust these values as necessary to accommodate your backup file size.

3. For handling particularly large backups more efficiently, consider using the Unlimited Extension. This extension enhances the plugin’s capabilities, particularly in terms of handling large file sizes and extending execution times, making it ideal for substantial projects like yours.

4. Monitor your server resource usage (CPU, RAM) during the restoration process. Insufficient resources can cause the process to halt unexpectedly.

5. If you continue to encounter issues despite these adjustments, I recommend reaching out to a professional for more personalized assistance.


This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer