Symptoms
A Plesk backup cannot be uploaded to an FTP server with the following error messages:
PLESK_ERROR: Unable to upload archive path/to/backup_domainmail_1702261842.tgz to FTP storage: ack Broken pipe: write( 13, ‘/path/to/backup_1702261842.tgz ‘ ) at /usr/local/psa/PMM/agents/shared/IPC/Run/IO.pm line 558.
PLESK_INFO: INFO: Trying to resume upload…
INFO: File transfer failed with FTP error 451. (Curl error: (25) Upload failed (at start/before it took off): Last FTP response: 451 backup_1703070002.tar: Append/Restart not permitted, try again)
INFO: Unable to save data to an archive[76931fac-9dab-42b3-86c2-48b87d6ae33f]: Unable to save data to an archive. Check whether the target directory is accessible for writing. For more information, see the log file (/usr/local/psa/PMM/sessions/2017-03-07-000210.061/migration.log) [:0]
PLESK_INFO: Append/Restart not permitted, try again Error: File transfer failed
Cause
Due to connection timeout during the backup upload process, connection to the FTP server is dropped and is not resumed.
Resolution
Enable the ‘AllowStoreRestart’ option in FTP server configuration to resume uploads:
-
Connect to the server via SSH.
-
Open the file
/etc/proftpd.conf
in a text editor. In this example, we are using the vi editor:# vi /etc/proftpd.conf
-
Add the following line under the
section:
<Global>AllowStoreRestart on
-
Save the changes and close the file.
-
Restart the FTP service:
# service xinetd restart