• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Question How to extend the FTP backup connectivity timeout?

Bitpalast

Plesk addicted!
Plesk Guru
Server operating system version
Alma 8.10
Plesk version and microupdate number
18.0.72 #3
Backup Manager: A full backup takes hours, during that time period we experience short network connectivity issues to the external FTP storage space. These are probably short, maybe a minute, maybe two. But they are long enough that the backup manager thinks, the connectivity is lost and ends the backup with an error.

Example:
Code:
Unable to create the remote backup: Unable to resume an interrupted upload. It seems like FTP server deleted the file, when the connection was lost. Try to repeat or perform upload manually: The connectivity problem: (55) Failed sending data to the peer: The last FTP request: STOR backup_2509302331.tar: The last FTP response: 150 Using transfer connection

This mostly means that hours of hours of backup activity was wasted, because the backup cannot be resumed.

I am looking for a way to extend the time period that the backup scripts wait to retry the connection, and also would like to increase the number of retries before the backup quits with an "error" message. How can that be tweaked?
 
Hi, Peter. We have the following article that addresses similar error:

I believe adding the option to the config should allow you to preserve the file on the remote server and resume uploads. Let me know if that's not sufficient enough and I will dig deeper if there is an option to adjust MaxResumeAttempts specifically for the backup manager.
 
Thank you, I'll try it on a few servers. So far I have "AllowStoreRestart On" on all, but I did not yet have "DeleteAbortedStores Off". The latter might cause new issues when a truly interrupted backups cannot be resumed, because then partial backup files might occupy space on the external FTP storage unnoticed, so we'll need to remember to check that if a backup issue is reported.
 
Back
Top