In this tutorial, we will solve backup process fails Wrote only 4096 of 10240 bytes error Plesk.
This solution will work on Plesk CentOS 7 Server.
Are you getting following error while taking backup in Plesk?
Warning: Subscription “example.com”
Unable to back up files from
/var/www/vhosts/example.com owned by system user. Error: Failed to create archive: backup_user-data_2002050759.tgz 0
Repository error: Unable to pack /var/www/vhosts/arioland-msh.com:
/usr/lib64/plesk-9.0/sw-tar: -: Wrote only 4096 of 10240 bytes
/usr/lib64/plesk-9.0/sw-tar: Error is not recoverable: exiting now
Even though there is enough space available in the server.
This is caused because of the files /usr/bin/pigz and /usr/bin/unpigz are corrupted.
To resolve the issue, follow these steps:
1. Access the server using SSH with root user.
2. Download pigz and unpigz files:
# wget https://plesk.zendesk.com/hc/article_attachments/360008716799/pigz_centos7.gz
3. Unzip the downloaded files:
# gunzip pigz_centos7.gz
4. Create a backup of the original files:
# mv /usr/bin/pigz /usr/bin/pigz.orig
# mv /usr/bin/unpigz /usr/bin/unpigz.orig
5. Place downloaded files instead of original ones:
# cp pigz_centos7 /usr/bin/pigz
# mv unpigz_centos7 /usr/bin/unpigz
6. Grant the required permissions:
# chmod 755 /usr/bin/pigz
# chmod 755 /usr/bin/pigz
That’s it. Now check by starting the backup process.
If you are still getting error, Hostperl’s server management plan will help you.