This sounds like the remote system closed the TCP channel before restic could finish sending the request for the file, or the network connection was otherwise interrupted.
Our repository is currently located on our offsite backup machine. It’s a low performance Ubuntu box with a RAID array.
We’re using a spare high-performance server on-site to execute the restore. It connects to the offsite server via sftp, and restores to our new FreeNAS server via a local samba mount.
I’m new to FreeNAS, so there is a chance there is a configuration issue.
Here’s what the command we are running looks like.
It’s worth noting that these errors only happen on larger restores that take overnight to finish. Maybe there is some nightly maintenance happening on the FreeNAS box that is interrupting things…
That’s entirely possible, or some overnight network maintenance. Seeing these errors doesn’t necessarily mean that restic can’t continue, it’s just letting you know that it’s having trouble fetching files. It will retry each download for up to some amount of time before giving up.