• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

Timeout to FTP Repository?

risede

Basic Pleskian
When backing up a site to a remote FTP server, does Plesk limit the time that the FTP transfer can take?

I had a site that backed up to just over 300 Meg. The file started transferring to the remote FTP server, and at exactly 10 minutes, the transfer stopped and I received a "Failed Backup" message with a curl timeout error.

However, I was able to manaually backup the domain and manually send the backup file to the FTP Server and it was sent successfully in just over 11 minutes.

-- Sure wich I had the source code to the Plesk FTP send functionality so I did have to keep chasing my tail!

Anyway - does anyone know the answer to this?

Thanks!
 
From my FTP Server:

(000349) 5/4/2009 12:47:01 PM - h1dataftp (69.65.40.209)> PASV
(000349) 5/4/2009 12:47:01 PM - h1dataftp (69.65.40.209)> 227 Entering Passive Mode (24,9,180,14,19,188)
(000349) 5/4/2009 12:47:01 PM - h1dataftp (69.65.40.209)> TYPE I
(000349) 5/4/2009 12:47:01 PM - h1dataftp (69.65.40.209)> 200 Type set to I
(000349) 5/4/2009 12:47:01 PM - h1dataftp (69.65.40.209)> STOR tenmin_healthonedata.com_0905041431.zip
(000349) 5/4/2009 12:47:01 PM - h1dataftp (69.65.40.209)> 150 Connection accepted
(000349) 5/4/2009 12:57:02 PM - h1dataftp (69.65.40.209)> disconnected.

From Plesk:

<?xml version="1.0" encoding="utf-8"?>
<execution-result status="error">
<object name="backup" type="backupowner">
<message code="ApplicationException" severity="error">Cannot export dump file 'clients\risedev\domains\mydomain.com\tenmin_mydomain.com_info_0905041431.xml' to 'ftp://[email protected]//' [Transport error: unable to send directory to repository: Transport error: unable to put local file C:/WINDOWS/TEMP/repo_transport_tmp_01c9ccefe6aa2490/tenmin_mydomain.com_0905041431.zip to tenmin_mydomain.com_0905041431.zip: Curl error: a timeout was reached]</message>
</object>
</execution-result>


The actual file size that plesk was trying to FTP was: 316M but the file that was transferred was only 182M.

Again, I believe that the problem is in the Plesk FTP backup code because:

1) The backup ALWAYS fails at EXACTLY 10 minutes - depending on the transfer rate, the file size is always slightly different.

2) If I manually backup the domain, and then manually FTP the file, it works every time.

3) All backups that take less than 10 minutes backup properly every time.

I hope this is a quick fix.
 
Back
Top