Full backups are not sent to FTP repository: The backup process failed: Not enough free disk space to backup selected objects.

Created:

2016-11-16 12:50:40 UTC

Modified:

2017-06-05 05:28:59 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Full backups are not sent to FTP repository: The backup process failed: Not enough free disk space to backup selected objects.

Applicable to:

  • Plesk 12.5 for Linux
  • Plesk Onyx for Linux
  • Plesk 11.0 for Linux
  • Plesk 11.5 for Linux
  • Plesk 12.0 for Windows
  • Plesk 12.0 for Linux

Symptoms

When attempting to back up Plesk to an external FTP repository, the process fails with the following error:

Error: The backup process failed: Not enough free disk space to backup selected objects. At least #### Mbytes free disk space is required.

Or

Error:  
The dump have been made successfully but can not be imported to FTP due to errors.
The dump 'backup_info_1310131347.xml' has been left at repository. Please export it manually

The backup session logs show the following error:

~# grep 'No space left' /usr/local/psa/PMM/sessions/2013-10-26-070603.687/stderr 
DEBUG Runtime error: Unable to write to output file: No space left on device at /usr/local/psa/PMM/agents/shared/Storage/Splitter.pm line 84.

The following error may also occur:

~# less /usr/local/psa/PMM/sessions/2013-10-26-070603.687/psadump.log
[18153]: 13:22:35 DEBUG Failed to pack files rsnxtest_info_1403241212.xml in /usr/local/psa/PMM/tmp/backupFrXE1T [ 174715392 bytes free of 375809638400 bytes total on mount point 0]
[18153]: 13:22:35 ERROR b8e53bdd-b5e9-4db3-8b08-91a34d007663 Failed to pack files rsnxtest_info_1403241212.xml in /usr/local/psa/PMM/tmp/backupFrXE1T [ 174715392 bytes free of 375809638400 bytes total on mount point 0]
[18153]: 13:22:35 DEBUG Runtime error: Cannot export files

Cause

This is considered to be correct behavior. Feature request PPP-111 (Streaming upload to FTP) has been created and it was fixed in Plesk Onyx .

There is insufficient free space or free inodes on the partition where the /usr/local/psa/PMM/tmp/ directory is located. Before uploading backup files to a remote FTP repository, Plesk creates an archived copy of the backup files in /usr/local/psa/PMM/tmp/ (in /var/lib/psa/dumps/ for Plesk 12.5 ). It then uploads them from this directory to the remote FTP-server.

Resolution

  1. Perform the upgrade to Plesk Onyx .

Or

  1. Free up some space on the partition where the /usr/local/psa/PMM/tmp/ directory is located:
    # df -h /usr/local/psa/PMM/tmp/
    Filesystem Size Used Avail Use% Mounted on
    /dev/mapper/vg00-usr 4.0G 1.5G 1.1G 39% /usr

    # df -ih
    Filesystem Inodes IUsed IFree IUse% Mounted on
    /dev/mapper/vg00-usr 1.3M 1.3M 0 100% /usr

For example, if a full server backup takes 10GB (as listed in Plesk Backup Manager), then there should be at least 10GB free on the partition where /usr/local/psa/PMM/tmp/ ( /var/lib/psa/dumps/ for Plesk 12.5 ) is located.

Note: it is may be enough free space, but it is possible that not enough free inodes.

Have more questions? Submit a request
Please sign in to leave a comment.