Timeout error while transferring backup

STOP and READ USE THIS TEMPLATE NO EXCEPTIONS - By not using this, you waste your time, our time and really hate puppies. Please remove these two lines and that will confirm you have read them.

What is the problem you are having with rclone?

I am trying to send backup from one server to another server through FTP. But getting a timeout error. I run a bash script everyday from my server which sends backup to another server.

Run the command 'rclone version' and share the full output of the command.

rclone v1.62.2

  • os/version: centos 7.9.2009 (64 bit)
  • os/kernel: 3.10.0-1160.81.1.el7.x86_64 (x86_64)
  • os/type: linux
  • os/arch: amd64
  • go/version: go1.20.2
  • go/linking: static
  • go/tags: none

Which cloud storage system are you using? (eg Google Drive)

SFTP

The command you were trying to run (eg rclone copy /tmp remote:tmp)

rclone copy $BACKUP_DIR/$DATE mega2:/root/$SERVER_HOSTNAME/$DATE --sftp-idle-timeout=0 >

A log from the command with the -vv flag

2023/04/23 18:21:34 ERROR : sftp://root@[IP ADDRESS]:22//root/Host.name.tld/2023-04-23: Discarding closed SSH connection: read tcp [IP ADDRESS]:40536->[IP ADDRESS]:22: i/o timeout
2023/04/23 22:55:51 ERROR : sftp://root@[IP ADDRESS]:22//root/Host.name.tld/2023-04-23: Discarding closed SSH connection: read tcp [IP ADDRESS]:40524->[IP ADDRESS]:22: i/o timeout
2023/04/24 16:17:22 ERROR : user.admin.Host.name.tld.tar.zst: Failed to copy: Update SetModTime failed: SetModTime failed: file does not exist
2023/04/24 16:17:22 ERROR : Attempt 1/3 failed with 1 errors and: Update SetModTime failed: SetModTime failed: file does not exist
2023/04/24 19:04:15 ERROR : sftp://root@[IP ADDRESS]:22//root/Host.name.tld/2023-04-24: Discarding closed SSH connection: read tcp [IP ADDRESS]:56878->[IP ADDRESS]:22: i/o timeout
2023/04/24 19:38:26 ERROR : sftp://root@[IP ADDRESS]:22//root/Host.name.tld/2023-04-23: Discarding closed SSH connection: read tcp [IP ADDRESS]:34712->[IP ADDRESS]:22: i/o timeout
2023/04/24 23:11:51 ERROR : sftp://root@[IP ADDRESS]:22//root/Host.name.tld/2023-04-24: Discarding closed SSH connection: read tcp [IP ADDRESS]:56846->[IP ADDRESS]:22: i/o timeout
2023/04/25 07:03:16 ERROR : sftp://root@[IP ADDRESS]:22//root/Host.name.tld/2023-04-23: Discarding closed SSH connection: read tcp [IP ADDRESS]:34716->[IP ADDRESS]:22: i/o timeout

I don't think these errors are anything to worry about, its probably the host closing the connection or something. If you remove --sftp-idle-timeout=0

This is the error that faild the sync.

Did the host move the file when it was uploaded or something?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.