I've been trying to get a Personal FTP Repository Backup to work, but it always fails on uploading the file.
The Backup process itself works fine:
When it fails I get the following error from the task log
When I check the Backup Manager log files in /var/log/PMM/backup <date and time>/backup.log the last lines are as follows
I'm not sure why it is failing during transfer.
Thank you
The Backup process itself works fine:
- it creates the backup files in /var/lib/psa/dumps
- it also successfully creates the tar archive file in /usr/local/psa/PMM/tmp.
- it connects to my FTP server just fine and starts the upload
When it fails I get the following error from the task log
ERROR: () Can't upload file clients/ronco/domains/ronco.ca/FullSiteBackupFTP_ronco.ca_info_1510221458.xml' to ftp. Error code: 1
When I check the Backup Manager log files in /var/log/PMM/backup <date and time>/backup.log the last lines are as follows
[2015-10-22 15:19:07.524|17435] INFO: Curl error (55) : Failed sending data to the peer
[2015-10-22 15:19:07.524|17435] INFO: CurlError[76931fac-9dab-42b3-86c2-48b87d6ae33f]: Curl error: Failed sending data to the peer [./ftp.cpp:418]
void plesk::tFtpConnection::UploadFile(const string&)
[2015-10-22 15:19:07.524|17435] INFO: TransportError[9a62d718-3a5d-4578-89e4-b2d6b441e241]: Transport error: unable to put local file /usr/local/psa/PMM/tmp/backup1jENbr/FullSiteBackupFTP_ronco.ca_1510221458.tar to FullSiteBackupFTP_ronco.ca_1510221458.tar: Curl error: Failed sending data to the peer [./transport.cpp:706]
virtual void plesk::tRepositoryFtp:: PutFile(const string&, const string&)
[2015-10-22 15:19:08.320|17435] INFO: pmm-ras finished. Exit code: 1
[16770]: 2015-10-22 19:19:08 ERROR 2d3e3170-aafd-4ee8-864b-5f31a32dfcd5 Can't upload file 'clients/ronco/domains/ronco.ca/FullSiteBackupFTP_ronco.ca_info_1510221458.xml' to ftp. Error code: 1
[16770]: 2015-10-22 19:19:08 DEBUG Uploader output: Transport error: unable to send directory to repository: Transport error: unable to put local file /usr/local/psa/PMM/tmp/backup1jENbr/FullSiteBackupFTP_ronco.ca_1510221458.tar to FullSiteBackupFTP_ronco.ca_1510221458.tar: Curl error: Failed sending data to the peer
I'm not sure why it is failing during transfer.
- It is not a space issue on the FTP Server as there is about 300GB free space there.
- It is not a rights issue because the file does get created
- I'm not sure if it is because of the file size and Plesk itself fails the upload because of some sort of limitation.
Thank you