When attempting to back up Plesk Panel (Plesk) to an external FTP repository, the process fails with the following 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 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 : 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
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/. It then uploads them from this directory to the remote FTP-server.
This is considered to be correct behavior. Feature request PPP-111 has been created so an archived backup copy would not be created, and instead distributed backup files would be streamed directly to the FTP server.
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/ is located.
You may have enough free space, but it is possible that you do not have not enough free inodes.