- Plesk 11.x for Linux
- Plesk 12.0 for Linux
- Plesk 12.0 for Windows
- Plesk 12.5 for Linux
- Plesk Onyx for Linux
When trying to back up Plesk to an external FTP repository, the process fails with the following error:
PLESK_ERROR: Error: The backup process failed: Not enough free disk space to backup selected objects. At least #### Mbytes free disk space is required.
PLESK_ERROR: 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 may contain following errors:
# 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.
# grep 'No space left' /usr/local/psa/PMM/logs/backup-2017-12-28-19-56-02-012/backup.log
/bin/tar: /usr/local/psa/PMM/tmp/backupVMSrvt/server_1712281956.tar: Cannot write: No space left on device
The following error may also occur:
# less /usr/local/psa/PMM/sessions/2013-10-26-070603.687/psadump.log
: 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]
: 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]
: 13:22:35 DEBUG Runtime error: Cannot export files
This is considered to be correct behavior. Feature request PPP-111 (Streaming upload to FTP) has been created and it is 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
/var/lib/psa/dumps/ for Plesk 12.5). It then uploads them from this directory to the remote FTP-server.
Perform the upgrade to Plesk Onyx.
Connect to the server via SSH and 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
/var/lib/psa/dumps/ for Plesk 12.5) is located.
Note: it may be enough free space, but it is possible that not enough free inodes.