Ask HN: How do you handle transferring large files over the internet?
1–10 of 35 posts
Re: Ask HN: How do you handle transferring large files over the internet?
#2Re: Ask HN: How do you handle transferring large files over the internet?
#3rsync
Re: Ask HN: How do you handle transferring large files over the internet?
#4Re: Ask HN: How do you handle transferring large files over the internet?
#5Re: Ask HN: How do you handle transferring large files over the internet?
#6- rsync
- SFTP-over-SSH, or SFTP over a dedicated VPN
- private, encrypted torrents
Re: Ask HN: How do you handle transferring large files over the internet?
#7I assume you're transferring between two hosts you both control. Some sane options are: - rsync - SFTP-over-SSH, or SFTP over a dedicated VPN - private, encrypted torrents
Re: Ask HN: How do you handle transferring large files over the internet?
#8I assume you're transferring between two hosts you both control. Some sane options are: - rsync - SFTP-over-SSH, or SFTP over a dedicated VPN - private, encrypted torrents
Re: Ask HN: How do you handle transferring large files over the internet?
#9rsync
Indeed. I've been trying all sorts of weird stuff, but this takes the cake. Ubiquitous, rock-solid, sane. Plus, no worrying "is it done yet? Do I have the latest version?" Just let it run (again) - this makes it rather foolproof.
Re: Ask HN: How do you handle transferring large files over the internet?
#10Earlier quoted context omitted.
Indeed. I've been trying all sorts of weird stuff, but this takes the cake. Ubiquitous, rock-solid, sane. Plus, no worrying "is it done yet? Do I have the latest version?" Just let it run (again) - this makes it rather foolproof.
Does rsync auto-resume after failed connections?
This Google search:
https://www.google.co.uk/search?q=rsync+auto-restart+failed+...
returns this link:
http://superuser.com/questions/302842/resume-rsync-over-ssh-...
which contains this script:
#!/bin/bash
while [ 1 ]
do
rsync -avz --partial source dest
if [ "$?" = "0" ] ; then
echo "rsync completed normally"
exit
else
echo "Rsync failure. Backing off and retrying..."
sleep 180
fi
done
The comment says: When the connection dies, rsync will quit
with a non-zero exit code. This script simply
keeps re-running rsync, letting it continue
until the synchronisation completes normally.
That's pretty much what I've done.