I have to transfer a 400Gb database consisting of a single file over the Internet from a server where I have full control to an other computer at the opposite border of the ocean (but which uses a slow connection). The transfer should take a full week and in order to reduce all protocol overhead (even using ftp would had 10Min overhead), I’m using a raw tcp connection.
I already transferred 10% of the file, but I learned there will be a scheduled outage in some hours.
How can I ask netcat or socat or curl to serve the FILE:database.raw
at the offset it was interrupted? or
rsync
is a disconcertingly good idea