Full server backup is not transferred to ftp and is not visible in Plesk: Wrote only 8192 of 10240 bytes

Created:

2016-12-12 03:45:22 UTC

Modified:

2017-08-08 13:35:48 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Full server backup is not transferred to ftp and is not visible in Plesk: Wrote only 8192 of 10240 bytes

Applicable to:

  • Plesk 12.0 for Linux

Symptoms

Full server backup with content is not transferred to ftp and is not visible in Plesk:

INFO: ENV[LANG]=en_US.UTF-8
INFO: Executing utility: /bin/sh -c -e /bin/tar\\ --create\\ --file\\ /opt/psa/PMM/tmp/backup**/plesktest_full_backup_**.tar\\ --directory\\ /tmp/repo_transport_tmp_**/\\ --dereference\\ --files-from\\ /tmp/repo_transport_tmp_**
INFO: The utility executed with the return code 2
INFO: The return code was
No output on STDOUT were performed by the utility
The output on STDERR was:
/bin/tar: /opt/psa/PMM/tmp/backup2wZydt/plesktest_full_backup_1610171956.tar: Wrote only 8192 of 10240 bytes
/bin/tar: Error is not recoverable: exiting now
terminate called after throwing an instance of 'plesk::RepositoryException'

/opt/psa/PMM/tmp/backup**/plesktest_full_backup_**.tar file size is less than the free disk space on the server:

# du -sh /opt/psa/PMM/tmp/backup**/plesktest_full_backup_**.tar
3.8G

# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/vzfs 60G 40G 21G 67% /

Cause

There is not enough free disk space on a server. When the backup is made in /var/lib/psa/dumps directory, it will also create .tar archive in /opt/psa/PMM/tmp/ directory so there is additional disk space required. The general recommendation is that disk space should be enough to place backup size multiplied twice (this is approximate value) because before transferring to FTP repository created dump is been archived and placed in a temporary directory.

Resolution

Free up some disk space or add the new disk.

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