Restoring large image with internet restore network interruption

I recently tried to restore a large (6 TB) backup over the internet using the live restore CD. (Though technically the server is on the same local network, the server is in a container on another machine.)

Unfortunately, after several hours the backup fails due to a “network interruption/timeout”. I am not sure what could be causing this, but it means that I need to restart the entire image restoration.

Is there any way to stop this timeout from happening, and to have it keep retrying? Or allow it to start from where it left off? The network instability is a rare issue that is quickly and automatically resolved, there is no reason I should need to restart the entire restoration process because of it.

It retries 20 times, resetting the tries if it manages to load data for over 3min. To me this sounds reasonable.

Could you perhaps take a look at the restore log about what happend? (sudo -i, then should be at /root)

I am not in the environment anymore, and decided to just reinstall and copy over data, but I would like the option to configure the retries/timeout or disable the timeout entirely.

I could see many scenarios where that timeout was reached due to one reason or another, such as a power fluctuation or extremely unstable connections, like if I wanted to restore an image over the internet to an edge device.