Out Of Disk Space

The All-in-One WP Migration plugin may fail to export or import due to a lack of disk space.

This means that your WordPress installation server, whether local or remote, lacks sufficient space for the plugin to create and store a backup file or import from a destination backup. In such cases, the All-in-One WP Migration plugin does not have enough space to create and use temporary files during the import or export processes, or to save the newly created backup.

This error may appear due to a variety of factors, including hosting restrictions (insufficient disk space on the server) and 32 bit PHP installation on the server.

Hosting restrictions limit the amount of space you can use on the server that hosts your website. The amount of storage your users use can change or update by the hosting provider; as a result, you must communicate this with them.

In such cases, you must keep track of the available space on your WordPress installation server. In order for both the import and export to work properly, the available space should be at least equal to the size of your WordPress website. You can see how much it is by looking at the size of the directory in which the WordPress installation is located, in the same way that you check the size of all files and folders – using the right click button and looking at the value of the Size property:

Export and import should work if the available space is at least as big as your website.

File size restrictions may also occur as a result of the PHP 32bit version installed on the server. The maximum upload file size for the 32bit version of PHP is 2GB. This means you can not create, upload, or use backups larger than 2 GB. This issue is related to the PHP installed on the server where your website is hosted and, as a result, must be communicated with the hosting provider as well.

If you still have issues after following the above steps, please contact us at support@servmask.com.




  1. Andrew

    Hi Support

    I use all in one with the extension to back up my wordpress websites onto my computer but only recently I get the following:

    Unable to export
    Out of disk space. Unable to write to: /var/www/vhosts/eatoutfrance.com/httpdocs/wp-content/plugins/all-in-one-wp-migration/storage/08jppmq1w1k3/database.sql. Technical details

    I have my own server with ample space and plenty of space on my computer.

    Any ideas

    1. Pim J. Iliev

      Hi Andrew,

      The plugin checks that the number of bytes written matches the content that plugin is trying to write so all backups are consistent without data corruption. In this case, when the plugin exported WordFence records that contained strings like “alfacgiapi/perl.alfa”, the filesystem refused to fulfil the fwrite request and fwrite returned NULL.
      I believe there is a security filter attached to the filesystem, PHP, or Apache that does this as fwrite should *never* return NULL.

      I’ve prepared a version of the plugin that will try and escape such data from the database on export.

      1. Download the modified plugin from here: https://www.dropbox.com/s/ed8icpccaih0p75/all-in-one-wp-migration.zip?dl=1
      2. Login to wp-admin
      3. Go to plugins -> add new
      4. Upload the file that you have downloaded in step 1
      5. It will ask you to overwrite the plugin, accept it
      6. Attempt to export the website
      7. Let me know if this version works for you


Leave A Comment?