How to Fix All-in-One WP Migration Upload Limits and File Size Errors
Content
Many WordPress users rely on the All-in-One WP Migration and Backup plugin for site migrations. A common and frustrating issue occurs when the plugin reports an upload limit error—like 128MB, 512MB, or 1GB—even after you've correctly increased your server's PHP settings. This guide explains why this happens and walks you through the most effective solutions.
Why Am I Getting an Upload Limit Error?
The upload limit displayed by the All-in-One WP Migration plugin is not a limit set by the plugin itself. Instead, it reads the various restrictions configured on your web server. The error appears when your backup file is larger than the most restrictive limit in your server's environment. Common culprits include:
- PHP Settings: The primary settings are
upload_max_filesize,post_max_size, andmemory_limit. - Web Server Config: Servers like Nginx or Apache may have their own client max body size directives.
- Hosting Plan Restrictions: Some shared hosting providers enforce hard limits on upload sizes, which cannot be overridden by changing your PHP settings alone.
- Execution Timeouts: A large file upload may take longer than the
max_execution_timeallows, causing the process to fail.
Step-by-Step Troubleshooting Guide
1. Verify and Increase PHP Settings
First, ensure your PHP settings are correctly configured to be larger than your backup file. You typically need to adjust these four values in your php.ini file, or via your hosting control panel (e.g., cPanel):
upload_max_filesize = 2048M(Set to a value larger than your backup)post_max_size = 2048M(Set to a value larger than your backup)memory_limit = 2048M(Set to a value larger than your backup)max_execution_time = 0(Set to 0 for unlimited, or a very high number like 600)
Important: After making these changes, you must restart your web server (e.g., Apache) for them to take effect. Simply saving the file is often not enough.
2. Check for Web Server Limits
If your PHP settings are correct but the problem persists, your web server software might be imposing a separate limit.
- For Nginx: Look for the
client_max_body_sizedirective in your server configuration and ensure it is also larger than your backup file. - For Apache: Limits may be set using
LimitRequestBodyin an.htaccessfile or the server config.
3. Consult Your Hosting Provider's Error Logs
This is a critical step. The error message in your WordPress dashboard is often generic. The true cause of the failure is logged in your server's error logs.
Contact your hosting provider's support team and ask for the error logs for your website around the specific time you attempted the upload. The logs will explicitly state which limit was encountered (e.g., a specific Nginx or security module limit), allowing you or your host to fix it precisely.
4. Consider the 1GB Barrier
Several user reports indicate a recurring issue where uploads fail specifically for files larger than 1GB, even with seemingly correct server settings. This often points to a deeper server-level constraint, such as:
- A hard cap set by the hosting provider on certain plans.
- Limitations of a 32-bit PHP build.
- Security software or firewalls (e.g., ModSecurity) blocking very large requests.
Your hosting provider's support is best equipped to investigate and resolve these specific infrastructure-level issues.
5. Alternative Import Methods
If uploading through the plugin's interface continues to fail, you have another option:
- Use an FTP client (like FileZilla) or your hosting provider's file manager.
- Navigate to the
wp-content/ai1wm-backups/directory on your destination site. - Manually upload your
.wpressbackup file to this folder. - Return to the All-in-One WP Migration > Import page in your WordPress admin. Your manually uploaded file should now appear in the list of backups available for restoration.
This method bypasses the web server's upload handlers entirely and is a reliable workaround for many users.
Summary: Key Takeaways
- The upload limit error is server-related, not plugin-related.
- Always set
upload_max_filesize,post_max_size, andmemory_limitto values higher than your backup file. - Restart your web server after changing PHP settings.
- Check server error logs for the exact error—this is the fastest way to identify the problem.
- For files over 1GB, be aware of potential hosting-level barriers.
- Use FTP to manually place the file in the
ai1wm-backupsfolder as a proven alternative.
For persistent issues, your hosting provider's technical support is your best resource, as they have full access to your server's configuration and error logs.
Related Support Threads Support
-
Max upload file size limited to 128 MB instead of 512 MBhttps://wordpress.org/support/topic/max-upload-file-size-limited-to-128-mb-instead-of-512-mb/
-
error in uploading backup filehttps://wordpress.org/support/topic/error-in-uploading-backup-file/
-
unable to fully download or export buckuphttps://wordpress.org/support/topic/unable-to-fully-download-or-export-buckup/
-
Raising upload limit still doesn’t let me upload the backuphttps://wordpress.org/support/topic/raising-upload-limit-still-doesnt-let-me-upload-the-backup/
-
Uploud max file size is lowhttps://wordpress.org/support/topic/uploud-max-file-size-is-low/
-
Filesize increases with each exporthttps://wordpress.org/support/topic/filesize-increases-with-each-export/
-
File uploads but doesn’t workhttps://wordpress.org/support/topic/file-uploads-but-doesnt-work/
-
Increase upload file sizehttps://wordpress.org/support/topic/increase-upload-fiel-size/
-
Upload Freezinghttps://wordpress.org/support/topic/upload-freezing/
-
Breaking Limits: Uploading a 1GB Backup on All-in-One WP Migration Pluginhttps://wordpress.org/support/topic/breaking-limits-uploading-a-1gb-backup-on-all-in-one-wp-migration-plugin/
-
Size of the backup and critical errorhttps://wordpress.org/support/topic/size-of-the-backup-and-critical-error/
-
Why export size is too big now in compare to before ?https://wordpress.org/support/topic/why-export-size-is-too-big-now-in-compare-to-before/
-
Upload limit is not working correctlyhttps://wordpress.org/support/topic/upload-limit-is-not-working-correctly/
-
Maximum File Size – Free Versionhttps://wordpress.org/support/topic/maximum-file-size-free-version/
-
Support for 2.5Gb site?https://wordpress.org/support/topic/support-for-2-5gb-site/
-
Upload size limit…https://wordpress.org/support/topic/upload-size-limit-4/
-
Backup import > 1 GBhttps://wordpress.org/support/topic/backup-import-1-gb/
-
My export file is 4.1gbhttps://wordpress.org/support/topic/my-export-file-is-4-1gb/
-
Maximum upload file size: 50https://wordpress.org/support/topic/maximum-upload-file-size-50/
-
Upping File size limithttps://wordpress.org/support/topic/upping-file-size-limit/
-
Upload Limit of 1 GB?https://wordpress.org/support/topic/upload-limit-of-1-gb/
-
Maximum File Size Upload Limit 1 GBhttps://wordpress.org/support/topic/maximum-file-size-upload-limit-1-gb/
-
How to Upload 1 GB Backup in WordPress?https://wordpress.org/support/topic/how-to-upload-1-gb-backup-in-wordpress/