Symptoms
A Plesk backup task fails with a lot of errors like below (for files, logs, statistics, database dumps, etc.):
PLESK_WARN: 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
Cause
The files /usr/bin/pigz
and /usr/bin/unpigz
are corrupted.
Resolution
Apply the following solution for CentOS 7:
Note: For other operating systems, contact Plesk Technical Support.
-
Connect to the Plesk server via SSH.
-
Download the files:
# wget https://plesk.zendesk.com/hc/article_attachments/360008716799/pigz_centos7.gz
-
Unzip the downloaded files:
# gunzip pigz_centos7.gz
-
Create a backup of the original files:
# mv /usr/bin/pigz /usr/bin/pigz.orig
# mv /usr/bin/unpigz /usr/bin/unpigz.orig
-
Place downloaded files instead of original ones:
# cp pigz_centos7 /usr/bin/pigz
# mv unpigz_centos7 /usr/bin/unpigz
-
Grant the required permissions:
# chmod 755 /usr/bin/pigz
# chmod 755 /usr/bin/unpigz